This commit is contained in:
Kyllian 2021-05-28 09:47:15 +02:00
parent 135e3cf8de
commit b1a9dd9981
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,19 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
domaine.lan. IN SOA srv1.domaine.lan. root.srv1.domaine.lan. (
2021022600 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
NS srv1.domaine.lan.
$ORIGIN domaine.lan.
srv1 A 192.168.0.71
srv2 A 192.168.0.73
xp1 A 192.168.0.72
www CNAME srv2

View File

@ -0,0 +1,19 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA srv1.domaine.lan. root.srv1.domaine.lan. (
2021022600 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS srv1.domaine.lan.
IN NS srv2.domaine.lan.
71 IN PTR srv1.domaine.lan.
72 IN PTR xp1.domaine.lan.
73 IN PTR srv2.domaine.lan.

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