IPv4 Reverse Delegation added

This commit is contained in:
Bastian Mäuser 2018-01-24 01:28:12 +01:00
parent 4cd37e4c4c
commit 7932b33041
4 changed files with 21 additions and 1 deletions

View File

@ -16,6 +16,7 @@
notify: Restart powerdns
with_items:
- bind/ffrgb.zone
- bind/90.10.in-addr.arpa.zone
- bindbackend.conf
- pdns.conf
- recursor.conf

View File

@ -0,0 +1,14 @@
$ORIGIN 90.10.in-addr.arpa ; base for unqualified names
$TTL 1h ; default time-to-live
@ IN SOA ns.ffrgb. hostmaster.ffrgb. (
2018011701; serial
1d; refresh
2h; retry
4w; expire
1h; minimum time-to-live
)
IN NS ns.ffrgb.
; Gateways
11.32 IN PTR gw11.ffrgb.
21.64 IN PTR gw21.ffrgb.
31.96 IN PTR gw31.ffrgb.

View File

@ -3,3 +3,8 @@ zone "ffrgb" {
file "/etc/powerdns/bind/ffrgb.zone";
allow-update { none; };
};
zone "90.10.in-addr.arpa" {
type master;
file "/etc/powerdns/bind/90.10.in-addr.arpa.zone";
allow-update { none; };
};

View File

@ -20,7 +20,7 @@ dnssec=off
# forward-zones Zones for which we forward queries, comma separated domain=ip pairs
#
# forward-zones=
forward-zones=ffrgb=127.0.0.1:5300
forward-zones=ffrgb=127.0.0.1:5300,90.10.in-addr.arpa=127.0.0.1:5300
#################################
# local-address IP addresses to listen on, separated by spaces or commas. Also accepts ports.