Compare commits
2 Commits
647e9c5555
...
116065a9bd
Author | SHA1 | Date | |
---|---|---|---|
116065a9bd | |||
802428a5f9 |
20
sisr1/tp02-dns/dns1/db.sio-ab.lan
Normal file
20
sisr1/tp02-dns/dns1/db.sio-ab.lan
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
;
|
||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA dns1-ab.sio-ab.lan. root.dns1-ab.sio-ab.lan. (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
NS dns1-ab.sio-ab.lan.
|
||||||
|
NS dns2-ab.sio-ab.lan.
|
||||||
|
A 192.168.0.162
|
||||||
|
dns1-ab.sio-ab.lan. A 192.168.0.161
|
||||||
|
;
|
||||||
|
@ IN NS localhost.
|
||||||
|
@ IN A 127.0.0.1
|
||||||
|
@ IN A 192.168.0.160
|
||||||
|
@ IN AAAA ::1
|
||||||
|
;
|
16
sisr1/tp02-dns/dns1/db.sio-ab.lan.rev
Normal file
16
sisr1/tp02-dns/dns1/db.sio-ab.lan.rev
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
;
|
||||||
|
; BIND data file for local loopback interface
|
||||||
|
;
|
||||||
|
$TTL 604800
|
||||||
|
@ IN SOA dns1-ab.sio-ab.lan. root (
|
||||||
|
2 ; Serial
|
||||||
|
604800 ; Refresh
|
||||||
|
86400 ; Retry
|
||||||
|
2419200 ; Expire
|
||||||
|
604800 ) ; Negative Cache TTL
|
||||||
|
;
|
||||||
|
IN NS dns1-ab.sio.lan.
|
||||||
|
IN NS dns2-ab.sio.lan.
|
||||||
|
160 IN PTR deb-dhcp-ab.sio-ab.lan.
|
||||||
|
161 IN PTR dns1-ab.sio-ab.lan.
|
||||||
|
162 IN PTR dns2-ab.sio-ab.lan.
|
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
|
||||||
|
//
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
||||||
|
// zone directe
|
||||||
|
zone "sio-ab.lan" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.sio-ab.lan";
|
||||||
|
};
|
||||||
|
|
||||||
|
// zone inverse
|
||||||
|
zone "0.168.192.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.sio-ab.lan.rev";
|
||||||
|
};
|
4
sisr1/tp02-dns/dns1/resolv.conf
Normal file
4
sisr1/tp02-dns/dns1/resolv.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
domain sio-ab.lan
|
||||||
|
search sio-ab.lan
|
||||||
|
nameserver 192.168.0.161
|
||||||
|
nameserver 10.121.38.7
|
Loading…
x
Reference in New Issue
Block a user