Mon serveur dns ne marche pas.
Voici l'erreur que je recois quand je lance /etc/init.d/bind9 restart:
Stopping domain name service: namedrndc: connect failed: connection refused
.
Starting domain name service: named.
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";
};
# t'es lourd
Posté par gnu_thomas . Évalué à 2.
http://linuxfr.org/forums/41/16616.html
http://linuxfr.org/forums/15/16625.html
S'il-te-plait arrête d'être lourd. Lis le putain de manuel, cherche sur le putain de web et reviens seulement après.
# RTFM
Posté par ceseb . Évalué à 1.
essaye donc ça, lourdingue.
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.