crans_bcfg2/Python/etc/bind/named.conf.options
Nicolas Dandrimont 059911e730 [bind] Modification pour la connexion de secours
darcs-hash:20081027152224-ffbb2-b0ff462cd72be782358ab751eeb59819f0a4d17c.gz
2008-10-27 16:22:24 +01:00

38 lines
967 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.14; } ; #POUR SECOURS
@
@ allow-recursion {127.0.0.1; 10.231.136.0/24; 138.231.136.0/21; 138.231.144.0/21;};
@};