ajout des fichier du dns1

This commit is contained in:
root 2025-02-03 10:58:46 +01:00
parent 194c4fa293
commit 068f919671
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,22 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns1-ra.sio-ra.lan.
@ IN NS dns2-ra.sio-ra.lan.
dns1-ra.sio-ra.lan. IN A 192.168.0.121
dns2-ra.sio-ra.lan. IN A 192.168.0.122
@ IN A 127.0.0.1
0.168.192.in-addr.arpa IN PTR dns1-ra.sio.lan.
deb-dhcp-ra IN A 192.168.0.120
;@ IN AAAA ::1
dhcp cname deb-dhcp-ra
dns1 cname dns1-ra
dns2 cname dns2-ra

View File

@ -0,0 +1,19 @@
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-ra.sio-ra.lan. root.dns1-ra.sio-ra.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns1-ra.sio-ra.lan.
@ IN A 127.0.0.1
121 IN PTR dns1-ra.sio-ra.lan.
120 IN PTR deb-dhcp-ra.sio-ra.lan.
121 IN PTR dns2-ra.sio-ra.lan
;
dhcp cname deb-dhcp-ra
dns1 cname dns1-ra
dns2 cname dns2-ra

View File

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