This commit is contained in:
redouane.assani 2025-02-17 09:31:51 +01:00
parent fa8a72803b
commit cab03bf3d2
4 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,34 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA srv-service.monlabo.lan. root.srv-service.monlabo.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS srv-service.monlabo.lan.
@ IN NS srv-dns2.monlabo.lan.
@ IN A 127.0.0.1
srv-service.monlabo.lan. IN A 172.16.0.1
srv-dns2.monlabo.lan. IN A 172.16.0.2
srv-admin-ra.monlabo.lan. IN A 172.16.0.254
0.16.172.in-addr.arpa PTR srv-service.monlabo.lan.
srvdns cname srv-service.monlabo.lan.
srvdns1 cname srv-service.monlabo.lan.
dns cname srv-service.monlabo.lan.
dns1 cname srv-service.monlabo.lan.
srvdhcp cname srv-service.monlabo.lan.
dhcp cname srv-service.monlabo.lan.
srvadmin cname srv-admin-ra.monlabo.lan.
router cname srv-admin-ra.monlabo.lan.
gateway cname srv-admin-ra.monlabo.lan.
dns2 cname srv-dns2.monlabo.lan.
svrdns2 cname srv-dns2.monlabo.lan.

View File

@ -0,0 +1,20 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA srv-service.monlabo.lan. root.srv-service.monlabo.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS srv-service.monlabo.lan.
NS srv-dns2.monlabo.lan.
@ IN A 127.0.0.1
;
1 IN PTR srv-service.monlabo.lan.
2 IN PTR srv-dns2.monlabo.lan.
254 IN PTR srv-admin-ra.monlabo.lan.
;

View File

@ -0,0 +1,19 @@
//
// Do any local configuration here
//zone direct
zone "monlabo.lan" {
type master;
file "/etc/bind/db.monlabo.lan";
};
//zone inverse
zone "0.16.172.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.monlabo.lan.rev";
};
// 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 monlabo.lan
search monlabo.lan
nameserver 127.0.0.1
nameserver 10.121.38.8