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

    Unbound fatal error: could not open ports, then unbound is down.

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 3.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.
    • P Offline
      pfcode
      last edited by

      Hi,

      I found this in the system log, Unbound fatal error: could not open ports, then unbound stopped working. Only occurred under the combination of IPv6 and pfBlockerNG DNSBL.  What was happened:

      when the IP changes, it tries to stop/start Unbound… But unbound takes a little more time to do that with DNSBL enabled... So it fails to start ....

      I was told that its not a package issue, but something in pfSense code.
      log4.jpg
      log4.jpg_thumb

      Release: pfSense 2.4.3(amd64)
      M/B: Supermicro A1SRi-2558F
      HDD: Intel X25-M 160G
      RAM: 2x8Gb Kingston ECC ValueRAM
      AP: Netgear R7000 (XWRT), Unifi AC Pro

      1 Reply Last reply Reply Quote 0
      • P Offline
        pfcode
        last edited by

        This is crazy now. It happened at every day exactly same time, and each time I have to re-start the unbound service manually, otherwise no internet.

        The workaround was either disable IPv6 or disable DNSBL, which isn't good at all.

        Release: pfSense 2.4.3(amd64)
        M/B: Supermicro A1SRi-2558F
        HDD: Intel X25-M 160G
        RAM: 2x8Gb Kingston ECC ValueRAM
        AP: Netgear R7000 (XWRT), Unifi AC Pro

        1 Reply Last reply Reply Quote 0
        • S Offline
          shopro
          last edited by

          I can also report the same problem, unbound doesn't restart correctly after the IPv6 renew happens. I've been using Watchdog to keep it running but there is still a small cap between the restart which wreaks havoc on some of my scripts using the network.

          1 Reply Last reply Reply Quote 0
          • P Offline
            pfcode
            last edited by

            @shopro:

            I can also report the same problem, unbound doesn't restart correctly after the IPv6 renew happens. I've been using Watchdog to keep it running but there is still a small cap between the restart which wreaks havoc on some of my scripts using the network.

            Did you have a solution for this?

            Release: pfSense 2.4.3(amd64)
            M/B: Supermicro A1SRi-2558F
            HDD: Intel X25-M 160G
            RAM: 2x8Gb Kingston ECC ValueRAM
            AP: Netgear R7000 (XWRT), Unifi AC Pro

            1 Reply Last reply Reply Quote 0
            • P Offline
              Paint
              last edited by

              @pfcode:

              Hi,

              I found this in the system log, Unbound fatal error: could not open ports, then unbound stopped working. Only occurred under the combination of IPv6 and pfBlockerNG DNSBL.  What was happened:

              when the IP changes, it tries to stop/start Unbound… But unbound takes a little more time to do that with DNSBL enabled... So it fails to start ....

              I was told that its not a package issue, but something in pfSense code.

              I experienced a similar issue last night with my HE.NET IPv6 Tunnel. I am running on the latest dev (2.3.2-DEVELOPMENT (amd64) built on Mon Jul 18 23:27:23 CDT 2016 FreeBSD 10.3-RELEASE-p5)

              pfSense i5-4590
              940/880 mbit Fiber Internet from FiOS
              BROCADE ICX6450 48Port L3-Managed Switch w/4x 10GB ports
              Netgear R8000 AP (DD-WRT)

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