cbuijs / unbound-dns-firewall

DNS-Firewall Python script for UNBOUND
GNU General Public License v3.0
25 stars 8 forks source link

Ability to add just a HOST instead of domain which includes subdomains #12

Open cbuijs opened 6 years ago

cbuijs commented 6 years ago

For now, when adding a domain to a list, it implicitly means "this domains and all subdomains". There are some corner-cases where we maybe just want to add a "host" and not block any sub-domains. This is already possible by whitelisting a sub-domain of a blacklisted domain. Which maybe is enough to fix some corner-cases.

Backburner for sure.

cbuijs commented 6 years ago

Not sure if this makes sense. Probably better to regex it for corner-cases.