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

    DNS timeout,DHCP timeout consistently

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 832 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.
    • N
      nrg
      last edited by nrg

      Hi,
      I have not been able to work out why I keep losing internet connection as unifi consoles' reasons for this are mainly:
      Failure Stage= DNS
      Failure Reason=DNS Timeout
      Failure Stage= DHCP
      Failure Reason=DHCP Timeout
      I am using pfsense as my DNS server and gateway. As well as pfblocker.
      I have tried different DNS servers, currently I changed it to cloudflare 1.1.1.1 1.0.0.1
      From pfsense I don't see anything wrong with it.
      The services status dashboard always has green ticks. But the only thing jumping out is the DNSBL yellow exclamation mark error because of feeds not updating. But I fixed it to be a green tick.
      The layout is:
      HFC to rj45 -> pfsense re0 wan in -> pfsense re1 lan out -> unifi US-16-150W switch -> ap ac + u6 enterprise. Also connected is the gen 2 cloud key. Plus tv and sonos sound bar. Everything else is wifi. Please let me know what information you require for troubleshooting.
      Or any suggestions.
      Also it crashed/went into panic mode because apparently the config file was missing.

      Edit: Staying connected with Ethernet works but still experiences the same drop in internet connection as WiFi. The access point WiFi transmition\broadcast drops making it not available to connect to. And then in under a minute to a couple seconds the WiFi broadcast is broadcasting again with internet connection. Its stuck on a working, not working back to working loop.

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

        @nrg said in DNS timeout,DHCP timeout consistently:

        Con.necting with Ethernet works perfectly

        Then how is it a pfsense problem? If dhcp and dns are working fine with wire - then its clearly wireless issue.. Pfsense has no way to know if client is wired or wireless.. To pfsense they are the same.

        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

        N 1 Reply Last reply Reply Quote 1
        • N
          nrg @johnpoz
          last edited by nrg

          @johnpoz Correction. Ethernet works fine connection wise but still experiences the same problems as the WiFi DNS timeouts DHCP timeouts ect.. It stays connected but receives no internet briefly until it resolves itself for both wifi and ethernet.
          Edit: Added a better explanation as an edit.

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

            @nrg is dns restarting on pfsense? Is the dhcp server?

            If your registering dhcp into dns that can restart unbound on every dhcp action. But dhcp even being down wouldn't cause a client that already has a lease to stop working..

            Dhcp leases are renewed at the 50% mark and will continue to run until the lease expires, the client would then do a discover.. Look at your dns and dhcp logs.. are you being flooded with dns renews that are not being renewed? As the client gets closer and closer to expire - it will ask more and more often, faster and faster desperately trying to renew, until it finally expires.

            While dns restarting could be problematic for internet access and could see that blipping on you if its restarting a lot.. But dhcp could be off for days and would not have a problem - unless your lease is something insanely short. Default is like 2 hours I believe, I have mine set to like 4 days..

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