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

Custom blacklist for a hostname?

Scheduled Pinned Locked Moved pfBlockerNG
6 Posts 3 Posters 3.0k 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.
  • Y
    yyz
    last edited by Dec 10, 2018, 1:12 AM

    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

    B 1 Reply Last reply Dec 10, 2018, 4:10 AM Reply Quote 0
    • B
      BBcan177 Moderator @yyz
      last edited by Dec 10, 2018, 4:10 AM

      @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 Dec 10, 2018, 5:32 AM Reply Quote 1
      • Y
        yyz @BBcan177
        last edited by yyz Dec 10, 2018, 5:35 AM Dec 10, 2018, 5:32 AM

        @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
        • M
          m0urs
          last edited by Jan 9, 2019, 9:34 AM

          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?

          B 1 Reply Last reply Jan 9, 2019, 11:54 PM Reply Quote 0
          • B
            BBcan177 Moderator @m0urs
            last edited by BBcan177 Jan 10, 2019, 6:07 AM Jan 9, 2019, 11:54 PM

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

            M 1 Reply Last reply Jan 10, 2019, 7:20 AM Reply Quote 0
            • M
              m0urs @BBcan177
              last edited by Jan 10, 2019, 7:20 AM

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