Import des fichiers de configuration de bind
darcs-hash:20080209002334-ffbb2-8c8c92b6a327767ae6794104f26e198ff3760ed8.gz
This commit is contained in:
parent
c3e91c27c9
commit
04c9d242bb
7 changed files with 111 additions and 0 deletions
3
Cfg/etc/bind/generated/zones_crans/info.xml
Normal file
3
Cfg/etc/bind/generated/zones_crans/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='bind' perms='0644'/>
|
||||
</FileInfo>
|
3
Cfg/etc/bind/named.conf.local/info.xml
Normal file
3
Cfg/etc/bind/named.conf.local/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='bind' perms='0644'/>
|
||||
</FileInfo>
|
36
Cfg/etc/bind/named.conf.local/named.conf.local
Normal file
36
Cfg/etc/bind/named.conf.local/named.conf.local
Normal file
|
@ -0,0 +1,36 @@
|
|||
// Fichier gere par BCfg2 (plugin Cfg)
|
||||
//
|
||||
// A ne modifier que sur vert
|
||||
|
||||
include "/etc/bind/zones.rfc1918";
|
||||
|
||||
// zones crans
|
||||
include "/etc/bind/generated/zones_crans";
|
||||
|
||||
// anti SPAM
|
||||
// Rajout pour générer le forward vers ariane pour la zone rbl-plus.mail-abuse.org --Nico 21/04/02
|
||||
zone "rbl-plus.mail-abuse.org" {
|
||||
type forward;
|
||||
forward only;
|
||||
forwarders { 138.231.176.4 ; };
|
||||
};
|
||||
|
||||
// la télé
|
||||
zone "tv.crans.org" {
|
||||
type slave;
|
||||
file "/etc/bind/generated/db.tv.crans.org";
|
||||
masters { 138.231.136.193; };
|
||||
};
|
||||
|
||||
zone "239.in-addr.arpa" {
|
||||
type slave;
|
||||
file "/etc/bind/generated/db.239.in-addr.arpa";
|
||||
masters { 138.231.136.193; };
|
||||
};
|
||||
|
||||
// bricoles de config en plus
|
||||
include "/etc/bind/rndc.key";
|
||||
|
||||
controls {
|
||||
inet 127.0.0.1 allow { 127.0.0.1; } keys { "key"; };
|
||||
};
|
3
Cfg/etc/bind/named.conf.notify/info.xml
Normal file
3
Cfg/etc/bind/named.conf.notify/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='bind' perms='0644'/>
|
||||
</FileInfo>
|
11
Cfg/etc/bind/named.conf.notify/named.conf.notify
Normal file
11
Cfg/etc/bind/named.conf.notify/named.conf.notify
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Fichier gere par BCfg2 (Plugin Cfg)
|
||||
//
|
||||
// A ne modifier que sur vert
|
||||
|
||||
also-notify {
|
||||
10.231.136.9; // ultra-adsl
|
||||
10.231.136.11; // ragnarok
|
||||
10.231.136.2; // vert
|
||||
10.231.136.10; // sila
|
||||
10.231.136.8; // ovh
|
||||
};
|
39
Python/etc/bind/named.conf.options
Normal file
39
Python/etc/bind/named.conf.options
Normal file
|
@ -0,0 +1,39 @@
|
|||
info = {"owner":"root",
|
||||
"group":"bind",
|
||||
"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 décommentée 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;};
|
||||
@};
|
||||
|
16
Python/etc/bind/rndc.key
Normal file
16
Python/etc/bind/rndc.key
Normal file
|
@ -0,0 +1,16 @@
|
|||
import("secrets")
|
||||
|
||||
info = {"owner": "root",
|
||||
"group": "bind",
|
||||
"perms": 0640,
|
||||
}
|
||||
|
||||
@// Fichier gere par BCfg2 (plugin Python)
|
||||
@//
|
||||
@// A ne modifier que sur vert
|
||||
@
|
||||
@key "key" {
|
||||
@ algorithm hmac-md5;
|
||||
print ' secret "%s";' % secrets.rndc_key
|
||||
@};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue