38 lines
966 B
Text
38 lines
966 B
Text
info["owner"] = "root"
|
|
info["group"] = "bind"
|
|
info["perms"] = 0644
|
|
|
|
@// Fichier gere par BCfg2 (Plugin Python)
|
|
@//
|
|
@// A ne modifier que sur vert
|
|
@
|
|
@options {
|
|
@ directory "/var/cache/bind";
|
|
@ recursive-clients 5000;
|
|
@
|
|
|
|
if has("dns-primary"):
|
|
@ include "/etc/bind/named.conf.notify";
|
|
|
|
@
|
|
@ allow-transfer {
|
|
@ 127.0.0.1;
|
|
@ 138.231.136.0/21; // fixes
|
|
@ 82.225.39.54; // freebox
|
|
@ 138.231.148.0/22; // wifi
|
|
@ 10.231.136.0/24; // adm
|
|
@ 138.231.176.4; // ariane
|
|
@ };
|
|
@ auth-nxdomain no; # conform to RFC1035
|
|
@
|
|
|
|
if not has("dns-secondary-no-forward"):
|
|
@ //ne pas modifier le commentaire de fin de ligne suivant
|
|
@ //traitement automatique pour la connexion de secours
|
|
@ //(ligne decommentee en mode secours)
|
|
@// forwarders { 138.231.136.9; } ; #POUR SECOURS
|
|
|
|
@
|
|
@ allow-recursion {127.0.0.1; 10.231.136.0/24; 138.231.136.0/21; 138.231.144.0/21;};
|
|
@};
|
|
|