ajout des fichiers dns1
This commit is contained in:
parent
38b15a4085
commit
92ed15220f
24
sisr1/tp02-dns/dns1/db.sio-jt.lan
Normal file
24
sisr1/tp02-dns/dns1/db.sio-jt.lan
Normal file
@ -0,0 +1,24 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA dns1-jt.sio-jt.lan. root.dns1.sio-jt.lan. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
NS dns1-jt.sio-jt.lan.
|
||||
NS dns2-jt.sio-jt.lan.
|
||||
dns1-jt.sio-jt.lan. A 192.168.0.141
|
||||
dns2-jt.sio-jt.lan. A 192.168.0.142
|
||||
|
||||
@ IN NS localhost.
|
||||
;@ IN A 127.0.0.1
|
||||
|
||||
deb-dhcp-jt IN A 192.168.0.140
|
||||
|
||||
;@ IN AAAA ::1
|
||||
|
||||
dhcp CNAME deb-dhcp-jt.sio-jt.lan.
|
||||
dns CNAME dns1.sio-jt.lan.
|
18
sisr1/tp02-dns/dns1/db.sio-jt.lan.rev
Normal file
18
sisr1/tp02-dns/dns1/db.sio-jt.lan.rev
Normal file
@ -0,0 +1,18 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA dns1-jt.sio-jt.lan. root.dns1-jt.sio-jt.lan. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
IN NS dns1-jt.sio-jt.lan.
|
||||
IN NS dns2-jt.sio-jt.lan.
|
||||
|
||||
140 IN PTR deb-dhcp-jt.sio-jt.lan.
|
||||
141 IN PTR dns1-jt.sio-jt.lan.
|
||||
142 IN PTR dns2-jt.sio-jt.lan.
|
||||
|
24
sisr1/tp02-dns/dns1/named.conf.options
Normal file
24
sisr1/tp02-dns/dns1/named.conf.options
Normal file
@ -0,0 +1,24 @@
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
|
||||
// If there is a firewall between you and nameservers you want
|
||||
// to talk to, you may need to fix the firewall to allow multiple
|
||||
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
||||
|
||||
// If your ISP provided one or more IP addresses for stable
|
||||
// nameservers, you probably want to use them as forwarders.
|
||||
// Uncomment the following block, and insert the addresses replacing
|
||||
// the all-0's placeholder.
|
||||
|
||||
forwarders {
|
||||
10.121.38.7; //ici forwarder 1
|
||||
};
|
||||
|
||||
//========================================================================
|
||||
// If BIND logs error messages about the root key being expired,
|
||||
// you will need to update your keys. See https://www.isc.org/bind-keys
|
||||
//========================================================================
|
||||
dnssec-validation no;
|
||||
|
||||
listen-on-v6 { any; };
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user