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

    DNS Resolver stops running

    Scheduled Pinned Locked Moved DHCP and DNS
    16 Posts 3 Posters 2.3k 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.
    • KOMK Offline
      KOM
      last edited by KOM

      Probably by finding out what's making it crash and fixing it. Start by looking at the log via Status - System Logs - DNS Resolver.

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

        When a process stops executing, it logs the reason why.
        So, the question is : what's in the logs ?

        unbound (the resolver) can restarted for several reasons. Several situations will restart - that is stop to start again - the resolver. pfSense has no code to stop the resolver - only the user (the admin with GUI access) can stop that process.
        So, tell us, what happened ?

        edit : as @KOM said ....

        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
        • C Offline
          cpugeek1999 @KOM
          last edited by

          afeee650-0fbf-43ac-90fc-a1ecf87a7de0-image.png

          This what I have

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            That's only a 4-hour span from today. If it didn't crash in that time then there is nothing there in the WebGUI view.

            Shell in and check /var/log/resolver.log. It should have more history, and look specifically around the time that it crashed.

            1 Reply Last reply Reply Quote 0
            • C Offline
              cpugeek1999
              last edited by

              Screenshot (5).png

              What I highlighted is when I started the service. This actually happened today

              1 Reply Last reply Reply Quote 0
              • KOMK Offline
                KOM
                last edited by

                Hmm, nothing there. Anything in the System log at 4:50:11 or just before?

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cpugeek1999
                  last edited by

                  Screenshot (6).png

                  I think this is what caused the problem but I do not know how to fix this.

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

                    Your WAN goes down several times just before and after that moment. Why ? If this didn't happen, chances are good that your issue doesn't pop anymore - or far less.

                    When such an event happens, many processes get restarted.

                    Somehow, unbound (the resolver) gets stopped and started again, but during the start, a test is executed, to check if the settings file is ok. The test shows that ports (like 53 and/or 953 are still used by some process. This can only be the previous instance of unbound, probably still occupied to 'shut down'.

                    There is a way to accelerate unbound stopping and starting : temporary, deactivate pfBlockerNG.

                    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
                    • C Offline
                      cpugeek1999
                      last edited by

                      I am not sure why my WAN would go down. Could it be my ISP renewing my DHCP lease? This only happens once a month. So are you saying next time this happens, to disable my pfBlockerNG? I also just discovered that pfBlockerNG was behind one update. could that be the issue?

                      Thank you,
                      Justin

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

                        It's isn't just a lease that expires. That's something like a high level notice of a connection.
                        The kernel messages indicate a the connection really got interrupted, like you pulling the cable, or switching off and on the upstream device (ISP modem/router). It happened several times in less then x minutes.
                        While something starts banging on the on/off switch, or a bad cable, or a NIC bad on either site, every time a whole lot of processes gets restarted.

                        Actually quiet normal that unbound can't keep up with it.

                        Anyway, just thinking out loud here.

                        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
                        • C Offline
                          cpugeek1999
                          last edited by

                          I just did a wiggle check on the WAN cable and it seems to be just fine. Could it be Comcast trying to update their modem?

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

                            Comcast ?
                            Now that's an ISP who is often mentioned on this forum.

                            When it establishes an uplink connection, it needs some time.
                            Using Interfaces -> WAN -> DHCP Client Configuration -> Advanced Configuration (check it) might help here.
                            Use on or more of the option, you'll find the info in the forum.

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

                            C 1 Reply Last reply Reply Quote 0
                            • C Offline
                              cpugeek1999 @Gertjan
                              last edited by

                              @Gertjan said in DNS Resolver stops running:

                              Using Interfaces -> WAN -> DHCP Client Configuration -> Advanced Configuration (check it) might help here.

                              Where do I find this? sorry, I am new to the forum page.

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

                                pfSense settings menus !

                                37eea3bc-9c2c-4577-9ae0-4551e95ea312-image.png

                                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
                                • C Offline
                                  cpugeek1999
                                  last edited by

                                  I think it is fixed. Thank you @KOM and @Gertjan!

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