This commit is contained in:
sio 2025-02-03 10:52:06 +01:00
parent 4461a69f61
commit 95882cf1b9
5 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,22 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-ca.sio-ca.lan. root.dns1.sio-ca.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
NS dns1-ca.sio-ca.lan.
dns1-ca.sio-ca.lan. A 192.168.0.141
@ IN NS localhost
localhost IN A 127.0.0.1
deb-dhcp-ca IN A 192.168.0.140
dhcp CNAME deb-dhcp-ca.sio-ca.lan.
dns CNAME dns1-ca.sio-ca.lan.

View File

@ -0,0 +1,24 @@
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA dns1-ca.sio-ca.lan. root.dns1.sio-ca.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
NS dns1-ca.sio-ca.lan.
;dns1-ca.sio-ca.lan. A 192.168.0.141
@ IN NS localhost
localhost IN A 127.0.0.1
;deb-dhcp-ca IN A 192.168.0.140
141 IN PTR dns1-ca.sio-ca.lan.
140 IN PTR deb-dhcp-ca.sio-ca.lan.
dhcp CNAME deb-dhcp-ca.sio-ca.lan.
dns CNAME dns1-ca.sio-ca.lan.

View File

@ -0,0 +1,15 @@
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# This is an autoconfigured IPv6 interface
auto enp0s3
iface enp0s3 inet static
address 192.168.0.141/24
gateway 192.168.0.1

View File

@ -0,0 +1,12 @@
// zone directe
zone "sio-ca.lan" {
type master;
file "/etc/bind/db.sio-ca.lan";
};
// zone inverse
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.sio-ca.lan.rev";
};

View File

@ -0,0 +1,3 @@
domain sio-ca.lan
search sio-ca.lan
nameserver 127.0.0.1