Fix the pdns.conf template so that we do not open the zone transfers to the world.

This commit is contained in:
Andrea Dell'Amico 2018-05-16 18:28:39 +02:00
parent 66f2565c51
commit 34be54b669
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ allow-dnsupdate-from=127.0.0.0/8,::1,{%for ip in pdns_allow_dnsupdate_from %}{{
#
# allow-notify-from=0.0.0.0/0,::/0
{% if pdns_allow_notify_from is defined %}
allow-notify-from=0.0.0.0/0,::/0,{%for ip in pdns_allow_notify_from %}{{ ip }}{%if not loop.last %},{% endif %}{% endfor %}
allow-notify-from={%for ip in pdns_allow_notify_from %}{{ ip }}{%if not loop.last %},{% endif %}{% endfor %}
{% endif %}
#################################