ajout script

This commit is contained in:
johan largy 2022-09-14 16:10:11 +02:00
parent 3b80dd7130
commit e1521518eb
6 changed files with 11 additions and 0 deletions

2
sio1/sisr1/20-dns/db. Normal file
View File

@ -0,0 +1,2 @@
\n
.

View File

@ -17,3 +17,4 @@ srv2 IN A 192.168.0.124
poste1 IN A 192.168.0.122 poste1 IN A 192.168.0.122
poste2 IN A 192.168.0.123 poste2 IN A 192.168.0.123
.

View File

@ -17,3 +17,5 @@ $TTL 604800
124 IN PTR srv2.domaine.lan. 124 IN PTR srv2.domaine.lan.
122 IN PTR poste1.domaine.lan. 122 IN PTR poste1.domaine.lan.
123 IN PTR poste2.domaine.lan. 123 IN PTR poste2.domaine.lan.
.

View File

@ -9,3 +9,5 @@
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones"; include "/etc/bind/named.conf.default-zones";
.

View File

@ -18,3 +18,5 @@
notify no; notify no;
file "/etc/bind/db.domaine.lan.rev"; file "/etc/bind/db.domaine.lan.rev";
}; };
.

View File

@ -1,3 +1,5 @@
domain domaine.lan domain domaine.lan
search domaine.lan search domaine.lan
nameserver 127.0.0.1 nameserver 127.0.0.1
.