Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Primary hostname

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      joako
      last edited by

      How can I set the primary hostname of an ip? I have a machine with a DHCP hostname "myserver" and also a dns entry for "crm" to the same ip of myserver.

      When I lookup ptr of the ip I get back "crm" but I want to see "myserver." this used to be just a cosmetic nuisance, but now I am encountering some issues with this arrangement.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        Change the DNS registration from crm to myserver.

        If you have a pfSense box which runs the DNS forwarder and you want then (and only them) to see myserver as the backtranslation of the IP address then I suspect it might be sufficient to add a mappin in the DNS forwarder to say myserver has the specified IP address (or enable Register DHCP leases in DNS Forwarder on the Services -> DNS Forwarder page).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.