dns
This commit is contained in:
parent
fa8a72803b
commit
cab03bf3d2
34
sisr1/tp03-reseau-prive/srv-service/dns/db.monlabo.lan
Normal file
34
sisr1/tp03-reseau-prive/srv-service/dns/db.monlabo.lan
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
;
|
||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA srv-service.monlabo.lan. root.srv-service.monlabo.lan. (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
;
|
||||||
|
@ IN NS srv-service.monlabo.lan.
|
||||||
|
@ IN NS srv-dns2.monlabo.lan.
|
||||||
|
@ IN A 127.0.0.1
|
||||||
|
|
||||||
|
srv-service.monlabo.lan. IN A 172.16.0.1
|
||||||
|
srv-dns2.monlabo.lan. IN A 172.16.0.2
|
||||||
|
srv-admin-ra.monlabo.lan. IN A 172.16.0.254
|
||||||
|
|
||||||
|
0.16.172.in-addr.arpa PTR srv-service.monlabo.lan.
|
||||||
|
|
||||||
|
srvdns cname srv-service.monlabo.lan.
|
||||||
|
srvdns1 cname srv-service.monlabo.lan.
|
||||||
|
dns cname srv-service.monlabo.lan.
|
||||||
|
dns1 cname srv-service.monlabo.lan.
|
||||||
|
srvdhcp cname srv-service.monlabo.lan.
|
||||||
|
dhcp cname srv-service.monlabo.lan.
|
||||||
|
|
||||||
|
srvadmin cname srv-admin-ra.monlabo.lan.
|
||||||
|
router cname srv-admin-ra.monlabo.lan.
|
||||||
|
gateway cname srv-admin-ra.monlabo.lan.
|
||||||
|
|
||||||
|
dns2 cname srv-dns2.monlabo.lan.
|
||||||
|
svrdns2 cname srv-dns2.monlabo.lan.
|
20
sisr1/tp03-reseau-prive/srv-service/dns/db.monlabo.lan.rev
Normal file
20
sisr1/tp03-reseau-prive/srv-service/dns/db.monlabo.lan.rev
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
;
|
||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA srv-service.monlabo.lan. root.srv-service.monlabo.lan. (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
;
|
||||||
|
@ IN NS srv-service.monlabo.lan.
|
||||||
|
NS srv-dns2.monlabo.lan.
|
||||||
|
@ IN A 127.0.0.1
|
||||||
|
|
||||||
|
;
|
||||||
|
1 IN PTR srv-service.monlabo.lan.
|
||||||
|
2 IN PTR srv-dns2.monlabo.lan.
|
||||||
|
254 IN PTR srv-admin-ra.monlabo.lan.
|
||||||
|
;
|
19
sisr1/tp03-reseau-prive/srv-service/dns/named.conf.local
Normal file
19
sisr1/tp03-reseau-prive/srv-service/dns/named.conf.local
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
//zone direct
|
||||||
|
zone "monlabo.lan" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.monlabo.lan";
|
||||||
|
};
|
||||||
|
|
||||||
|
//zone inverse
|
||||||
|
zone "0.16.172.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.monlabo.lan.rev";
|
||||||
|
};
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
4
sisr1/tp03-reseau-prive/srv-service/dns/resolv.conf
Normal file
4
sisr1/tp03-reseau-prive/srv-service/dns/resolv.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
domain monlabo.lan
|
||||||
|
search monlabo.lan
|
||||||
|
nameserver 127.0.0.1
|
||||||
|
nameserver 10.121.38.8
|
Loading…
x
Reference in New Issue
Block a user