[pdns] Allow AXFR to dns.fedcom.net
This commit is contained in:
parent
b968aaff53
commit
885afc244b
@ -57,7 +57,9 @@ PDNS_webserver_password=$PDNS_WEBSERVER_PASSWORD
|
|||||||
PDNS_version_string=anonymous
|
PDNS_version_string=anonymous
|
||||||
PDNS_default_ttl=1500
|
PDNS_default_ttl=1500
|
||||||
PDNS_allow_notify_from=0.0.0.0
|
PDNS_allow_notify_from=0.0.0.0
|
||||||
PDNS_allow_axfr_ips=127.0.0.1
|
PDNS_allow_axfr_ips=5.161.216.170/32
|
||||||
|
PDNS_also_notify=5.161.216.170
|
||||||
|
PDNS_disable_axfr=no
|
||||||
PDNS_default_soa_content=ns1.@ hostmaster.@ 0 10800 3600 604800 3600
|
PDNS_default_soa_content=ns1.@ hostmaster.@ 0 10800 3600 604800 3600
|
||||||
PDNS_allow_dnsupdate_from=127.0.0.0/8,::1,192.168.0.0/16
|
PDNS_allow_dnsupdate_from=127.0.0.0/8,::1,192.168.0.0/16
|
||||||
PDNS_dnsupdate=yes
|
PDNS_dnsupdate=yes
|
||||||
@ -90,6 +92,9 @@ curl -X PATCH --data '{"rrsets": [ {"name": "*.$DOMAIN.", "type": "CNAME", "ttl"
|
|||||||
pdnsutil add-record $DOMAIN @ NS ns1.$DOMAIN
|
pdnsutil add-record $DOMAIN @ NS ns1.$DOMAIN
|
||||||
pdnsutil add-record $DOMAIN @ NS ns2.$DOMAIN
|
pdnsutil add-record $DOMAIN @ NS ns2.$DOMAIN
|
||||||
pdnsutil add-record $DOMAIN @ A 86400 $EXTERNALIP
|
pdnsutil add-record $DOMAIN @ A 86400 $EXTERNALIP
|
||||||
|
|
||||||
|
pdnsutil import-tsig-key fedcomdns hmac-sha512 2BJrbNNmy5Hl+uFO1QcvQBpXx+Kbv9IdbyrHpwK7lYWDKmgTOmJu7eR0srfRNSVpTOnK6bQWOm4BxkrrQxd6Gw==
|
||||||
|
pdnsutil activate-tsig-key $DOMAIN fedcomdns primary
|
||||||
EOF
|
EOF
|
||||||
chmod +x /federated/apps/pdns/data/root/createrecords.sh
|
chmod +x /federated/apps/pdns/data/root/createrecords.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user