bonjour, je me suis planté en effacant un site sur mon panel de gestion et maintenant j’ai une erreur en redemarrant bind.
Stopping domain name service…: bind9rndc: connect failed: 127.0.0.1#953: connection refused
le site est toujours accessible mais uniquement si index.html est derrier le ndd
named.conf
[code]// 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
options {
directory “/var/cache/bind”;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
also-notify {213.251.156.212;};
};
// prime the server with knowledge of the root servers
zone “.” {
type hint;
file “/etc/bind/db.root”;
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone “localhost” {
type master;
file “/etc/bind/db.local”;
};
zone “127.in-addr.arpa” {
type master;
file “/etc/bind/db.127”;
};
zone “0.in-addr.arpa” {
type master;
file “/etc/bind/db.0”;
};
zone “255.in-addr.arpa” {
type master;
file “/etc/bind/db.255”;
};
Includes des zones
zone “servrtx.net” {
type master;
notify yes;
file “/etc/bind/db.servrtx.net”;
forwarders{};
};
include “/etc/bind/vhosts.conf”;[/code]
erreur log daemon :
Oct 23 13:29:51 host named[23409]: exiting (due to fatal error)
Oct 23 13:31:33 host named[23520]: starting BIND 9.6-ESV-R4 -u bind -t /var/lib/named
Oct 23 13:31:33 host named[23520]: built with '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var/run/bind' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -DNS_RUN_PID_DIR=0 -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2'
Oct 23 13:31:33 host named[23520]: adjusted limit on open files from 1024 to 1048576
Oct 23 13:31:33 host named[23520]: found 4 CPUs, using 4 worker threads
Oct 23 13:31:33 host named[23520]: using up to 4096 sockets
Oct 23 13:31:33 host named[23520]: loading configuration from '/etc/bind/named.conf'
Oct 23 13:31:33 host named[23520]: /etc/bind/vhosts.conf:11: zone 'servrtx.net': already exists previous definition: /etc/bind/named.conf:46
Oct 23 13:31:33 host named[23520]: loading configuration: failure
Oct 23 13:31:33 host named[23520]: exiting (due to fatal error)
dans le syslog j’ai :
Oct 23 14:00:15 host named[25160]: loading configuration from '/etc/bind/named.conf'
Oct 23 14:00:15 host named[25160]: /etc/bind/vhosts.conf:5: zone 'servrtx.net': already exists previous definition: /etc/bind/named.conf:46
merci