Navigation

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

    Looking for clarification of two options regarding DHCP and DNS registration

    General pfSense Questions
    2
    2
    386
    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
      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
      • jimp
        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense Plus
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy