ajout des fichier du dns1
This commit is contained in:
parent
194c4fa293
commit
068f919671
22
sisr1/tp02-dns/dns1/db.sio-ra.lan
Normal file
22
sisr1/tp02-dns/dns1/db.sio-ra.lan
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
;
|
||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
;
|
||||||
|
@ IN NS dns1-ra.sio-ra.lan.
|
||||||
|
@ IN NS dns2-ra.sio-ra.lan.
|
||||||
|
dns1-ra.sio-ra.lan. IN A 192.168.0.121
|
||||||
|
dns2-ra.sio-ra.lan. IN A 192.168.0.122
|
||||||
|
@ IN A 127.0.0.1
|
||||||
|
0.168.192.in-addr.arpa IN PTR dns1-ra.sio.lan.
|
||||||
|
deb-dhcp-ra IN A 192.168.0.120
|
||||||
|
;@ IN AAAA ::1
|
||||||
|
dhcp cname deb-dhcp-ra
|
||||||
|
dns1 cname dns1-ra
|
||||||
|
dns2 cname dns2-ra
|
19
sisr1/tp02-dns/dns1/db.sio-ra.lan.rev
Normal file
19
sisr1/tp02-dns/dns1/db.sio-ra.lan.rev
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
;
|
||||||
|
@ IN NS dns1-ra.sio-ra.lan.
|
||||||
|
@ IN A 127.0.0.1
|
||||||
|
121 IN PTR dns1-ra.sio-ra.lan.
|
||||||
|
120 IN PTR deb-dhcp-ra.sio-ra.lan.
|
||||||
|
121 IN PTR dns2-ra.sio-ra.lan
|
||||||
|
;
|
||||||
|
dhcp cname deb-dhcp-ra
|
||||||
|
dns1 cname dns1-ra
|
||||||
|
dns2 cname dns2-ra
|
20
sisr1/tp02-dns/dns1/named.conf.local
Normal file
20
sisr1/tp02-dns/dns1/named.conf.local
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
// zone directe
|
||||||
|
zone "sio-ra.lan" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.sio-ra.lan";
|
||||||
|
};
|
||||||
|
|
||||||
|
// zone inverse
|
||||||
|
zone "0.168.192.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.sio-ra.lan.rev";
|
||||||
|
};
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
||||||
|
|
4
sisr1/tp02-dns/dns1/resolv.conf
Normal file
4
sisr1/tp02-dns/dns1/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