Fix the pdns.conf template so that we do not open the zone transfers to the world.
This commit is contained in:
parent
66f2565c51
commit
34be54b669
|
@ -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
|
# allow-notify-from=0.0.0.0/0,::/0
|
||||||
{% if pdns_allow_notify_from is defined %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
Loading…
Reference in New Issue