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

    unbound keeps stopping

    Scheduled Pinned Locked Moved pfBlockerNG
    4 Posts 3 Posters 847 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
      costanzo
      last edited by costanzo

      Recently started to notice the unbound service stopping. It seems to occur when pfBlockerNG-devel updates.

      Background:
      21.05-RELEASE (arm64)
      built on Tue Jun 01 16:52:48 EDT 2021
      FreeBSD 12.2-STABLE

      pfBlockerNG-devel 3.0.0_16
      Using Unbound Python Mode
      Register DHCP leases in the DNS Resolver (Unchecked)

      I would prefer not to use the service watchdog package to restart the service.

      Any suggestions on how to pin point the cause and possible fix?

      Thanks in advance.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @costanzo
        last edited by

        https://forum.netgate.com/topic/158592/pfblockerng-devel-v3-0-0-no-longer-bound-by-unbound
        "CAUTIONS:

        The DNS Resolver (Unbound) DHCP Registration option is not compatible with DNSBL Python mode. The pfSense devs are aware and changes are required to be made to the dhcpleases binary to stop/start Unbound instead of sending a SIGHUP. The use of this option and the Unbound Python mode will cause an Unbound crash.
        If DHCP Registration is enabled in Unbound Python mode, or DHCP Registration enabled after Unbound Python mode is enabled, Unbound Python mode will be downgraded to Unbound mode to prevent Unbound from crashing."

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

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

          @steveits Python mode can only be selected and accepted if

          @costanzo said in unbound keeps stopping:

          Register DHCP leases in the DNS Resolver (Unchecked)

          Btw : the dhcpleases program doesn't "restart" (stop and then starts again) unbound, it actually sends a SIGHUP to the unbound process.
          Still, on the 21.0x version of pfSense, using the "arm" code, unbound can fail, this is already known. That's why the upcoming unbound version is downgraded.

          All this is somewhat theory for me, as I'm not using an arm device, but an 'intel/amd' device, using pfSense 2.5.1 - pfsense version 1.13.1, which his rock solid for me.

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

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @Gertjan
            last edited by

            @gertjan I skipped over "unchecked" apparently, sorry costanzo. Unbound was reverted to an earlier version in 21.05 but he has that already.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

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