logging {
channel "named_log" {
// send most BIND logs to a dedicated log file
file "/var/log/named.log" versions 10 size 500k;
severity dynamic;
print-category yes;
print-severity yes;
print-time yes;
};
channel "query_log" {
// query logs go to a separate file
file "/var/log/query.log" versions 10 size 500k;
severity debug;
print-severity yes;
print-time yes;
};
category default { named_log; };
category queries { query_log; };
};
acl "demudi" {192.168.0.0/24;127.0.0.1/8;};
options {
// tell named where to find files mentioned below
directory "/etc/bind";
// on a multi-homed host, you might want to tell named
// to listen for queries only on certain interfaces
listen-on { 127.0.0.1; 192.168.0.0/24; }
;};
// The single dot (.) is the root of all DNS namespace, so
// this zone tells named where to start looking for any
// name on the Internet
zone "." IN {
// a hint type means that we've got to look elsewhere
// for authoritative information
type hint;
file "db.root";
};
// Where the localhost hostname is defined
zone "localhost" IN {
// a master type means that this server needn't look
// anywhere else for information; the localhost buck
// stops here.
type master;
file "db.localhost";
// don't allow dynamic DNS clients to update info
// about the localhost zone
//allow-update { none; };
};
// Where the 127.0.0.0 network is defined
zone "0.0.127.in-addr.arpa" IN {
type master;
file "db.127.0.0";
//allow-update { none; };
};
zone "ton_nom_de_domaine.org" IN {
type master;
file "db.ton_nom_de_domaine.org";
allow-transfer {any;};
allow-query {any;};
};
zone "0.168.192.in-addr.arpa" {
// this is the authoritative server for
// the 10.11.12.0 network
type master;
file "db.0.168.192";
};
# RTFM
Posté par ceseb . En réponse au message Bind. Évalué à 1.
essaye donc ça, lourdingue.