Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a9c538bff | ||
|
|
e264b4cd7b |
11
02-tpdns/srv1maitre/named.conf
Normal file
11
02-tpdns/srv1maitre/named.conf
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// This is the primary configuration file for the BIND DNS server named.
|
||||||
|
//
|
||||||
|
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
|
||||||
|
// structure of BIND configuration files in Debian, *BEFORE* you customize
|
||||||
|
// this configuration file.
|
||||||
|
//
|
||||||
|
// If you are just adding zones, please do that in /etc/bind/named.conf.local
|
||||||
|
|
||||||
|
include "/etc/bind/named.conf.options";
|
||||||
|
include "/etc/bind/named.conf.local";
|
||||||
|
include "/etc/bind/named.conf.default-zones";
|
||||||
20
02-tpdns/srv1maitre/named.conf.local
Normal file
20
02-tpdns/srv1maitre/named.conf.local
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
//
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
//zone directe
|
||||||
|
|
||||||
|
zone "domaine.lan" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.domaine.lan";
|
||||||
|
};
|
||||||
|
|
||||||
|
//zone inverse
|
||||||
|
zone "1.168.192.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.domaine.lan.rev";
|
||||||
|
};
|
||||||
3
02-tpdns/srv1maitre/resolv.conf
Normal file
3
02-tpdns/srv1maitre/resolv.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
domain domaine.lan
|
||||||
|
search domaine.lan
|
||||||
|
nameserver 127.0.0.1
|
||||||
23
02-tpdns/srv2esclave/named.conf.local
Normal file
23
02-tpdns/srv2esclave/named.conf.local
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
//
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
||||||
|
zone "domaine.lan" {
|
||||||
|
type slave;
|
||||||
|
file "/etc/bind/db.domaine.lan";
|
||||||
|
masters {192.168.0.20; };
|
||||||
|
masterfile-format text;
|
||||||
|
};
|
||||||
|
|
||||||
|
//zone inverse
|
||||||
|
zone "1.168.192.in-addr.arpa" {
|
||||||
|
type slave;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.domaine.lan.rev";
|
||||||
|
masters {192.168.0.20; };
|
||||||
|
|
||||||
|
};
|
||||||
4
02-tpdns/srv2esclave/resolv.conf
Normal file
4
02-tpdns/srv2esclave/resolv.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
domain sio.lan
|
||||||
|
search sio.lan
|
||||||
|
nameserver 192.168.0.1
|
||||||
|
nameserver 10.121.38.7
|
||||||
Reference in New Issue
Block a user