Ajouter config/bind/named.conf.authoritative
This commit is contained in:
parent
4a261bb953
commit
6748556157
25
config/bind/named.conf.authoritative
Normal file
25
config/bind/named.conf.authoritative
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
options {
|
||||||
|
directory "/var/bind";
|
||||||
|
|
||||||
|
// Configure the IPs to listen on here.
|
||||||
|
listen-on { any; };
|
||||||
|
listen-on-v6 { any; };
|
||||||
|
|
||||||
|
// If you want to allow only specific hosts to use the DNS server:
|
||||||
|
allow-query {
|
||||||
|
any;
|
||||||
|
};
|
||||||
|
|
||||||
|
allow-transfer {
|
||||||
|
none;
|
||||||
|
};
|
||||||
|
pid-file "/var/run/named/named.pid";
|
||||||
|
|
||||||
|
allow-recursion { none; };
|
||||||
|
recursion no;
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "." {
|
||||||
|
type hint;
|
||||||
|
file "/etc/bind/db.root";
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user