dns
This commit is contained in:
parent
135e3cf8de
commit
b1a9dd9981
19
sio1/02-tpdns/db.domaine.lan
Normal file
19
sio1/02-tpdns/db.domaine.lan
Normal file
@ -0,0 +1,19 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
domaine.lan. IN SOA srv1.domaine.lan. root.srv1.domaine.lan. (
|
||||
2021022600 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
NS srv1.domaine.lan.
|
||||
$ORIGIN domaine.lan.
|
||||
srv1 A 192.168.0.71
|
||||
srv2 A 192.168.0.73
|
||||
|
||||
xp1 A 192.168.0.72
|
||||
www CNAME srv2
|
||||
|
19
sio1/02-tpdns/db.domaine.lan.rev
Normal file
19
sio1/02-tpdns/db.domaine.lan.rev
Normal file
@ -0,0 +1,19 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA srv1.domaine.lan. root.srv1.domaine.lan. (
|
||||
2021022600 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
IN NS srv1.domaine.lan.
|
||||
IN NS srv2.domaine.lan.
|
||||
|
||||
|
||||
71 IN PTR srv1.domaine.lan.
|
||||
72 IN PTR xp1.domaine.lan.
|
||||
73 IN PTR srv2.domaine.lan.
|
||||
|
20
sio1/02-tpdns/named.conf.local
Normal file
20
sio1/02-tpdns/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 "0.168.192.in-addr.arpa" {
|
||||
type master;
|
||||
notify no;
|
||||
file "/etc/bind/db.domaine.lan.rev";
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user