renommé : sisr1/tp01-02/srv-dhcp/dhcpd.conf -> sio1/tp01-02/srv-dhcp/dhcpd.conf
renommé : sisr1/tp01-02/srv-dhcp/interfaces -> sio1/tp01-02/srv-dhcp/interfaces renommé : sisr1/tp01-02/srv-dhcp/isc-dhcp-server -> sio1/tp01-02/srv-dhcp/isc-dhcp-server renommé : sisr1/tp01-02/srv-dhcp/nat.sh -> sio1/tp01-02/srv-dhcp/nat.sh renommé : sisr1/tp01-02/srv-dns1/db.sio1lab.lan -> sio1/tp01-02/srv-dns1/db.sio1lab.lan renommé : sisr1/tp01-02/srv-dns1/db.sio1lab.lan.rev -> sio1/tp01-02/srv-dns1/db.sio1lab.lan.rev renommé : sisr1/tp01-02/srv-dns1/named.conf -> sio1/tp01-02/srv-dns1/named.conf renommé : sisr1/tp01-02/srv-dns1/named.conf.local -> sio1/tp01-02/srv-dns1/named.conf.local renommé : sisr1/tp01-02/srv-dns1/named.conf.options -> sio1/tp01-02/srv-dns1/named.conf.options renommé : sisr1/tp01-02/srv-dns1/resolv.conf -> sio1/tp01-02/srv-dns1/resolv.conf renommé : sisr1/tp01-02/srv-dns2/named.conf.local -> sio1/tp01-02/srv-dns2/named.conf.local renommé : sisr1/tp01-02/srv-dns2/resolv.conf -> sio1/tp01-02/srv-dns2/resolv.conf renommé : sisr1/tp01-02/srv-dns2/usr.sbin.named -> sio1/tp01-02/srv-dns2/usr.sbin.named renommé : sisr1/tp6/squid.conf -> sio1/tp6/squid.conf
This commit is contained in:
24
sio1/tp01-02/srv-dns1/db.sio1lab.lan
Normal file
24
sio1/tp01-02/srv-dns1/db.sio1lab.lan
Normal file
@@ -0,0 +1,24 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA deb-dns1-rr.sio1lab.lan. root.sio1lab.lan. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS deb-dns1-rr.sio1lab.lan.
|
||||
IN NS deb-dns2-rr.sio1lab.lan.
|
||||
|
||||
@ IN A 127.0.0.1
|
||||
@ IN AAAA ::1
|
||||
deb-dns1-rr IN A 192.168.0.121
|
||||
deb-dhcp-rr IN A 192.168.0.120
|
||||
deb-dns2-rr IN A 192.168.0.122
|
||||
|
||||
dhcp IN CNAME deb-dhcp-rr
|
||||
dns1 IN CNAME deb-dns1-rr
|
||||
dns2 IN CNAME deb-dns2-rr
|
||||
|
18
sio1/tp01-02/srv-dns1/db.sio1lab.lan.rev
Normal file
18
sio1/tp01-02/srv-dns1/db.sio1lab.lan.rev
Normal file
@@ -0,0 +1,18 @@
|
||||
;
|
||||
; BIND data file for local loopback interface
|
||||
;
|
||||
$TTL 604800
|
||||
@ IN SOA deb-dns1-rr.sio1lab.lan. root.sio1lab.lan. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ) ; Negative Cache TTL
|
||||
;
|
||||
@ IN NS deb-dns1-rr.sio1lab.lan.
|
||||
|
||||
@ IN A 127.0.0.1
|
||||
@ IN AAAA ::1
|
||||
121 IN PTR deb-dns1-rr.sio1lab.lan
|
||||
120 IN PTR deb-dhcp-rr
|
||||
|
11
sio1/tp01-02/srv-dns1/named.conf
Normal file
11
sio1/tp01-02/srv-dns1/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 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";
|
16
sio1/tp01-02/srv-dns1/named.conf.local
Normal file
16
sio1/tp01-02/srv-dns1/named.conf.local
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
|
||||
// zone directe
|
||||
zone "sio1lab.lan" {
|
||||
type master;
|
||||
file "/etc/bind/db.sio1lab.lan";
|
||||
};
|
||||
|
||||
// zone inverse
|
||||
zone "0.168.192.in-addr.arpa" {
|
||||
type master;
|
||||
notify no;
|
||||
file "/etc/bind/db.sio1lab.lan.rev";
|
||||
};
|
25
sio1/tp01-02/srv-dns1/named.conf.options
Normal file
25
sio1/tp01-02/srv-dns1/named.conf.options
Normal file
@@ -0,0 +1,25 @@
|
||||
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;
|
||||
10.121.38.8;
|
||||
};
|
||||
|
||||
//========================================================================
|
||||
// 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; };
|
||||
};
|
3
sio1/tp01-02/srv-dns1/resolv.conf
Normal file
3
sio1/tp01-02/srv-dns1/resolv.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
domain sio1lab.lan
|
||||
search sio1lab.lan
|
||||
nameserver 127.0.0.1
|
Reference in New Issue
Block a user