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

    DHCP Lease page error

    Scheduled Pinned Locked Moved DHCP and DNS
    10 Posts 3 Posters 631 Views 3 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.
    • E Offline
      Ernest018
      last edited by

      Is there someone experience this issue?
      5230d90a-82f2-4460-926d-abf3289f6c10-image.png

      I cant open the DHCP lease page, Though DHCP clients are not affected but i need to clear the DHCP sometimes.

      Could someone please help me to resolve this issue?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Ernest018
        last edited by

        @Ernest018 said in DHCP Lease page error:

        I cant open the DHCP lease page,

        After a minute or more, the web page errors out. Correct ?
        The image you've shown only tells me : no errors what so ever - none are listed.

        But your question is already known, it happened before, as you can find others in this part of the forum talking about it. Way less frequent lately.

        When showing that page, the host name is filled in, and this is done with a reverse DNS request : the IP is used, and DNS is asked to find the host name.

        As you can see :

        6f0556c3-c38d-4bde-83eb-4a025be87aa4-image.png

        sometimes this works out, sometime it doesn't.
        Whatever the potential answer, a name, or not, DNS shouldn't take long to answer.

        For every known lease, a DNS reverse request is executed.
        So, tell us, what are your DNS settings ? Not the default, I guess, as the default works just fine (I'm using it).
        Also, less frequent but probably possible, if you have thousands of leases it will take time to build this page. And the web server isn't going to wait forever before PHP finished building he page.

        Btw : Your DHCP server is ISC or Kea ?

        @Ernest018 said in DHCP Lease page error:

        but i need to clear the DHCP sometimes

        When you delete a lease, the DHCP server forgets about it. This doesn't mean the client device, who asked for a lease, will know that the lease is gone (deleted) on the server side.
        It will renew when the time is up, and it will ask for the same IP as it has before.
        If this IP is still available - not yet allocated to anther network client - then the server will grant the same IP to the DHCP client.
        Before the DHCP server hands over an IP to a client, it will first check on the network if this IP is already used by some device (it executes an ARP request !), and it does this also if the requested IP isn't listed in any known active DHCP leases.
        So why delete ? ^^

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

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Ernest018 @Gertjan
          last edited by

          @Gertjan thank you for immediate response.

          Every DHCP Server i used 8.8.8.8 and 8.8.4.4, im not sure if this error appear due to my previous firmware update.

          Im still in ISC DHCP version, i tried to enable the KEA but the services of KEA DHCP cannot be started so i have to stay in ISC.

          in past record we hold 200 - 400 Dhcp clients only.

          Thank you for explaining the renewing of DHCP, i want to update the DHCP pool to have reserved for my static IP devices. im just trying to clear it before i setup the static IP.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan @Ernest018
            last edited by

            @Ernest018 said in DHCP Lease page error:

            Every DHCP Server i used 8.8.8.8 and 8.8.4.4

            8.8.8.8 can't help you here.
            A reverse resolve about a device with IP (example) 192.168.1.10 (on your LAN) : 8.8.8.8 can't help you with that ! They don't know - Google isn't a DHCP server and doesn't know anything about your RFC1918 network.
            Google takes care of publicly known host names, not your network.

            Try this : ditch 8.8.8.8 8.8.4.4 etc everywhere.
            Go back to pfSense default settings. No forwarding to nobody, just resolving as it was doing when you installed pfSense.
            And suddenly things start to work again ...
            And not the Netgate (pfSense) way, no, the way it was meant to be used when all this was designed (back in .. dono 1970 ?)

            @Ernest018 said in DHCP Lease page error:

            i want to update the DHCP pool to have reserved for my static IP devices. im just trying to clear it before i setup the static IP.

            That's what I do : when I get a new device that I own, I let it get a lease first out of the small (10 or so) DHCP pool (192.168.1.200 - 192.168.1.210). So the device will get 192.168.1.200 - the first aviable IP out of the DHCP pool.
            As I can see it's MAC address now (I don't bother looking at the DHCP leases page, I go straight to the DHCP server log) in pfSense, I assign it a Static MAC DHCP lease., for example 192.168.1.71 (the first 70 are already used by by other LAN devices).
            When done, I remove the Ethernet connection on the device for a moment.
            When hooked up again, it will ask for 192.168.1.200 again, as that is the IP it prefers.
            But the pfSense DHCP server has now a static MAC DHCP lease for the MAC, so it will give (non negotiable ^^) 192.168.1.71.
            Done.

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

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Ernest018 @Gertjan
              last edited by

              @Gertjan I already remove all 8.8.8.8 in DHCP server.

              Heres my config of DHCP in General settings
              5977f0bd-fbcf-45f2-836d-fd67f056cd39-image.png

              DNS Resolver is disabled and DNS Forwarder is enable since the beginning.

              fe57d381-66ab-4de4-980a-1546ff894b19-image.png

              Still i cannot load the DHCP Lease page

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG Offline
                Gertjan @Ernest018
                last edited by Gertjan

                @Ernest018

                can you show what you've below DNS Query Forwarding :

                d1c62634-df41-4138-a47c-fe29b127ea02-image.png

                Also : If there are no other DNS servers known, then set back to default :

                050ba540-b8ee-4512-ad8e-bcba6ca2efd8-image.png

                @Ernest018 said in DHCP Lease page error:

                DNS Resolver is disabled and DNS Forwarder is enable since the beginning.

                Disabled ??

                So, if for some reason the local resolver doesn't work (disabled !?).
                And remote servers say "stop question our servers with requests that can't be answers by us" (reason explained above).
                Or way more simpler : remote servers are unreachable (while, for example, another satellite is located)
                Then you've found a possible answer for "DHCP Lease page error".

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

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  Ernest018 @Gertjan
                  last edited by

                  @Gertjan Your great,

                  I changed the DNS Resolution Behavior to:
                  dd56a4ca-1dfa-49ea-8e56-a67e0de0ea54-image.png

                  I can now open the DHCP Lease page
                  d5951832-46e7-45b0-ac0e-8f7163ee5c01-image.png

                  GertjanG bmeeksB 2 Replies Last reply Reply Quote 0
                  • GertjanG Offline
                    Gertjan @Ernest018
                    last edited by

                    @Ernest018

                    Ok, progress.

                    These :

                    b43b0f0f-0cc6-4db2-b41f-ff986926a7f1-image.png

                    are

                    c2df3eef-d87d-4ed6-864f-ab7988d5cb6d-image.png

                    as there are no hast names what so ever ?
                    When I use nslookup with a LAN IP, I get this :

                    C:\Users\Gauche>nslookup 192.168.1.33
                    Serveur :   pfSense.bhf.tld
                    Address:  2a01:cb19:907xxxx:92ec:77ff:fe29:392c
                    
                    Nom :    diskstation2.bhf.tld
                    Address:  192.168.1.33
                    

                    I got the host name back - as I've set that host name in my DHCP Static mapping.

                    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
                    • bmeeksB Online
                      bmeeks @Ernest018
                      last edited by bmeeks

                      @Ernest018: you also need to uncheck this box --

                      DNS_Override.png

                      Leaving that checked means that pfSense itself will use whatever DNS server your ISP sends your way. Read the text underneath the checkbox.

                      GertjanG 1 Reply Last reply Reply Quote 1
                      • GertjanG Offline
                        Gertjan @bmeeks
                        last edited by

                        @bmeeks

                        👍

                        Another option that was needed in the past, as ISP had to (wanted to) capture all DNS traffic, aka forwarding to 'them'.
                        Not needed anymore these day.

                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.