diff --git a/sisr1/tp03-reseau-prive/dns2/interfaces b/sisr1/tp03-reseau-prive/dns2/interfaces new file mode 100644 index 0000000..a72d708 --- /dev/null +++ b/sisr1/tp03-reseau-prive/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 +auto enp0s3 +#iface enp0s3 inet static +# address 172.16.0.200/24 +# gateway 172.16.0.201 diff --git a/sisr1/tp03-reseau-prive/dns2/named.conf b/sisr1/tp03-reseau-prive/dns2/named.conf new file mode 100644 index 0000000..bc71baa --- /dev/null +++ b/sisr1/tp03-reseau-prive/dns2/named.conf @@ -0,0 +1,11 @@ +// This is the primary configuration file for the BIND DNS server named. +// +// Please read /usr/share/doc/bind9/README.Debian for information on the +// structure of BIND configuration files in Debian, *BEFORE* you customize +// this configuration file. +// +// If you are just adding zones, please do that in /etc/bind/named.conf.local + +include "/etc/bind/named.conf.options"; +include "/etc/bind/named.conf.local"; +include "/etc/bind/named.conf.default-zones";