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

    Looking for clarification of two options regarding DHCP and DNS registration

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 723 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.
    • K Offline
      kur1j
      last edited by

      I was working on getting DNS resolution resolved on my local LAN and I seem to have fixed the problem with two options that have almost identical descriptions. I am using 2.3.4 on a fresh install.

      What I was trying to resolve is really simple. I want to be able to ping my desktop via hostname (e.g. mybox.example.com) and it resolve to my desktops LAN ip.

      I ran across two options…

      1. DHCP Server --> Lan --> "Enable registration of DHCP client names in DNS"

      and

      2 )DNS Resolver -> General Settings -> "Register DHCP leases in the DNS Resolver"

      The way both of these options read, they do the exact same thing. However, I found the top option first, check marked it, restarted DHCP server, renewed my lease on my PC and no dice. I did a nslookup on the pfsense box via Diagnostics --> DNS Lookup and the hostname of my machine was not resolving (pfsense.example.com was). I looked around for a little while longer and ran into the second option. Checked that box, applied the changes and then ran a DNS Lookup on the pfsense box again and it resolved to my machine.  I did a ping on my local box and it didn't work, however nslookup was correct on my machine. Eventually (I assume it was to do with the ttl) it started resolving correctly.

      Everything seems to be working at this point, so my question is, what is the difference in the two options?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        The first option registers them to an external DNS server (specified in the options underneath that checkbox).

        The second activates special code to find hostnames in the leases DB and use them in the resolver.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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