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

    Filterdns error on 4/18 7:43 Snapshot

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    6 Posts 5 Posters 2.2k 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
      e7balt
      last edited by

      FYI- I noticed the following error in the system log after upgrading to today's 2.1 snapshot:

      filterdns: unable to open configuration file
      php: : The command '/usr/local/sbin/filterdns -p /var/run/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1' returned exit code '71', the output was '/var/etc/filterdns.conf:3: syntax error'

      1 Reply Last reply Reply Quote 0
      • E
        e7balt
        last edited by

        Here is the current contents of my /var/etc/filterdns.conf file:

        pf www.googleadservices.com Ads
        pf www.google-analytics.com Ads
        pf ad.doubleclick.net Ads

        1 Reply Last reply Reply Quote 0
        • D
          dhatz
          last edited by

          @e7balt:

          FYI- I noticed the following error in the system log after upgrading to today's 2.1 snapshot:

          filterdns: unable to open configuration file
          php: : The command '/usr/local/sbin/filterdns -p /var/run/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1' returned exit code '71', the output was '/var/etc/filterdns.conf:3: syntax error'

          Same error on my 2.1-BETA system …

          1 Reply Last reply Reply Quote 0
          • J
            jt-socal
            last edited by

            I have this problem too.  I think it started with this:
            https://github.com/pfsense/pfsense/commit/256e67406e3a8408252253a376d87fcc4de35930

            Edit:
            Yep, reversing that changes solves the problem (warning, this is not tested for logic nor necessarily secure, use at your own risk)

            1 Reply Last reply Reply Quote 0
            • X
              xbipin
              last edited by

              +1

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                Should be fixed.

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