From 55f8032e8ffcffb543bc2f581399b8074edad80c Mon Sep 17 00:00:00 2001 From: "tom.guerin" Date: Mon, 17 Feb 2025 09:38:41 +0100 Subject: [PATCH] fichiers --- sisr1/tp03-reseau-prive/srv-dns2/interfaces | 16 ++++++++++++++++ .../tp03-reseau-prive/srv-dns2/named.conf.local | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 sisr1/tp03-reseau-prive/srv-dns2/interfaces create mode 100644 sisr1/tp03-reseau-prive/srv-dns2/named.conf.local diff --git a/sisr1/tp03-reseau-prive/srv-dns2/interfaces b/sisr1/tp03-reseau-prive/srv-dns2/interfaces new file mode 100644 index 0000000..64783fc --- /dev/null +++ b/sisr1/tp03-reseau-prive/srv-dns2/interfaces @@ -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 172.16.0.200/24 +# gateway 172.16.0.1 + diff --git a/sisr1/tp03-reseau-prive/srv-dns2/named.conf.local b/sisr1/tp03-reseau-prive/srv-dns2/named.conf.local new file mode 100644 index 0000000..7a57b10 --- /dev/null +++ b/sisr1/tp03-reseau-prive/srv-dns2/named.conf.local @@ -0,0 +1,8 @@ +// +// Do any local configuration here +// + +// Consider adding the 1918 zones here, if they are not used in your +// organization +//include "/etc/bind/zones.rfc1918"; +