Comments (3)
Yep! That looks right. I've never used asterisks in an rpz to denote wildcard subdomains before, but if it works, it works! 😁
from dns-zone-blacklist.
How does #7 look?
I've tested it BIND 9.11.1 using this simple named.conf
config and it seems to work:
zone "rpz" {
type master;
file "/etc/bind/bind-nxdomain.blacklist";
allow-query { none; };
};
options {
forwarders {
8.8.8.8;
8.8.4.4;
};
forward only;
response-policy { zone "rpz"; };
};
from dns-zone-blacklist.
When the other zone formats are used they block all wildcard subdomains. Adding the wildcards into the rpz will make bind work in the same way for nxdomain
and 0.0.0.0
responses.
I think it might be worth making a wiki page explaining how to use the RPZ file - there is not much to be found on google regarding them.
from dns-zone-blacklist.
Related Issues (12)
- Create a blacklist using the "server" option in the conf file for dnsmasq HOT 1
- hosts file HOT 2
- lib.rus.ec HOT 2
- Please remove az416426.vo.msecnd.net HOT 2
- Add a LICENSE file HOT 3
- unbound nxdomain file uses incorrect syntax HOT 1
- [Fork] Together Strong or Seperatly Strong
- unbound function
- Remove/whitelist catchall for *.info TLD HOT 3
- Build breaks due to DockerHub API rate limiting
- RCODE 5 (REFUSED) as response type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns-zone-blacklist.