[bind] On met les récursifs en slave sur le reverse de tv.crans.org parce que sinon on a un proof failed dnssec
Ignore-this: bd02c0cc20f580ac5a9bdc55e0eb70d9 darcs-hash:20130129225923-3a55a-32ba8bcf6cb03bef6dba9d693aa78edb817e6888.gz
This commit is contained in:
parent
9518a87bee
commit
67335a2014
4 changed files with 10 additions and 7 deletions
|
@ -46,9 +46,9 @@ if has("vlan-accueil"):
|
|||
@ type master;
|
||||
@ file "/etc/bind/db.fake";
|
||||
@ };
|
||||
@};
|
||||
@
|
||||
@ recursion no;
|
||||
@};
|
||||
|
||||
@view "others" {
|
||||
@ match-clients { any; };
|
||||
|
@ -91,9 +91,9 @@ elif has("dns-tv"):
|
|||
|
||||
elif has("dns-recursif"):
|
||||
@zone "239.in-addr.arpa" {
|
||||
@ type forward;
|
||||
@ forward only;
|
||||
print " forwarders { %s; };" % '; '.join([config.dns.master_tv, config.dns.master] + config.dns.slaves)
|
||||
@ type slave;
|
||||
@ file "/etc/bind/generated/db.239.in-addr.arpa";
|
||||
print" masters { %s; };" % config.dns.master_tv
|
||||
@};
|
||||
|
||||
reverse_crans()
|
||||
|
|
|
@ -17,6 +17,6 @@ def notify(ips):
|
|||
|
||||
|
||||
if has("dns-tv"):
|
||||
notify(config.dns.slaves_tv)
|
||||
notify(config.dns.slaves_tv + config.dns.recursiv)
|
||||
if has("dns-primary"):
|
||||
notify(config.dns.slaves + [config.dns.parent])
|
||||
notify(config.dns.slaves + [config.dns.parent])
|
||||
|
|
|
@ -53,7 +53,7 @@ if has("dns-primary") or has("dns-tv"):
|
|||
if has("dns-primary"):
|
||||
print " %s;" % ';\n '.join(config.dns.slaves + [config.dns.parent])
|
||||
if has("dns-tv"):
|
||||
print " %s;" % ';\n '.join(config.dns.slaves_tv)
|
||||
print " %s;" % ';\n '.join(config.dns.slaves_tv + config.dns.recursiv)
|
||||
@ };
|
||||
@ allow-query { any; };
|
||||
@ auth-nxdomain no; # conform to RFC1035
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue