dns2
This commit is contained in:
parent
122d238f62
commit
75e6e843e5
16
sisr1/tp02-dns/dns2/interfaces
Normal file
16
sisr1/tp02-dns/dns2/interfaces
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 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
|
||||||
|
allow-hotplug enp0s3
|
||||||
|
#iface enp0s3 inet dhcp
|
||||||
|
iface enp0s3 inet static
|
||||||
|
address 192.168.0.122/24
|
||||||
|
gateway 192.168.0.1
|
||||||
|
|
15
sisr1/tp02-dns/dns2/named.conf.local
Normal file
15
sisr1/tp02-dns/dns2/named.conf.local
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// zone directe
|
||||||
|
zone "sio-tg.lan" {
|
||||||
|
type slave;
|
||||||
|
file "/etc/bind/db.sio-tg.lan";
|
||||||
|
masters {192.168.0.121; };
|
||||||
|
masterfile-format text;
|
||||||
|
};
|
||||||
|
|
||||||
|
// zone inverse
|
||||||
|
zone "0.168.192.in-addr.arpa" {
|
||||||
|
type slave;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.sio-tg.lan.rev";
|
||||||
|
masters { 192.168.0.121; };
|
||||||
|
};
|
3
sisr1/tp02-dns/dns2/resolv.conf
Normal file
3
sisr1/tp02-dns/dns2/resolv.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
domain sio-tg.lan
|
||||||
|
search sio-tg.lan
|
||||||
|
nameserver 127.0.0.1
|
Loading…
x
Reference in New Issue
Block a user