How to unblock all subdomains?
-
Hi, I've been using PFBlockerNG for awhile and am using several DNSBL blacklists/exclusion lists. I've been adding TLDs to the DNSBL whitelist as needed and that's been working fine. But now, I've added cj.com (an affiliate site) and every time I go to the next step, another subdomain shows up that I have to add. First signup.cj.com, then signon.cj.com, then ui.cj.com, and so it goes on. I cannot use a wildcard (*.cj.com) so how do I allow all subdomains for cj.com without allowing all subdomains for all TLDs?
-
@UncleBilly You can, in fact, unblock all subdomains of a specified domain using wildcard syntax:
*.cj.com
See the infoblock underneath the DNSBL Whitelist (Firewall / pfBlockerNG / DNSBL / DNSBL Whitelist)—in relevant part:
Enter one Domain Name per line
Prefix Domain with a "." to Whitelist all Sub-Domains. IE: (.example.com)
You may use "#" after any Domain name to add comments. IE: (example.com # Whitelist example.com)
This List is stored as 'Base64' format in the config.xml file.Note: These entries are only Whitelisted when Feeds are downloaded or on a 'Force Reload'.
-
@tinfoilmatt Thanks! I assumed a * would be the wildcard. It actually wants a . first (.cj.com).
-
@UncleBilly Ah, right! Apologies for the unproofed reply. The infoblocks are always key wherever they appear.