• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 211 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 Dec 7, 2024, 1:44 AM

    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?

    T 1 Reply Last reply Dec 7, 2024, 5:24 PM Reply Quote 0
    • T
      tinfoilmatt @UncleBilly
      last edited by Dec 7, 2024, 5:24 PM

      @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 Dec 7, 2024, 6:04 PM Reply Quote 0
      • U
        UncleBilly @tinfoilmatt
        last edited by Dec 7, 2024, 6:04 PM

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

        T 1 Reply Last reply Dec 7, 2024, 6:59 PM Reply Quote 1
        • T
          tinfoilmatt @UncleBilly
          last edited by Dec 7, 2024, 6:59 PM

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

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received