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

    How to unblock all subdomains?

    Scheduled Pinned Locked Moved pfBlockerNG
    4 Posts 2 Posters 240 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.
    • U
      UncleBilly
      last edited by

      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?

      tinfoilmattT 1 Reply Last reply Reply Quote 0
      • tinfoilmattT
        tinfoilmatt @UncleBilly
        last edited by

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

        U 1 Reply Last reply Reply Quote 0
        • U
          UncleBilly @tinfoilmatt
          last edited by

          @tinfoilmatt Thanks! I assumed a * would be the wildcard. It actually wants a . first (.cj.com).

          tinfoilmattT 1 Reply Last reply Reply Quote 1
          • tinfoilmattT
            tinfoilmatt @UncleBilly
            last edited by

            @UncleBilly Ah, right! Apologies for the unproofed reply. The infoblocks are always key wherever they appear.

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