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

    Upgrading from 2.3.2 -> 2.3.2-p1 - DNS Resolver service failed

    pfBlockerNG
    6
    8
    2.3k
    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.
    • D
      dumplab
      last edited by

      After the upgrade the DNS Resolver doesn't start when using pfBlocker with DNSBL.

      Systemlog:
      rc.bootup: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '/var/unbound/unbound.conf:93: error: cannot open include file '/var/unbound/pfb_dnsbl.conf': No such file or directory read /var/unbound/unbound.conf failed: 1 errors in configuration file [1475819560] unbound[35120:0] fatal error: Could not read config file: /var/unbound/unbound.conf'

      Workaround:

      • Disable pfBlocker DNSBL
      • Restart DNS Resolver
      • Enable pfBlocker DNSBL
      • Run Update, the file will be rebuild

      ….

      UPDATE PROCESS START [ 10/07/16 07:43:21 ]

      ===[  DNSBL Process  ]================================================
      Missing DNSBL stats and/or Unbound DNSBL conf file - Rebuilding

      After reloading the firewall, the problem still exists

      [EDIT] seems to be a only problem when /var in RAM

      1 Reply Last reply Reply Quote 0
      • T
        tonymorella
        last edited by

        FYI just did the same upgrade and did not have an issue.

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

          It is good practice to disable packages like pfBlockerNG, Snort, Suricata, etc that can interfere with internet access or DNS before doing an upgrade.

          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

          1 Reply Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator
            last edited by

            @dumplab:

            After the upgrade the DNS Resolver doesn't start when using pfBlocker with DNSBL.

            The package has a feature to backup and restore the DNSBL database for RAMDisk installations.

            There is an open Redmine, to fix this for certain scenarios:
            https://redmine.pfsense.org/issues/6603

            "Experience is something you don't get until just after you need it."

            Website: http://pfBlockerNG.com
            Twitter: @BBcan177  #pfBlockerNG
            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

            1 Reply Last reply Reply Quote 0
            • M
              Mr. Jingles
              last edited by

              One year and three heart surgeries later my doc told me not to stress. I did  :P

              BB, on my backup pfsense, Dell R200, there is indeed the problem that after the upgrade to 2.3.2-1 Unbound will refuse to start as long as DNSBL is active, and GUI becomes very inresponsive (nonresponsive/nonresponsive/deresponsive/antiresponsive: pick one  :-* ).

              6 and a half billion people know that they are stupid, agressive, lower life forms.

              1 Reply Last reply Reply Quote 0
              • BBcan177B
                BBcan177 Moderator
                last edited by

                Hey Mr.J…

                Sorry for any added stress.. :)  However, this is something that needs to be fixed in pfSense Unbound... There is an open Redmine here:

                https://redmine.pfsense.org/issues/6603

                Basically, if you take a backup with DNSBL enabled... Then use this backup configuration in a new machine that doesn't have pfBlockerNG/DNSBL installed, then Unbound will not start since the Unbound Custom options is trying to load "server:include: /var/unbound/pfb_dnsbl.conf"....

                So either remove that line, and restart Unbound, or take the future backups with DNSBL disabled...

                or create a dummy file :

                touch /var/unbound/pfb_dnsbl.conf
                

                Hopefully the devs apply a patch to fix this issue once and for all….

                "Experience is something you don't get until just after you need it."

                Website: http://pfBlockerNG.com
                Twitter: @BBcan177  #pfBlockerNG
                Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                1 Reply Last reply Reply Quote 0
                • I
                  Ibor Daru
                  last edited by

                  @BBcan177:

                  The package has a feature to backup and restore the DNSBL database for RAMDisk installations.

                  Where can I find that feature precisely? Thanks in advance!

                  1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator
                    last edited by

                    @Ibor:

                    @BBcan177:

                    The package has a feature to backup and restore the DNSBL database for RAMDisk installations.

                    Where can I find that feature precisely? Thanks in advance!

                    Its done automatically in the background when RAMDisks are enabled…. No real need to touch it...

                    "Experience is something you don't get until just after you need it."

                    Website: http://pfBlockerNG.com
                    Twitter: @BBcan177  #pfBlockerNG
                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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