Compare commits

..

4 Commits

Author SHA1 Message Date
69a4ea09e5 fichier du dns1 2025-02-03 11:05:52 +01:00
3690f4fb4d Merge branch 'main' of https://gitea.lyc-lecastel.fr/timeo.collado/siotp 2025-02-03 11:02:29 +01:00
972004fc18 fichier du dns1 2025-02-03 10:58:41 +01:00
sio
e98539e722 Fichier du DNS1 2025-02-03 10:54:04 +01:00
4 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,22 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-tc.sio-tc.lan. root.dns1-tc.sio-tc.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns1-tc.sio-tc.lan.
@ IN A 127.0.0.1
dns2-tc.sio-tc.lan. IN A 192.168.0.162
dns1-tc.sio-tc.lan. IN A 192.168.0.161
deb-dhcp-tc IN A 192.168.0.160
;@ IN AAAA ::1
dhcp CNAME deb-dhcp-tc
dns1 CNAME dns1-tc
dns2 CNAME dns2-tc

View File

@ -0,0 +1,22 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-tc.sio-tc.lan. root.dns1-tc.sio-tc.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns1-tc.sio-tc.lan.
;@ IN A 127.0.0.1
;@ IN AAAA ::1
162 IN PTR dns2-tc.sio-tc.lan.
161 IN PTR dns1-tc.sio-tc.lan.
160 IN PTR deb-dhcp-tc.sio.lan.
dhcp CNAME deb-dhcp-tc.sio-tc.lan
dns1 CNAME dns1-tc
dns2 CNAME dns2-tc

View File

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