fichier du dns2
This commit is contained in:
parent
a5d1b749e2
commit
194c4fa293
20
sisr1/tp02-dns/dns2/db.sio-ra.lan
Normal file
20
sisr1/tp02-dns/dns2/db.sio-ra.lan
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
$ORIGIN .
|
||||||
|
$TTL 604800 ; 1 week
|
||||||
|
sio-ra.lan IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
|
||||||
|
2 ; serial
|
||||||
|
604800 ; refresh (1 week)
|
||||||
|
86400 ; retry (1 day)
|
||||||
|
2419200 ; expire (4 weeks)
|
||||||
|
604800 ; minimum (1 week)
|
||||||
|
)
|
||||||
|
NS dns1-ra.sio-ra.lan.
|
||||||
|
NS dns2-ra.sio-ra.lan.
|
||||||
|
A 127.0.0.1
|
||||||
|
$ORIGIN sio-ra.lan.
|
||||||
|
0.168.192.in-addr.arpa PTR dns1-ra.sio.lan.
|
||||||
|
deb-dhcp-ra A 192.168.0.120
|
||||||
|
dhcp CNAME deb-dhcp-ra
|
||||||
|
dns1 CNAME dns1-ra
|
||||||
|
dns1-ra A 192.168.0.121
|
||||||
|
dns2 CNAME dns2-ra
|
||||||
|
dns2-ra A 192.168.0.122
|
BIN
sisr1/tp02-dns/dns2/db.sio-ra.lan.rev
Normal file
BIN
sisr1/tp02-dns/dns2/db.sio-ra.lan.rev
Normal file
Binary file not shown.
11
sisr1/tp02-dns/dns2/named.conf
Normal file
11
sisr1/tp02-dns/dns2/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 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";
|
23
sisr1/tp02-dns/dns2/named.conf.local
Normal file
23
sisr1/tp02-dns/dns2/named.conf.local
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
// zone directe
|
||||||
|
zone "sio-ra.lan" {
|
||||||
|
type slave;
|
||||||
|
file "/etc/bind/db.sio-ra.lan";
|
||||||
|
masters { 192.168.0.121; };
|
||||||
|
masterfile-format text;
|
||||||
|
};
|
||||||
|
|
||||||
|
// zone inverse
|
||||||
|
zone "0.168.192.in-addr.arpa" {
|
||||||
|
type slave;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.sio-ra.lan.rev";
|
||||||
|
masters { 192.168.0.121; };
|
||||||
|
};
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
||||||
|
|
4
sisr1/tp02-dns/dns2/resolv.conf
Normal file
4
sisr1/tp02-dns/dns2/resolv.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
domain sio-ra.lan
|
||||||
|
search sio-ra.lan
|
||||||
|
nameserver 127.0.0.1
|
||||||
|
nameserver 10.121.38.8
|
Loading…
x
Reference in New Issue
Block a user