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

    No startup Unbound

    Scheduled Pinned Locked Moved DHCP and DNS
    17 Posts 4 Posters 4.4k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      My guess would be something with your pfblocker.. It restarts unbound when it updates - its possible that unbound is not actually stopping and left running..

      What is this?

      ?        ?          ?     ?  tcp4   127.0.0.1:953         127.0.0.1:57064
      ?        ?          ?     ?  tcp4   127.0.0.1:953         127.0.0.1:1987
      ?        ?          ?     ?  tcp4   127.0.0.1:953         127.0.0.1:33822
      ?        ?          ?     ?  tcp4   127.0.0.1:953         127.0.0.1:33089
      

      You can not see the pid of what is bound to 953?

      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

      QinnQ 1 Reply Last reply Reply Quote 1
      • RonpfSR
        RonpfS
        last edited by RonpfS

        When the widget send an unbound-control stats_noreset during an unbound reload, unbound may hang and may need to be kill -9 .

        Change the pfblockerNG Widget DNSBL Resolver Query frequency from 5 sec to 60 or 120 sec.

        You can also try to enable DNSBL Live Reload Resync so pfblockerNG wont reload unbound.

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

        QinnQ 1 Reply Last reply Reply Quote 1
        • QinnQ
          Qinn @johnpoz
          last edited by Qinn

          [2.4.4-RELEASE][root@pfSense.localdomain]/root: sockstat | grep :953
          unbound  unbound    63945 22 tcp4   127.0.0.1:953         *:*
          ?        ?          ?     ?  tcp4   127.0.0.1:953         127.0.0.1:57064
          

          @johnpoz Your guess is as good as mine , only the first line is unbound?

          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
          Firmware: Latest-stable-pfSense CE (amd64)
          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

          1 Reply Last reply Reply Quote 0
          • QinnQ
            Qinn @RonpfS
            last edited by

            @ronpfs said in No startup Unbound:

            DNSBL Resolver Query frequency

            Thanks RonpfS for stepping in, I can't seem to locate the;

            "Change the pfblockerNG Widget DNSBL Resolver Query frequency from 5 sec to 60 or 120 sec."

            You've mentioned, of course I will try to enable DNSBL Live Reload Resync and report back.

            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
            Firmware: Latest-stable-pfSense CE (amd64)
            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

            RonpfSR 1 Reply Last reply Reply Quote 0
            • RonpfSR
              RonpfS @Qinn
              last edited by

              @qinn said in No startup Unbound:

              Thanks RonpfS for stepping in, I can't seem to locate the;
              "Change the pfblockerNG Widget DNSBL Resolver Query frequency from 5 sec to 60 or 120 sec."

              Click on the Wrench Icon on the pfBlockerNG widget

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              QinnQ 1 Reply Last reply Reply Quote 1
              • QinnQ
                Qinn @RonpfS
                last edited by

                @ronpfs said in No startup Unbound:

                @qinn said in No startup Unbound:

                Thanks RonpfS for stepping in, I can't seem to locate the;
                "Change the pfblockerNG Widget DNSBL Resolver Query frequency from 5 sec to 60 or 120 sec."

                Click on the Wrench Icon on the pfBlockerNG widget

                Thanks, duhhhh, missed out that one, stupid me. I will try that first and if that don't work the
                enable DNSBL Live Reload Resync, but it has to wait for tomorrow as some rsync's are running and after that backups are kickin in, so tomorrow I will try and report back!

                Thanks again 👍

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                1 Reply Last reply Reply Quote 0
                • QinnQ
                  Qinn
                  last edited by Qinn

                  @RonpfS setting DNSBL Resolver Query frequency to 60 sec, didn't do much. Next tried the *DNSBL Live Reload Resync, but unfortunately it did not do much either. Still unbound is not running after a reboot...

                  Anyone any idea's?

                  Cheers Qinn

                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                  Firmware: Latest-stable-pfSense CE (amd64)
                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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

                    @qinn said in No startup Unbound:

                    Anyone any idea's?

                    Yep.
                    If you can works a day or two without DNSBL , disable it all together.
                    Reboot pfSense.
                    Check.

                    Doing so will rule out any problems related to DNSBL - or not ....

                    @qinn said in No startup Unbound:

                    Still unbound is not running after a reboot...

                    That is, it should start after a boot. The logs do shows this.
                    But shortly after that it gets probably restarted, so it stops, and then can't start again.

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

                    QinnQ 1 Reply Last reply Reply Quote 0
                    • QinnQ
                      Qinn @Gertjan
                      last edited by Qinn

                      @gertjan I stopped and disabled pfb_dnsbl and pfb_filter and rebooted 3 times, on all of them unbound was running and there were no errors in the General Log concerning Unbound and accessing the GUI/Dashboard after reboot now took a few seconds, instead of minutes. It seems very likely that the culprit has found, pfb_dnsbl and pfb_filter and Unbound don't play well , but now to a solution. I hope that @BBcan177 can shed some light on it.

                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                      Firmware: Latest-stable-pfSense CE (amd64)
                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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

                        @qinn said in No startup Unbound:

                        pfb_dnsbl and pfb_filter and Unbound don't play well

                        I would concur on this ;) no offense to BBcan177 great work on the package.. But it has become lets call it very complex ;)

                        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
                        • GertjanG
                          Gertjan
                          last edited by Gertjan

                          @johnpoz said in No startup Unbound:

                          @qinn said in No startup Unbound:

                          pfb_dnsbl and pfb_filter and Unbound don't play well

                          I would concur on this ;) no offense to BBcan177 great work on the package.. But it has become lets call it very complex ;)

                          @metoo

                          But the fact is :
                          pfb_dnsbl import big or can I call them huge - lists.
                          And when he set them up, it kicks unbound, who starts to parse all these lists using. This needs a lot resources.
                          I do think a 'correct' setup of pfb_dnsbl would be a good solution.

                          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
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            @gertjan said in No startup Unbound:

                            pfb_dnsbl import big or can I call them huge - lists.

                            Yup would concur there as well ;)

                            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.