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

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

Scheduled Pinned Locked Moved pfBlockerNG
8 Posts 6 Posters 2.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.
  • D Offline
    dumplab
    last edited by Oct 7, 2016, 6:37 AM Oct 7, 2016, 6:10 AM

    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 Offline
      tonymorella
      last edited by Oct 8, 2016, 3:00 PM

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

      1 Reply Last reply Reply Quote 0
      • R Offline
        RonpfS
        last edited by Oct 8, 2016, 8:57 PM

        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
        • B Offline
          BBcan177 Moderator
          last edited by Oct 9, 2016, 4:08 AM

          @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 Offline
            Mr. Jingles
            last edited by Oct 27, 2016, 5:21 PM

            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
            • B Offline
              BBcan177 Moderator
              last edited by Oct 29, 2016, 4:21 PM

              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 Offline
                Ibor Daru
                last edited by Feb 2, 2017, 2:01 AM

                @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
                • B Offline
                  BBcan177 Moderator
                  last edited by Feb 2, 2017, 5:28 AM

                  @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.
                    [[user:consent.lead]]
                    [[user:consent.not_received]]