Navigation

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

    DHCPv6 Static Mappings doesn't add hostname to DNS

    IPv6
    2
    7
    675
    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.
    • IsaacFL
      IsaacFL last edited by

      New install of pfSense.

      I am having trouble getting my ipv6 hosts names into the DNS. I have enabled the DHCPvv6 server on each interfaces and the hosts are getting an ipv6 and everything is working as far as connecting to the internet, etc.

      But I can't figure out to get the hostnames in the DNS to show the AAAA records for them. I tried adding a DHCPv6 Static Mapping, using a DUID, IPv6 address, and hostname. I can see that the host gets the static lease, but the hostname is not added to DNS AAAA.

      My prior ipv6 router, if the DHCPv6 server (dnsmasq based) was enabled, then the Windows machines got added to the DNS automatically and those machines that didn't I could add a static mapping and then it would too.

      pfSense doesn't seem to work this way. Is there a different way I should be doing this? My experience base is dnsmasq so I may be going about it wrong for pfSense.

      I attached the bottom of the Services / DHCPv6 Server & RA  / LAN / DHCPv6 Server tab.


      1 Reply Last reply Reply Quote 0
      • T
        trumee last edited by

        How did you get the duid?

        1 Reply Last reply Reply Quote 0
        • IsaacFL
          IsaacFL last edited by

          In this case it is a windows machine, so in command window,  ipconfig /all and it is the DHCPv6 Client DUID (replace - with : if you want to paste it in)

          or on pfsense, which is what I did, go to Status / DHCPv6 Leases and click the + under Actions, on the item to add it. One of the Colums is DUID.

          1 Reply Last reply Reply Quote 0
          • IsaacFL
            IsaacFL last edited by

            The static mapping finally did show up in the dns after about 2 hours.

            Now, is there a way for the hosts themselves to register their names in the dns when they get a lease from the DHCP server?

            I know that in dnsmasq it will work at least for windows clients and a few others that register their names.

            1 Reply Last reply Reply Quote 0
            • T
              trumee last edited by

              I do have static mappings in IPv6 but where do i specify that these hostnames should be added to the DNS? My DNS server in DNS Resolver/Unbound.

              1 Reply Last reply Reply Quote 0
              • IsaacFL
                IsaacFL last edited by

                When you add the static mapping in the DHCP server, it should also add the entry in DNS. It works better in the ipv4 side than the ipv6 side, which is what I am trying to figure out.

                1 Reply Last reply Reply Quote 0
                • IsaacFL
                  IsaacFL last edited by

                  What I figured out, is that after adding a static ipv6 entry, until you restart the unbound service, it will not show in DNS Lookup. You can verify that the client got the lease, but no sign of it in DNS.

                  So after adding entries, then I restarted unbound, then DNS lookup works. Seems to me like you shouldn't have to do that, but that is only thing that I could find that works.

                  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