luivilella
(usa Debian)
Enviado em 31/05/2010 - 14:15h
ServerDebian:~# /etc/init.d/bind9 restart
Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9 failed!
ServerDebian:~# tail /var/log/syslog
May 31 11:09:01 ServerDebian /USR/SBIN/CRON[3024]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
May 31 11:12:38 ServerDebian named[3067]: starting BIND 9.5.1-P3 -u bind
May 31 11:12:38 ServerDebian named[3067]: found 1 CPU, using 1 worker thread
May 31 11:12:38 ServerDebian named[3067]: using up to 4096 sockets
May 31 11:12:38 ServerDebian named[3067]: loading configuration from '/etc/bind/named.conf'
May 31 11:12:38 ServerDebian named[3067]: /etc/bind/named.conf.options:2: unknown option 'directory'
May 31 11:12:38 ServerDebian named[3067]: /etc/bind/named.conf.options:4: unknown option 'auth-nxdomain'
May 31 11:12:38 ServerDebian named[3067]: /etc/bind/named.conf.options:5: unknown option 'listen-on-v6'
May 31 11:12:38 ServerDebian named[3067]: loading configuration: failure
May 31 11:12:38 ServerDebian named[3067]: exiting (due to fatal error)
ServerDebian:~#
ServerDebian:~# vi /etc/bind/named.conf.options
#options {
directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
acl clientes {
localhost;
192.168.100.0/24;
};
options {
forwarders {
200.192.247.254; #tdkon
200.192.240.5; #tdkon
208.67.222.222; #openDNS
208.67.220.220; #openDNS
};
allow-recursion { clientes; };
};
#};
Alguem pode me ajudara a achar o erro! eu preciso de um servidor DNS, apenas para resolver os nomes para rede local e se nao tiver procurar a resolucao em um dns externo.