From 4a9c538bfffbebf9106e7558a8da828f1d1d464d Mon Sep 17 00:00:00 2001 From: Diemert Ludoic Date: Fri, 28 May 2021 10:28:12 +0200 Subject: [PATCH] DNS2 --- 02-tpdns/srv2esclave/named.conf.local | 23 +++++++++++++++++++++++ 02-tpdns/srv2esclave/resolv.conf | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 02-tpdns/srv2esclave/named.conf.local create mode 100644 02-tpdns/srv2esclave/resolv.conf diff --git a/02-tpdns/srv2esclave/named.conf.local b/02-tpdns/srv2esclave/named.conf.local new file mode 100644 index 0000000..7b43ceb --- /dev/null +++ b/02-tpdns/srv2esclave/named.conf.local @@ -0,0 +1,23 @@ +// +// Do any local configuration here +// + +// Consider adding the 1918 zones here, if they are not used in your +// organization +//include "/etc/bind/zones.rfc1918"; + +zone "domaine.lan" { + type slave; + file "/etc/bind/db.domaine.lan"; + masters {192.168.0.20; }; + masterfile-format text; +}; + +//zone inverse +zone "1.168.192.in-addr.arpa" { + type slave; + notify no; + file "/etc/bind/db.domaine.lan.rev"; + masters {192.168.0.20; }; + +}; diff --git a/02-tpdns/srv2esclave/resolv.conf b/02-tpdns/srv2esclave/resolv.conf new file mode 100644 index 0000000..68ce18e --- /dev/null +++ b/02-tpdns/srv2esclave/resolv.conf @@ -0,0 +1,4 @@ +domain sio.lan +search sio.lan +nameserver 192.168.0.1 +nameserver 10.121.38.7