From 99400f85a4d1e3e1159efd635da16234b874e1d3 Mon Sep 17 00:00:00 2001 From: "timeo.collado" Date: Mon, 17 Feb 2025 09:38:36 +0100 Subject: [PATCH] arrangement --- sisr1/tp03-reseau-prive/dns2/named.conf.local | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sisr1/tp03-reseau-prive/dns2/named.conf.local diff --git a/sisr1/tp03-reseau-prive/dns2/named.conf.local b/sisr1/tp03-reseau-prive/dns2/named.conf.local new file mode 100644 index 0000000..991df92 --- /dev/null +++ b/sisr1/tp03-reseau-prive/dns2/named.conf.local @@ -0,0 +1,24 @@ +// +// Do any local configuration here +// + + // zone directe + zone "monlabo.lan" { + type slave; + file "/etc/bind/db.monlabo.lan"; + masters { 172.16.0.2; }; + masterfile-format text; + }; + + // zone inverse + zone "0.16.172.in-addr.arpa" { + type slave; + file "/etc/bind/db.monlabo.lan.rev"; + notify no; + masters { 172.16.0.2; }; + }; + +// Consider adding the 1918 zones here, if they are not used in your +// organization +//include "/etc/bind/zones.rfc1918"; +