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

    pfblockerng stops the DNS resolver!

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 2 Posters 536 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.
    • E
      enesas
      last edited by enesas

      DNS resolver has been stopping a few times lately. Even if I restart it stops again. Disabling pgblockerng fixes it.
      I did a forced update and it was fixed.
      But now it happened again.
      The error in the last update is like this:

      PF Version 2.7.0

      error parsing local-data at line 49 position 9 'softethn ': Syntax error, could not parse the RR's TTL
      error parsing local-data at line 50 position 9 'softethn ': Syntax error, could not parse the RR's TTL

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

        @enesas said in pfblockerng stops the DNS resolver!:

        Disabling pgblockerng fixes it.

        pfblockerng prepares "files" to be used by
        a) the python script (aka : python mode)
        b) by unbound directly (aka: unbound mode)

        What mode are you using ?
        How many DNSBL feeds do you ?

        Can you show the first 50 lines of the file where the erroneous hostname "'softethn '" is listed ** ?

        Ok that unbound fails as was asked to load/use a file with 'syntax errors'.
        Normally, pfblockerng doesn't create files (for unbound to use) that contains errors, but if the error was in one of the DNSBL feeds you've chosen, then yeah ..... BS in => BS out 😊

        **
        To find the file, use console or SSH mode - option 8:

        cd /var/unbound
        grep 'softethn' *
        

        what shows up ?

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

        E 1 Reply Last reply Reply Quote 0
        • E
          enesas @Gertjan
          last edited by

          @Gertjan
          I will listen to your advice. I will try to do it as much as I know.
          thank you

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