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

Unbound seems to be restarting frequently

Scheduled Pinned Locked Moved DHCP and DNS
178 Posts 43 Posters 72.9k 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.
  • C
    CiscoKid85
    last edited by Feb 28, 2015, 6:44 PM

    From the logs, it seems that unbound is stopping/starting fairly frequently.. Is this expected/normal behavior? Any suggestions on how I could troubleshoot?

    Thanks,
    -Ryan
    unbound.PNG
    unbound.PNG_thumb

    1 Reply Last reply Reply Quote 0
    • C
      CiscoKid85
      last edited by Mar 2, 2015, 1:01 AM

      bump

      1 Reply Last reply Reply Quote 0
      • A
        AhnHEL
        last edited by Mar 2, 2015, 1:37 AM

        Does this happen consistently?

        I know certain config changes will cause Unbound to restart so if you made a few changes you might see a few of these restarts in a row.

        AhnHEL (Angel)

        1 Reply Last reply Reply Quote 0
        • C
          CiscoKid85
          last edited by Mar 2, 2015, 4:28 AM

          Fairly consistent. On average every 2-3mins.. Occasionally multiple times in a minute.

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by Mar 2, 2015, 4:33 AM

            I'd post my DNS resolver configuration, DNS forwarder configuration, any port forwards or anything you have running on port 53, etc etc and see if something stands out.

            1 Reply Last reply Reply Quote 0
            • C
              CiscoKid85
              last edited by Mar 2, 2015, 3:43 PM

              Where can I find / how can I export unbound's config?

              I did experiment with unbound and forwarder a few times.. Perhaps toggling between the two caused some issues.

              I have no confirmed at least that forwarder is off.

              Thanks!

              1 Reply Last reply Reply Quote 0
              • H
                hda
                last edited by Mar 2, 2015, 3:48 PM

                Flush experimental & crap by rebooting ?

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Mar 2, 2015, 3:50 PM

                  curious is this a clean install of 2.2, and upgrade?  Did you have or try to install the unbound package before it was part of 2.2?

                  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
                  • C
                    CiscoKid85
                    last edited by Mar 2, 2015, 3:53 PM

                    The problem persists after subsequent reboots. This was a clean 2.2 install.

                    Can someone tell me where to find the config? I'll try and grab it to post. Perhaps that may shed some light.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by Mar 2, 2015, 4:30 PM Mar 2, 2015, 4:21 PM

                      services > DNS resolver - unbound

                      services > DNS forwarder - dnsmasq

                      I was suggesting that you take a screen shot of the settings in there and post to see if there is anything strange there.

                      Or, you can post here daily "my unbound is weird" over and over…

                      1 Reply Last reply Reply Quote 0
                      • C
                        CiscoKid85
                        last edited by Mar 2, 2015, 4:48 PM

                        Attached.

                        resolver.PNG
                        resolver.PNG_thumb
                        resolver_advanced.PNG
                        resolver_advanced.PNG_thumb
                        forwarder.PNG
                        forwarder.PNG_thumb
                        system_general.PNG
                        system_general.PNG_thumb

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by Mar 2, 2015, 4:56 PM

                          With these settings, your unbound is just acting as a forwarder.  May as well use dnsmasq instead (dns forwarder)

                          1 Reply Last reply Reply Quote 0
                          • C
                            CiscoKid85
                            last edited by Mar 2, 2015, 5:03 PM

                            But I still get the benefit of pre-fetch and caching.

                            My actual unbound config is here.

                            I found the unbound logs but I'm getting permission denied when I try to view them. I also can't do a sudo or sudo su. Any suggestions on how I can get the raw logs?

                            I'd still like to fix unbound should I decide to not forward queries.

                            unbound.txt

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by Mar 2, 2015, 5:07 PM

                              Were you using unbound in 2.1.5?  (yes or no)

                              1 Reply Last reply Reply Quote 0
                              • C
                                CiscoKid85
                                last edited by Mar 2, 2015, 5:09 PM

                                I never used 2.1. My 2.2 build was a fresh install on a new pc engines build.

                                1 Reply Last reply Reply Quote 0
                                • C
                                  CiscoKid85
                                  last edited by Mar 2, 2015, 5:10 PM

                                  If I filter for restarts, I get the following:

                                  Mar 2 11:52:20	unbound: [28167:0] notice: init module 0: iterator
                                  Mar 2 11:52:20	unbound: [28167:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 10:49:14	unbound: [28167:0] notice: init module 0: iterator
                                  Mar 2 10:49:14	unbound: [28167:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 10:49:12	unbound: [28167:0] notice: init module 0: iterator
                                  Mar 2 10:49:12	unbound: [28167:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 10:49:12	unbound: [28167:0] notice: init module 0: iterator
                                  Mar 2 10:09:59	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 10:09:59	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 10:03:14	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 10:03:14	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:53:20	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:53:20	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:43:24	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:43:24	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:33:30	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:33:30	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:33:30	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:33:30	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:31:00	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:31:00	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:30:56	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:30:56	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:30:20	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:30:20	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:24:02	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:24:02	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:23:29	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:23:29	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:13:34	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:13:34	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:12:04	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:12:04	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 09:09:56	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 09:09:56	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 08:09:43	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 08:09:43	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 08:02:39	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 08:02:39	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:52:44	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 07:52:44	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:49:50	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 07:49:50	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:42:49	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 07:42:49	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:40:24	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 07:40:24	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:38:15	unbound: [45732:0] notice: init module 0: iterator
                                  Mar 2 07:38:15	unbound: [45732:0] notice: Restart of unbound 1.5.1.
                                  Mar 2 07:37:28	unbound: [45732:0] notice: init module 0: iterator
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kejianshi
                                    last edited by Mar 2, 2015, 5:10 PM

                                    Hmmmm.  Is there a reason you don't want to use the root DNS servers (just curious)?

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      CiscoKid85
                                      last edited by Mar 2, 2015, 5:18 PM

                                      Comcast operates a bunch of caching servers for content from Akamai, Netflix. I'd like to hit the locally cached servers when that content is requested. Netflix definitely streams a little faster, I think.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kejianshi
                                        last edited by Mar 2, 2015, 5:20 PM

                                        Thing is, I think hitting the local DNS without DNSSEC and harden glue and all that might be whats crashing your unbound.

                                        Would you be opposed to trying it in resolver mode instead of forwarder mode for a while?  See if it stops crashing?

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          CiscoKid85
                                          last edited by Mar 2, 2015, 5:29 PM

                                          Is there any additional logging I can enable that may offer better insight?

                                          Would someone mind posting their config so I can try running a good one that I know works?

                                          Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          6 out of 178
                                          • First post
                                            6/178
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received