• 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
128 Posts 42 Posters 61.6k Views 50 Watching
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.
  • N Offline
    noloader
    last edited by noloader 27 Nov 2023, 19:05

    Hi Everyone,

    I updated to pfSense 2.7.1 recently. At that time, I switched from ISC DHCP to KEA DHCP due to the ISC DHCP warnings. And around that time, I switched my domain from <home.pvt> to <home.arpa>. The result of the changes is, DNS is no longer resolving names on my LAN. DNS is not resolving hosts with DHCP reservations (static mappings), and is not resolving hosts with DHCP leases.

    Additionally, under Services → DNS Resolver → General Settings, the check boxes for DHCP Registration, "Register DHCP leases in the DNS Resolver" and Static DHCP, "Register DHCP static mappings in the DNS Resolver" are missing:

    alt text

    The checkbox for OpenVPN Clients, "Register connected OpenVPN clients in the DNS Resolver" is still present.

    If I switch back to ISC DHCP, then DHCP Registration and Static DHCP are present again.

    I was reading through the KEA DHCP documentation at https://kea.readthedocs.io/en/kea-2.2.0/arm/dhcp4-srv.html. I think KEA needs the option ddns-update-on-renew, but I don't know how to set it in pfSense. And I may need more than just ddns-update-on-renew, but I am not certain.

    My question is pretty crappy... What is wrong, and how do I fix it?

    J S T F B 5 Replies Last reply 28 Nov 2023, 02:22 Reply Quote 10
    • J Offline
      JonathanLee @noloader
      last edited by 28 Nov 2023, 02:22

      @noloader Kea DHCP is still kind of in a experimental/testing phase, it is also missing all the DHCP options. Just move back to the other version and wait until next PfSense release. It should all be fixed in that deployment. I read about this elsewhere also recently.

      Make sure to upvote

      N 1 Reply Last reply 28 Nov 2023, 06:29 Reply Quote 5
      • S Offline
        SteveITS Rebel Alliance @noloader
        last edited by 28 Nov 2023, 05:42

        @noloader expected per release notes: https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#kea-dhcp-server-feature-preview-now-available

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 1
        • N Offline
          noloader @JonathanLee
          last edited by 28 Nov 2023, 06:29

          @JonathanLee, thanks.

          I have to admit I am disappointed. I am on the stable release branch. I am not on a testing/experimental/development branch. The pfSense team should keep KEA DHCP separate from stable until KEA DHCP is ready for production.

          I'll follow @JonathanLee's advice, and go back to ISC DHCP.

          Thanks again.

          J 1 Reply Last reply 28 Nov 2023, 15:53 Reply Quote 17
          • J Offline
            JonathanLee @noloader
            last edited by 28 Nov 2023, 15:53

            @noloader it will get fixed next release.

            Make sure to upvote

            1 Reply Last reply Reply Quote 1
            • Q Offline
              Qinn
              last edited by Qinn 12 Jul 2023, 15:49 7 Dec 2023, 15:43

              I reported that already 20 days ago see here, but apart from that, on my setup is stopped working and it would not see here restart, only an reboot solved it, so I returned to ISC DHCP

              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
              Firmware: Latest-stable-pfSense CE (amd64)
              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

              1 Reply Last reply Reply Quote 0
              • T Offline
                tinfoilmatt
                last edited by tinfoilmatt 12 Jul 2023, 16:43 7 Dec 2023, 16:31

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

                I have to admit I am disappointed. I am on the stable release branch. I am not on a testing/experimental/development branch. The pfSense team should keep KEA DHCP separate from stable until KEA DHCP is ready for production.

                Kea is stable and its functionality well-documented. merely lacking subjectively-expected features doesn't make software unstable.

                and no, 'registering' DHCP leases into a local zone file is not a critical function of a DHCP server. (in fact, it's not even a thing outside the context of pfSense.)

                N S 2 Replies Last reply 7 Dec 2023, 16:36 Reply Quote 1
                • N Offline
                  noloader @tinfoilmatt
                  last edited by 7 Dec 2023, 16:36

                  @cyberconsultants,

                  Disagree.

                  T 1 Reply Last reply 7 Dec 2023, 16:38 Reply Quote 10
                  • T Offline
                    tinfoilmatt @noloader
                    last edited by 7 Dec 2023, 16:38

                    @noloader with?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SteveITS Rebel Alliance @tinfoilmatt
                      last edited by 7 Dec 2023, 16:43

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

                      not even a thing outside the context of pfSense

                      Windows Server can do it. :) But yeah most routers don't.

                      I would have worded the warning to say something about Kea being in a preview and to link to the release notes.

                      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 reboot, or more depending on packages, and device or disk speed.
                      Upvote 👍 helpful posts!

                      T 1 Reply Last reply 7 Dec 2023, 16:50 Reply Quote 1
                      • T Offline
                        tinfoilmatt @SteveITS
                        last edited by tinfoilmatt 12 Jul 2023, 16:50 7 Dec 2023, 16:50

                        @SteveITS Windows Server does a lot aside from provide DHCP and DNS services. and Kea's not a router—it's a DHCP server.

                        Kea is also not in preview. ISC, on the other hand, is EOL.

                        S 1 Reply Last reply 7 Dec 2023, 16:52 Reply Quote 1
                        • S Offline
                          SteveITS Rebel Alliance @tinfoilmatt
                          last edited by 7 Dec 2023, 16:52

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

                          Kea is also not in preview

                          I know Kea isn't, it is in pfSense:
                          https://docs.netgate.com/pfsense/en/latest/releases/23-09.html#kea-dhcp-server-feature-preview-now-available

                          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 reboot, or more depending on packages, and device or disk speed.
                          Upvote 👍 helpful posts!

                          T 1 Reply Last reply 7 Dec 2023, 16:53 Reply Quote 0
                          • T Offline
                            tinfoilmatt @SteveITS
                            last edited by 7 Dec 2023, 16:53

                            @SteveITS and opt-in.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Magellan
                              last edited by 17 Dec 2023, 08:44

                              I also updated to version 2.7.1, now 2.7.2, also on the stable branch.
                              In the settings there a warning that ISC has reachted EOL and that the DHCP backend should be switched.
                              It was not visible to me that there are breaking changes here, functions that are simply omitted.
                              Sorry to say that. Surely this is documented somewhere, but here it is suggested that you can simply change it.
                              I switched back to ISC and waiting that are the function will be present for Kea.

                              1 Reply Last reply Reply Quote 12
                              • T Offline
                                tiny122 @noloader
                                last edited by 17 Dec 2023, 20:00

                                @noloader I can relate to this. I upgraded to 2.7.2 and then upgraded to Kea DHCP. My problem was much as you described. DHCP leases were correctly being leased as expected but didn't seem to register with the DNS resolver. Working through the settings I couldn't find anywhere in the config relating to this. I have reverted to the original ISC DHCP service and once I set the register leases with the DNS Resolver everything came back to life. Kea seems to be a bit bleeding edge to me or I have not worked out some of the settings relating to Kea. Not a clean upgrade that's for sure.

                                S 1 Reply Last reply 17 Dec 2023, 20:07 Reply Quote 10
                                • S Offline
                                  SteveITS Rebel Alliance @tiny122
                                  last edited by 17 Dec 2023, 20:07

                                  Limitations of the “Kea preview” are in the release notes linked above.

                                  Agree it would be better if the note in pfSense GUI mentioned it was a preview…it’s come up in other threads but to paraphrase, “the note about ISC being deprecated is correct.”

                                  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 reboot, or more depending on packages, and device or disk speed.
                                  Upvote 👍 helpful posts!

                                  T 1 Reply Last reply 18 Dec 2023, 21:53 Reply Quote 1
                                  • W Offline
                                    w_bufffet
                                    last edited by 18 Dec 2023, 10:54

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tiny122 @SteveITS
                                      last edited by 18 Dec 2023, 21:53

                                      @SteveITS Thanks for the feedback Steve, I struggle to see the value of Kea DHCP for anyone using an internal DNS resolver. Without the 2 hooked up together where DHCP registrations get registered in DNS can only be a backward step. I assume features are going to be added to Kea DHCP to support this sort of functionality before ISC DHCP is discontinued.

                                      GertjanG 1 Reply Last reply 19 Dec 2023, 07:34 Reply Quote 7
                                      • GertjanG Offline
                                        Gertjan @tiny122
                                        last edited by 19 Dec 2023, 07:34

                                        @tiny122

                                        Exact.
                                        Kea has very extended possibilities to act upon every DHCP related events.
                                        A future pfSense release will use (I guess) fire up this one so it will use unbound-control in its turn to 'insert' DNS info into the resolver (unbound) without the need for unbound restarts as it was the case with ISC DHCP.

                                        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 0
                                        • R Offline
                                          rds3
                                          last edited by 23 Dec 2023, 14:19

                                          I had the same but slightly different issue when I upgraded to Kea DHCP - I was finding that it would resolve some of my devices and not others and this was very confusing. As a test, I added the default domain name (localdomain in my case) in DHCP Server setting for each network (although the text says that it would do this by default anyway and I should not have to enter it if using the default domain configured in System > General Setup > Domain Name). As soon as I applied this change, DNS resolver was able to resolve all my devices. Just thought I'd share it in case it helps anyone, although one shouldn't need to do this and is a workaround at best. Looking forward to seeing this fixed and the option to register DHCP leases being made available in the next release.

                                          S 1 Reply Last reply 7 Jan 2024, 20:29 Reply Quote 1
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]