• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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
115 Posts 37 Posters 43.2k 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.
  • C
    cmcdonald Netgate Developer @bson
    last edited by Sep 11, 2024, 5:54 PM

    The current goal is to have Kea at feature parity with ISC DHCP by the end of the year, then one release with Kea being optional, another release with Kea being the default for new installs, and finally another release to completely remove ISC DHCP entirely.

    Need help fast? https://www.netgate.com/support

    1 Reply Last reply Reply Quote 3
    • B
      bson @SteveITS
      last edited by bson Sep 11, 2024, 6:21 PM Sep 11, 2024, 6:21 PM

      @SteveITS I switched it back but it still wouldn't resolve. I don't know what fixed it, perhaps DNS caches just had to expire, or my poking around in DDNS options (we don't use DDNS) fixed it. I think I enabled the DDNS host registration option without overall enabling DDNS. It's not clear if that has any effect or not, but after a while things were working again. Famous last words! Without it being at feature parity I think it's fine to as for testing feedback, but there shouldn't be a nag about it being deprecated. This suggests a need to migrate. It should also warn about a lack of feature parity, IMO.

      B C 2 Replies Last reply Sep 11, 2024, 6:28 PM Reply Quote 1
      • B
        bson @bson
        last edited by Sep 11, 2024, 6:28 PM

        Oh, I think I know why it took a while to return to normal: the migration wipes the existing leases, and it takes a while for clients to discover this and renew. Until that happens the client identifiers aren't going to be injected into DNS.

        1 Reply Last reply Reply Quote 0
        • C
          cmcdonald Netgate Developer @bson
          last edited by cmcdonald Sep 11, 2024, 6:33 PM Sep 11, 2024, 6:32 PM

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

          This suggests a need to migrate. It should also warn about a lack of feature parity, IMO.

          That's fair. The current warning definitely has a "the sky is falling" tone to it, which it certainly isn't.

          Need help fast? https://www.netgate.com/support

          J 1 Reply Last reply Sep 24, 2024, 7:38 PM Reply Quote 6
          • M
            m.d.frederiksen @NickyDoes
            last edited by Sep 11, 2024, 10:12 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J
              jkiel @cmcdonald
              last edited by jkiel Sep 24, 2024, 7:40 PM Sep 24, 2024, 7:38 PM

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

              That's fair. The current warning definitely has a "the sky is falling" tone to it, which it certainly isn't.

              This. 100% this. The warning gives the impression that one should update ASAP and gives zero indication that the replacement isn't feature complete.

              1 Reply Last reply Reply Quote 5
              • S
                softwareplumber
                last edited by Oct 30, 2024, 9:15 PM

                Still an issue.

                S 1 Reply Last reply Oct 30, 2024, 10:05 PM Reply Quote 0
                • S
                  SteveITS Galactic Empire @softwareplumber
                  last edited by Oct 30, 2024, 10:05 PM

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

                  Still an issue.

                  https://www.netgate.com/blog/improvements-to-kea-dhcp

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  1 Reply Last reply Reply Quote 2
                  • U
                    uneventfullogs
                    last edited by Nov 4, 2024, 11:06 PM

                    There is no longer a way to revert back in the GUI, so my setup is broken.

                    It should not have been released without better migration testing.

                    J 1 Reply Last reply Nov 4, 2024, 11:20 PM Reply Quote 1
                    • J
                      juanzelli @uneventfullogs
                      last edited by juanzelli Nov 4, 2024, 11:22 PM Nov 4, 2024, 11:20 PM

                      @uneventfullogs I believe you should be able to revert in System->Advanced->Networking. At least, that's where I've been able to do it in the past.

                      cd035f12-3c69-4e1d-8122-3518bbf7dfbc-image.png

                      Netgate 4100 and HPE InstantOn network at home

                      1 Reply Last reply Reply Quote 0
                      • B
                        BruceX @noloader
                        last edited by Dec 8, 2024, 4:07 AM

                        @noloader Thanks, just got bit by this and lost a day trying to figure out why a local server's new IP wasn't being recognized. I finally restarted the dns forwarder (to pihole) and I lost everything (local names) and my day trying to track down "what I did" before remembering yesterday I had responded to the deprecation warning.

                        It is now a year later and this problem persists. This is my wake up call to switch to the other guy sometime this coming year.

                        4 1 Reply Last reply Dec 8, 2024, 8:17 AM Reply Quote 0
                        • 4
                          4o4rh @BruceX
                          last edited by Dec 8, 2024, 8:17 AM

                          @BruceX I switched to kea after the 24.11 upgrade and don't have any problems. Before I had to revert to ISC per above.

                          B 1 Reply Last reply Dec 9, 2024, 2:07 AM Reply Quote 0
                          • B
                            BruceX @4o4rh
                            last edited by Dec 9, 2024, 2:07 AM

                            @4o4rh I've not used the patches package before but I interpret your statement as applying these patches also fixes this dns not registering problem.

                            I'll have to wait awhile before having the courage to apply these after the last 'fix' I applied lost me a few days to debugging and fixing my system.

                            P 1 Reply Last reply Dec 9, 2024, 8:11 AM Reply Quote 0
                            • P
                              pvk1 @BruceX
                              last edited by Dec 9, 2024, 8:11 AM

                              @BruceX I have now enabled the KEA DHCP server. On settings I checked both "Enable DNS registration" en "Enable early DNS registration". All seems to work now. The only thing is you still need to provide an IP address of the NTP server rather than a domain name.

                              4 J 2 Replies Last reply Dec 9, 2024, 12:33 PM Reply Quote 0
                              • 4
                                4o4rh @pvk1
                                last edited by Dec 9, 2024, 12:33 PM

                                @pvk1 do you mean in the ntp server? i don't have this problem. I am using normal country level ntp pools

                                P 1 Reply Last reply Dec 9, 2024, 2:02 PM Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator @pvk1
                                  last edited by Dec 9, 2024, 12:34 PM

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

                                  provide an IP address of the NTP server rather than a domain name.

                                  Which is how it should be per the rfc.. dhcp doesn't hand the client a fqdn for ntp - it hands out an IP.

                                  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.7.2, 24.11

                                  4 1 Reply Last reply Dec 9, 2024, 12:45 PM Reply Quote 0
                                  • 4
                                    4o4rh @johnpoz
                                    last edited by Dec 9, 2024, 12:45 PM

                                    @johnpoz I must be understanding something different from the statement.
                                    In my NTP Server settings, I use de.pool.ntp.org and it works fine.

                                    GertjanG 1 Reply Last reply Dec 9, 2024, 12:51 PM Reply Quote 0
                                    • GertjanG
                                      Gertjan @4o4rh
                                      last edited by Gertjan Dec 9, 2024, 12:52 PM Dec 9, 2024, 12:51 PM

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

                                      In my NTP Server settings, I use de.pool.ntp.org and it works fine.

                                      That's the NTP server process. It uses the WAN side.

                                      Here this :

                                      6392511b-77fe-49f6-9c74-41205bc1174c-image.png

                                      which has 'nothing' to do with the NTP DHCP server setting (the DJCP server operates on the LAN side of pfSense). The DHCP server can inform the DHCP clients of a known (local) NTP server, like pfSense, as it has a NTP server on board.
                                      This DHCP (kea or ISC) 'NTP setting' needs to be an IP, and is typicality the pfSense LAN IP.

                                      Example :

                                      bbc536de-648b-42ee-b588-5fd049d27f8c-image.png

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

                                      J 4 2 Replies Last reply Dec 9, 2024, 1:10 PM Reply Quote 1
                                      • J
                                        johnpoz LAYER 8 Global Moderator @Gertjan
                                        last edited by Dec 9, 2024, 1:10 PM

                                        ^exactly - pfsense allowed you to put in a fqdn for the dhcp server settings before. They would just translate that to an IP for dhcp settings. They should either modify the note below the box, or allow for fqdn (that they translate for you).. But fqdn is a bad idea because something like something.pool.ntp.org can resolve to lots of different IPs - that change, and pool members come and go so if they hand out IP X, tomorrow maybe that IP is no longer valid, etc

                                        It really was never a good idea to allow users to put in fqdn for the dhcp server ntp it hands out.

                                        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.7.2, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • 4
                                          4o4rh @Gertjan
                                          last edited by Dec 9, 2024, 1:40 PM

                                          @Gertjan ah ok. my clients take ntp from pfsense. that's why i don't run into this problem then.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]