[bind] Il faut autorisé les recursif à transferer le reverse de la tv
This commit is contained in:
parent
a022e56833
commit
5799b43729
2 changed files with 9 additions and 4 deletions
|
@ -81,7 +81,7 @@ if has("dns-recursif") and not has("dns-secondary-no-forward"):
|
|||
|
||||
elif has("dns-forward-only"):
|
||||
@forward only;
|
||||
print "forwarders { %s; };" % '; '.join(config.dns.recursiv)
|
||||
print "forwarders { %s; };" % '; '.join(config.dns.recursiv_adm)
|
||||
|
||||
@// anti SPAM
|
||||
@// Rajout pour generer le forward vers ariane pour la zone rbl-plus.mail-abuse.org --Nico 21/04/02
|
||||
|
|
|
@ -53,10 +53,15 @@ if has("dns-primary") or has("dns-tv"):
|
|||
@ 138.231.136.0/21; // fixes
|
||||
@ 138.231.148.0/22; // wifi
|
||||
@ 10.231.136.0/24; // adm
|
||||
allowed = set()
|
||||
if has("dns-primary"):
|
||||
print " %s;" % ';\n '.join(config.dns.slaves + config.dns.parents)
|
||||
elif has("dns-tv"):
|
||||
print " %s;" % ';\n '.join(config.dns.slaves_tv + config.dns.recursiv)
|
||||
allowed = allowed.union(config.dns.slaves + config.dns.parents)
|
||||
if has("dns-tv"):
|
||||
allowed = allowed.union(config.dns.slaves_tv + config.dns.recursiv_adm)
|
||||
if allowed:
|
||||
allowed = list(allowed)
|
||||
allowed.sort()
|
||||
print " %s;" % ';\n '.join(allowed)
|
||||
@ };
|
||||
@ allow-query { any; };
|
||||
@ auth-nxdomain no; # conform to RFC1035
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue