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

    KEA DHCP missing "Register DHCP leases in DNS Resolver..."

    Scheduled Pinned Locked Moved DHCP and DNS
    128 Posts 42 Posters 55.1k 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.
    • H
      herbcso
      last edited by

      So based on the 2.8.0 release notes it sounds to me like KEA should now support resolving DNS names, right? Seems to me like that's what it's saying, but I'm not an expert on this.

      GertjanG guiambrosG 2 Replies Last reply Reply Quote 1
      • GertjanG
        Gertjan @herbcso
        last edited by Gertjan

        @herbcso said in KEA DHCP missing "Register DHCP leases in DNS Resolver...":

        it sounds to me like KEA should now support resolving DNS names, right?

        Exact.
        I'm using pfSense Plus which had that issue solved months ago. Works just fine.

        Example :

        17513139-c238-4575-b6d0-511d9f70d463-image.png

        a phone connects on my 192.168.1.0/24 (LAN) network, and got a lease from the pfSense kea DHCP server on that network.
        The "kea2unbound" script is the "bridge" (glue-ware ^^) that gets the IP and host name, and communicates it to unbound.
        From now on, the IP con be resolved to the host name (reverse resolution) and host name to IP (resolution).

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • M
          mdima
          last edited by

          Hello, it might work with the DNS Resolver, but not with the DNS Forwarder.

          I am using KIA and the DNS Forwarder service and the dynamically set addresses are not resolved in the network.

          I need to switch back to ISC because of that. :(

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @mdima
            last edited by

            @mdima or just use unbound in forwarder mode. What does the forwarder service bring you that you can not do with unbound?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            M 1 Reply Last reply Reply Quote 0
            • M
              mdima @johnpoz
              last edited by

              @johnpoz yes, I could do that, just I have to replicate a bit of settings currently set in the DNS forwarder.

              This is an alternative to dodge the issue, just if KIA would work also with the DNS Forwarder would be nicer. (also, why is there a separate DNS Forwarder if there is such an option? :S)

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @mdima
                last edited by johnpoz

                @mdima not sure why the forwarder is still around to be honest, unbound was added and made the default years and years ago - you would think the forwarder would have dropped off by now. But the one thing I do know the forwarder still has a feature that I do not believe you can do with unbound is parallel. or sequential queries. Some users might want to ask all the nameservers at once and just use the first answer.. I do not believe unbound does that.

                seq.jpg

                They might have kept it around because of the long standing problem with dhcp registrations in unbound causing restart of the service which can be problematic.. Now that they are fixing that aspect - maybe forwarder drops off at some point of being included?? I don't believe the forwarder had that problem?

                I personally don't understand why with the ability to resolve users don't do that - but there are some cases where resolving has issues.. If you are on a really high latency connection, resolving can be problematic - but unbound can forward..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 1
                • guiambrosG
                  guiambros @herbcso
                  last edited by

                  @herbcso said in KEA DHCP missing "Register DHCP leases in DNS Resolver...":

                  So based on the 2.8.0 release notes it sounds to me like KEA should now support resolving DNS names, right?

                  Oh finally! Thanks @herbcso for the tip. Just upgraded to 2.8.0, and now DHCP registration is working properly (including static mappings).

                  No need for a bunch of ugly Host Overrides on DNS Server anymore! 🤸

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rocdiva
                    last edited by

                    I'm using KEA DHCP and the "DHCP Registration" field is not present. I'm on 2.8.0. Per this post it should be in latter releases, which 2.8.0 is. Is there something else that I need to turn on?

                    1 Reply Last reply Reply Quote 0
                    • R
                      rocdiva @guiambros
                      last edited by

                      @guiambros Hi, I just upgraded to 2.8.0 and Register DHCP leases in DNS Resolver, and the static mapping option are not present. Did you have to do anything specific to get these to show up?

                      Screenshot 2025-06-01 at 3.15.31 PM.png

                      guiambrosG 1 Reply Last reply Reply Quote 0
                      • guiambrosG
                        guiambros @rocdiva
                        last edited by

                        @rocdiva Are you sure you're looking in the right service? The DHCP registration option is set in Services / DHCP Server, but your screenshot shows the DNS Server config. Here:

                        DHCP_Server.png

                        1 Reply Last reply Reply Quote 1
                        • R
                          rocdiva
                          last edited by

                          Thank you for pointing that out.

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Garet Jax @rocdiva
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • G
                              Garet Jax
                              last edited by

                              Hello all,

                              Thanks for pursuing this for months and years. I am finally returning to pfSense+ after time away because of things like this being fixed!

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