ajout fichier
This commit is contained in:
parent
ef5f866d32
commit
d87a5d2c5f
11
sio1/sisr1/20-dns/named.conf
Normal file
11
sio1/sisr1/20-dns/named.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// This is the primary configuration file for the BIND DNS server named.
|
||||||
|
//
|
||||||
|
// Please read /usr/share/doc/bind9/README.Debian.gz 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";
|
21
sio1/sisr1/20-dns/named.conf.local
Normal file
21
sio1/sisr1/20-dns/named.conf.local
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
//
|
||||||
|
// 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 directe
|
||||||
|
zone "domaine.lan" {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.domaine.lan";
|
||||||
|
masterfile-format text;
|
||||||
|
};
|
||||||
|
|
||||||
|
// zone inverse
|
||||||
|
zone "0.168.192.in-addr.arpa" {
|
||||||
|
type master;
|
||||||
|
notify no;
|
||||||
|
file "/etc/bind/db.domaine.lan.rev";
|
||||||
|
};
|
3
sio1/sisr1/20-dns/resolv.conf
Normal file
3
sio1/sisr1/20-dns/resolv.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
domain domaine.lan
|
||||||
|
search domaine.lan
|
||||||
|
nameserver 127.0.0.1
|
Loading…
x
Reference in New Issue
Block a user