Custom blacklist for a hostname?



  • 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


  • Moderator

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



  • @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 ?



  • 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?


  • Moderator

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



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