From 34be54b669fdcaa20e5c75add37f4543737a87e7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 16 May 2018 18:28:39 +0200 Subject: [PATCH] Fix the pdns.conf template so that we do not open the zone transfers to the world. --- powerdns-authoritative/templates/pdns.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdns-authoritative/templates/pdns.conf b/powerdns-authoritative/templates/pdns.conf index 73172ad8..05ee0b29 100644 --- a/powerdns-authoritative/templates/pdns.conf +++ b/powerdns-authoritative/templates/pdns.conf @@ -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 %} #################################