Replace NAME with the list you want to block:
|
List
|
Zone
|
Download
|
|
Advertising
|
ads.rpz.ipfire.org
|
Download
|
|
Dating
|
dating.rpz.ipfire.org
|
Download
|
|
DNS-over-HTTPS
|
doh.rpz.ipfire.org
|
Download
|
|
Gambling
|
gambling.rpz.ipfire.org
|
Download
|
|
Games
|
games.rpz.ipfire.org
|
Download
|
|
Malware
|
malware.rpz.ipfire.org
|
Download
|
|
Phishing
|
phishing.rpz.ipfire.org
|
Download
|
|
Piracy
|
piracy.rpz.ipfire.org
|
Download
|
|
Pornography
|
porn.rpz.ipfire.org
|
Download
|
|
Shopping
|
shopping.rpz.ipfire.org
|
Download
|
|
Smart TV
|
smart-tv.rpz.ipfire.org
|
Download
|
|
Social Networks
|
social.rpz.ipfire.org
|
Download
|
|
Streaming
|
streaming.rpz.ipfire.org
|
Download
|
|
Violence
|
violence.rpz.ipfire.org
|
Download
|
BIND
options {
response-policy {
zone "NAME.rpz.ipfire.org";
};
};
zone "NAME.rpz.ipfire.org" {
type secondary;
primaries { 81.3.27.55; };
file "NAME.rpz.ipfire.org.zone";
};
BIND needs the IP address of xfr.dbl.ipfire.org.
To transfer the zone over TLS, use these primaries instead:
tls ipfire-dbl {
remote-hostname "xfr.dbl.ipfire.org";
};
zone "NAME.rpz.ipfire.org" {
...
primaries { 81.3.27.55 port 853 tls ipfire-dbl; };
};
Unbound
server:
module-config: "respip validator iterator"
rpz:
name: NAME.rpz.ipfire.org
primary: xfr.dbl.ipfire.org
zonefile: /var/cache/unbound/NAME.rpz.ipfire.org.zone
To transfer the zone over TLS, use
primary: 81.3.27.55@853#xfr.dbl.ipfire.org.
PowerDNS Recursor
recursor:
rpzs:
- name: NAME.rpz.ipfire.org
addresses:
- 'xfr.dbl.ipfire.org'
Knot Resolver
Knot Resolver reads RPZ from a file and reloads it automatically
whenever it changes.
Download the zone regularly over HTTPS, for example using a timer:
policy.add(policy.rpz(policy.DENY,
'/var/lib/knot-resolver/NAME.rpz.ipfire.org.zone', true))
Allowing Domains
If a domain is blocked that you need, you can allow it locally
with a small zone of your own which is loaded before IPFire DBL.
Resolvers use the first policy zone that matches.
Please also report the domain
so that we can fix it for everyone.
$TTL 60
@ IN SOA localhost. root.localhost. 1 3600 600 86400 60
@ IN NS localhost.
example.com CNAME rpz-passthru.
*.example.com CNAME rpz-passthru.