ajout fichier …

This commit is contained in:
KONE 2023-03-24 11:16:37 +01:00
parent 25367c2404
commit d1443e4d60
5 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,22 @@
$ORIGIN .
$TTL 38400 ; 10 hours 40 minutes
domaine.lan IN SOA serv1.domaine.lan. root.serv1.domaine.lan. (
2023030201 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS serv1.domaine.lan.
NS serv2.domaine.lan.
serv1.domaine.lan. A 192.168.0.161
serv2.domaine.lan. A 192.168.0.160
$ORIGIN domaine.lan.
poste1 A 192.168.0.100
poste2 A 192.168.0.101
www CNAME poste1.domaine.lan.

View File

@ -0,0 +1,14 @@
$TTL 38400 ; 10 hours 40 minutes
@ IN SOA serv1.domaine.lan. root.serv1.domaine.lan. (
2016091501 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
IN NS serv1.domaine.lan.
IN NS serv2.domaine.lan.
61 IN PTR serv1.sio.lan.
60 IN PTR serv2.sio.lan.
14 IN PTR wd.sio.lan.

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

View File

@ -0,0 +1,19 @@
//
// 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";
};

View File

@ -0,0 +1,4 @@
search domaine.lan
nameserver 10.121.38.7
nameserver 127.0.0.1 #on ressoud localement