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

    Unbound DNS Resolver crashing randomly

    Scheduled Pinned Locked Moved General pfSense Questions
    35 Posts 17 Posters 10.3k Views 4 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.
    • F Offline
      firewalluser
      last edited by

      @heper:

      try increasing verbosity of logging to 2 on services: dns resolver: advanced settings

      try attaching it to your next post after a crash (might be good to clear resolver log and then restart it … can be done in  Status: System logs: Resolver )

      I wonder if this is what I experienced the other day as well, loads of webpages even some in the google cache were becoming unavailable.

      Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

      Asch Conformity, mainly the blind leading the blind.

      1 Reply Last reply Reply Quote 0
      • A Offline
        asterix
        last edited by

        Happened again..

        This webpage is not available

        The server at www.samsung.com can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Internet from accessing the network.

        1 Reply Last reply Reply Quote 0
        • K Offline
          kejianshi
          last edited by

          Still - No one knows anything about your settings in dns resolver or system > general….

          1 Reply Last reply Reply Quote 0
          • A Offline
            asterix
            last edited by

            Default settings. This is a clean install. Just did a plain vanilla install this morning to rule out any user entered settings killing it.

            Definite issue in the resolver. Noticed this happening frequently while using eBay android app. Never saw such issues in 2.1.5

            1 Reply Last reply Reply Quote 0
            • K Offline
              kejianshi
              last edited by

              Cool - 64bit?  Pure hardware.  No VM?

              1 Reply Last reply Reply Quote 0
              • A Offline
                asterix
                last edited by

                Yup  amd64 on i3

                1 Reply Last reply Reply Quote 0
                • A Offline
                  asterix
                  last edited by

                  This issue has started to become a nuisance. Kids have started to complain about it happening every 30 mins. Sometimes twice every 15 mins. Did a clean install again but it's still the same.
                  No errors logged and service is up the whole time. Only way temporary solution is to do a manual service restart.

                  Is anyone working on fixing this?

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    Since noone can reproduce it, pretty much doubt anyone's working on it. Maybe you have some lolcats in there?!  :o

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kejianshi
                      last edited by

                      Could be…

                      pctechsupportcat.jpg
                      pctechsupportcat.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Harvy66
                        last edited by

                        I wonder if a packet dump of DNS traffic on the WAN port is in order.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          asterix
                          last edited by

                          Others seeing similar issue as well

                          https://forum.pfsense.org/index.php?topic=88272.0

                          1 Reply Last reply Reply Quote 0
                          • 2 Offline
                            2chemlud Banned
                            last edited by

                            …yeah, but nobody want's to play with me anymore ;-) ...not even doktormotor :-D

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              hda
                              last edited by

                              But mine works.
                              And in response to the "default" install, I set explicit/specific in the page Services: DNS Resolver(General settings):

                              Enabled True.
                              Network Interfaces : LAN's & Localhost
                              Outgoing Network Interfaces : All
                              All others choices are set False.

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

                                I'm guessing it's not really crashed from the sounds of it (read: it's still running). This sounds like the issue in the "lolcats" thread doktornotor linked.

                                Go to Services>DNS Resolver, Advanced, make sure you have "Harden Glue" and "Harden DNSSEC data" both enabled.

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  Trel
                                  last edited by

                                  @cmb:

                                  I'm guessing it's not really crashed from the sounds of it (read: it's still running). This sounds like the issue in the "lolcats" thread doktornotor linked.

                                  Go to Services>DNS Resolver, Advanced, make sure you have "Harden Glue" and "Harden DNSSEC data" both enabled.

                                  Yes.  This was the issue.  This was the new symptom after enabling DNSSEC (without Harden Glue).
                                  I posted this before I realized it was a symptom of the same issue when DNSSEC was turned on.

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    felipedie
                                    last edited by

                                    I'm using version 2.2.2 of pfsense but the problem also occurred with version 2.2
                                    Apparently when the unbound is on the machine after a few days of use begins to show great instability.
                                    I lost the connection to the network interface lan in pfsense several times during the afternoon. After disabling the unbound problems ceased.
                                    I initially uses the unbound to rewrite the domain of youtube.com, the process worked for about a week correctly, but stopped suddenly in one day. To solve the problem it was necessary to restart the service unbound and everything worked properly for a while. Referring again to happen after a few minutes.
                                    The problem became serious when the next day was no longer possible to log in pfsense the web interface. I suspected that someone had managed to invade pfsense and damage files somehow.
                                    I reinstalled the machine and everything was ok for about seven days, but this afternoon it started again.
                                    I lost communication with the LAN interface of my pfsense, unplug and plug the network cable lan solve the problem, but soon returned to happen.
                                    Finally I turned off the unbound and everything has stabilized.
                                    I suspect the unbound is tipping the entire operating system somehow in pfsense.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dancwilliams
                                      last edited by

                                      I am having the same issue.  Unbound doesn't "crash" it just ramps up to 100% CPU and becomes unusable.  Sometimes it goes away by itself, other times I have to restart the service to make it usable again.

                                      Here is a link to the post I made: https://forum.pfsense.org/index.php?topic=93846.msg520894#msg520894

                                      Interesting problem indeed….

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        JZng @hda
                                        last edited by

                                        @hda thank you for your post. I have Active Directory locally yet I still wanted to use DNS Resolver because all of my OpenVPN clients and DHCP reservations would all resolve. I had the hardest time... it would work for a day or so and then no longer resolve properly via nslookup or the host commands. I had to bounce the resolver service every time.

                                        Seeing your post made me think that I should be more explicit and specifically pick the interface LAN & Localhost instead of All from the dropdown. I've now been up for 2-3 days with zero issues. Lesson learned that being explicit is not just for programming but for every part of life :)

                                        Thanks again!

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          Harvy66
                                          last edited by

                                          @JZng you are an all powerful necromancer, but in a good way at least.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JZng @Harvy66
                                            last edited by

                                            @harvy66 I try brother :) didn't mean to wake the dead but what an important concept to pay forward. Leaving All in DNS Resolver > Network Interfaces made the pfSense resolver fail at random.

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