1er commite
This commit is contained in:
commit
c4a09f45cd
24
sio1/01-dns/db.domaine.lan
Normal file
24
sio1/01-dns/db.domaine.lan
Normal file
@ -0,0 +1,24 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
domaine.lan. IN SOA srv1.domaine.lan. root.srv1.domaine.lan. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
|
||||
NS srv1.domaine.lan.
|
||||
NS srv2.domaine.lan.
|
||||
|
||||
srv1.domaine.lan. A 192.168.0.30
|
||||
srv2.domaine.lan. A 192.168.0.26
|
||||
|
||||
$ORIGIN domaine.lan.
|
||||
xp-master A 192.168.0.31
|
||||
xp2 A 192.168.0.32
|
||||
xp3 A 192.168.0.33
|
||||
xp4 A 192.168.0.34
|
||||
|
||||
www CNAME srv1.domaine.lan.
|
20
sio1/01-dns/db.domaine.lan.rev
Normal file
20
sio1/01-dns/db.domaine.lan.rev
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA srv1.domaine.lan. root.srv1.domaine.lan.(
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
NS srv1.domaine.lan.
|
||||
NS srv2.domaine.lan.
|
||||
NS xp-master.domaine.lan.
|
||||
|
||||
30 IN PTR srv1.domaine.lan.
|
||||
31 IN PTR xp-master.domaine.lan.
|
||||
26 IN PTR srv2.domaine.lan.
|
||||
|
||||
|
11
sio1/01-dns/named.conf
Normal file
11
sio1/01-dns/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";
|
21
sio1/01-dns/named.conf.local
Normal file
21
sio1/01-dns/named.conf.local
Normal file
@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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