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

    Custom blacklist for a hostname?

    pfBlockerNG
    3
    6
    2.9k
    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.
    • Y
      yyz
      last edited by

      Would like to make a custom blacklist for a hostname.

      (as an aside, I'm very surprised that iad.apple.com isn't blocked within any the default lists. That's where iOS in-app ads are hosted)

      I realize there are ways to do this outside of PFblockerNG (DNS Resolver, or host file), but was looking for a way to do this within PFblockerNG in order to have filtering configured in a central location.

      I see one option would be to create a new DNSBL feed using a local file as source, but it couldn't really be maintained within the PFBlockerNG interface.

      Is there a native method within PFBlockerNG to make a custom blacklist that can also be maintained within PFBlockerNG?

      Thanks

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

        @yyz said in Custom blacklist for a hostname?:

        iad.apple.com

        At the bottom of any DNSBL Group is a custom list where you can add domains to be blocked. I would also suggest moving to pfBlockerNG-devel if you haven't already...

        "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/

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yyz @BBcan177
          last edited by yyz

          @bbcan177

          Sure enough indeed it is. Not sure if I would’ve spotted that.

          I Thank you very much and so does every iOS user in my household!

          iad.apple.com should be in everyone’s blacklist

          Indeed using -dev. Will the final version be called pfblocker(NG)^2 ?

          1 Reply Last reply Reply Quote 0
          • m0ursM
            m0urs
            last edited by

            Is there a possibility to blacklist all subdomains of a domain as well with this way? If I add "example.com" then this is blocked, while if I try ".example.com" the domain "www.example.com" is not. For whitelisting this works,. Is there another possibility to dothis for blacklisting?

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

              @m0urs said in Custom blacklist for a hostname?:

              Is there a possibility to blacklist all subdomains of a domain as well with this way? If I add "example.com" then this is blocked, while if I try ".example.com" the domain "www.example.com" is not. For whitelisting this works,. Is there another possibility to dothis for blacklisting?

              The TLD option when enabled will wildcard block domains that are the root domain....
              So it will wildcard block as example:

              example.com
              example.uk.com
              

              You don't need to do anything except enable the TLD option.
              To block a domain that doesn't fit this Root domain criteria, you could add it to the TLD Blacklist which should wildcard block it (TLD still needs to be enabled)

              "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/

              m0ursM 1 Reply Last reply Reply Quote 0
              • m0ursM
                m0urs @BBcan177
                last edited by

                @bbcan177 Thank you. I did that and it works!

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