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

    Some strange glitch with unbound and pfbl_dnsbl.conf

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 3 Posters 770 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.
    • w0wW
      w0w
      last edited by w0w

      Everything was fine until today I've got no internet, because unbound has been stopped, tried to start it and got

      /status_services.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '/var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'locam-zone' /var/unbound/pfb_dnsbl.conf:467365: error: stray ':' /var/unbound/pfb_dnsbl.conf:467365: error: stray '"' /var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'support-line.com' /var/unbound/pfb_dnsbl.conf:467365: error: stray '"' /var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'redirect' read /var/unbound/unbound.conf failed: 6 errors in configuration file [1655057603] unbound[49385:0] fatal error: Could not read config file: /var/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf' 
      
      

      Looked at /var/unbound pfb_dnsbl.conf and found this line

      locam-zone: "support-line.com" redirect local-data: "support-line.com 60 IN A 10.10.10.1" local-data: "support-line.com 60 IN AAAA ::10.10.10.1"
      

      This looks like a typo, but I am not sure.
      Deleted it and unbound started. Any throughout why this had been happened?

      22.05-RC (amd64)
      built on Thu Jun 09 19:38:54 UTC 2022
      FreeBSD 12.3-STABLE
      pfBlockerNG-devel net 3.1.0_4

      M S 2 Replies Last reply Reply Quote 0
      • M
        MoonKnight @w0w
        last edited by

        @w0w
        Looks like the Geek has been hacked 😬

        I'm just kidding 😁 , but I can't find "pfbl_dnsbl.conf" file in my /var/unbound/
        Is this a file that got automatically generated if unbound crashed?

        --- 24.11 ---
        Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
        Kingston DDR4 2666MHz 16GB ECC
        2 x HyperX Fury SSD 120GB (ZFS-mirror)
        2 x Intel i210 (ports)
        4 x Intel i350 (ports)

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

          @w0w Seems a typo for “local”. IIRC 10.10.10.1 is the dummy IP for pfBlocker’s DNSBL. Did you manually block that domain maybe? Or add a custom setting to pfB?

          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!

          w0wW 1 Reply Last reply Reply Quote 0
          • w0wW
            w0w @MoonKnight
            last edited by w0w

            @moonknight
            Sorry, it's pfb_dnsbl.conf, not pfbl_dnsbl.conf, it's my typo 😊
            It is not generated when crashed, it's always present in /var/unbound

            1 Reply Last reply Reply Quote 0
            • w0wW
              w0w @SteveITS
              last edited by w0w

              @steveits
              No, I have custom list, but I did not block that domain or IP. Anyway, I have never been modified pfBlockerNG settings other way then GUI.

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