From e1521518ebe0beb5c00071d723a9369cf4305b98 Mon Sep 17 00:00:00 2001 From: johan largy Date: Wed, 14 Sep 2022 16:10:11 +0200 Subject: [PATCH] ajout script --- sio1/sisr1/20-dns/db. | 2 ++ sio1/sisr1/20-dns/db.domaine.lan | 1 + sio1/sisr1/20-dns/db.domaine.lan.rev | 2 ++ sio1/sisr1/20-dns/named.conf | 2 ++ sio1/sisr1/20-dns/named.conf.local | 2 ++ sio1/sisr1/20-dns/resolv.conf | 2 ++ 6 files changed, 11 insertions(+) create mode 100644 sio1/sisr1/20-dns/db. diff --git a/sio1/sisr1/20-dns/db. b/sio1/sisr1/20-dns/db. new file mode 100644 index 0000000..59bb79c --- /dev/null +++ b/sio1/sisr1/20-dns/db. @@ -0,0 +1,2 @@ +\n +. diff --git a/sio1/sisr1/20-dns/db.domaine.lan b/sio1/sisr1/20-dns/db.domaine.lan index f80cd3c..7099558 100644 --- a/sio1/sisr1/20-dns/db.domaine.lan +++ b/sio1/sisr1/20-dns/db.domaine.lan @@ -17,3 +17,4 @@ srv2 IN A 192.168.0.124 poste1 IN A 192.168.0.122 poste2 IN A 192.168.0.123 +. diff --git a/sio1/sisr1/20-dns/db.domaine.lan.rev b/sio1/sisr1/20-dns/db.domaine.lan.rev index 6ab7ba8..80bdf61 100644 --- a/sio1/sisr1/20-dns/db.domaine.lan.rev +++ b/sio1/sisr1/20-dns/db.domaine.lan.rev @@ -17,3 +17,5 @@ $TTL 604800 124 IN PTR srv2.domaine.lan. 122 IN PTR poste1.domaine.lan. 123 IN PTR poste2.domaine.lan. + +. diff --git a/sio1/sisr1/20-dns/named.conf b/sio1/sisr1/20-dns/named.conf index 880786a..0da2041 100644 --- a/sio1/sisr1/20-dns/named.conf +++ b/sio1/sisr1/20-dns/named.conf @@ -9,3 +9,5 @@ include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; + +. diff --git a/sio1/sisr1/20-dns/named.conf.local b/sio1/sisr1/20-dns/named.conf.local index fbf0ccd..5f5ae12 100644 --- a/sio1/sisr1/20-dns/named.conf.local +++ b/sio1/sisr1/20-dns/named.conf.local @@ -18,3 +18,5 @@ notify no; file "/etc/bind/db.domaine.lan.rev"; }; + +. diff --git a/sio1/sisr1/20-dns/resolv.conf b/sio1/sisr1/20-dns/resolv.conf index f8b6474..20454ee 100644 --- a/sio1/sisr1/20-dns/resolv.conf +++ b/sio1/sisr1/20-dns/resolv.conf @@ -1,3 +1,5 @@ domain domaine.lan search domaine.lan nameserver 127.0.0.1 + +.