forked from FF-RGB/ansible
IPv4 Reverse Delegation added
This commit is contained in:
parent
4cd37e4c4c
commit
7932b33041
@ -16,6 +16,7 @@
|
|||||||
notify: Restart powerdns
|
notify: Restart powerdns
|
||||||
with_items:
|
with_items:
|
||||||
- bind/ffrgb.zone
|
- bind/ffrgb.zone
|
||||||
|
- bind/90.10.in-addr.arpa.zone
|
||||||
- bindbackend.conf
|
- bindbackend.conf
|
||||||
- pdns.conf
|
- pdns.conf
|
||||||
- recursor.conf
|
- recursor.conf
|
||||||
|
14
roles/dns/templates/bind/90.10.in-addr.arpa.zone.j2
Normal file
14
roles/dns/templates/bind/90.10.in-addr.arpa.zone.j2
Normal 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.
|
@ -3,3 +3,8 @@ zone "ffrgb" {
|
|||||||
file "/etc/powerdns/bind/ffrgb.zone";
|
file "/etc/powerdns/bind/ffrgb.zone";
|
||||||
allow-update { none; };
|
allow-update { none; };
|
||||||
};
|
};
|
||||||
|
zone "90.10.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
file "/etc/powerdns/bind/90.10.in-addr.arpa.zone";
|
||||||
|
allow-update { none; };
|
||||||
|
};
|
||||||
|
@ -20,7 +20,7 @@ dnssec=off
|
|||||||
# forward-zones Zones for which we forward queries, comma separated domain=ip pairs
|
# forward-zones Zones for which we forward queries, comma separated domain=ip pairs
|
||||||
#
|
#
|
||||||
# forward-zones=
|
# 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.
|
# local-address IP addresses to listen on, separated by spaces or commas. Also accepts ports.
|
||||||
|
Loading…
Reference in New Issue
Block a user