fichier du dns2

This commit is contained in:
root 2025-02-03 10:51:53 +01:00
parent a5d1b749e2
commit 194c4fa293
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,20 @@
$ORIGIN .
$TTL 604800 ; 1 week
sio-ra.lan IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
2 ; serial
604800 ; refresh (1 week)
86400 ; retry (1 day)
2419200 ; expire (4 weeks)
604800 ; minimum (1 week)
)
NS dns1-ra.sio-ra.lan.
NS dns2-ra.sio-ra.lan.
A 127.0.0.1
$ORIGIN sio-ra.lan.
0.168.192.in-addr.arpa PTR dns1-ra.sio.lan.
deb-dhcp-ra A 192.168.0.120
dhcp CNAME deb-dhcp-ra
dns1 CNAME dns1-ra
dns1-ra A 192.168.0.121
dns2 CNAME dns2-ra
dns2-ra A 192.168.0.122

Binary file not shown.

View 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";

View File

@ -0,0 +1,23 @@
//
// Do any local configuration here
// zone directe
zone "sio-ra.lan" {
type slave;
file "/etc/bind/db.sio-ra.lan";
masters { 192.168.0.121; };
masterfile-format text;
};
// zone inverse
zone "0.168.192.in-addr.arpa" {
type slave;
notify no;
file "/etc/bind/db.sio-ra.lan.rev";
masters { 192.168.0.121; };
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

View File

@ -0,0 +1,4 @@
domain sio-ra.lan
search sio-ra.lan
nameserver 127.0.0.1
nameserver 10.121.38.8