diff --git a/Python/etc/bind/named.conf.local b/Python/etc/bind/named.conf.local index 7f9ea99..ab5110c 100644 --- a/Python/etc/bind/named.conf.local +++ b/Python/etc/bind/named.conf.local @@ -104,9 +104,8 @@ with view("default-view", "any") as v: z.p('file "/etc/bind/signed/db.tv.crans.org";') with zone("239.in-addr.arpa", "master") as z: - z.p('type master;') z.p('file "/etc/bind/generated/db.239.in-addr.arpa";') - + if has("dns-recursif") and not has("dns-secondary-no-forward"): with zone("239.in-addr.arpa", "slave") as z: z.p('file "/etc/bind/generated/db.239.in-addr.arpa";')