Enviado em 22/09/2009 - 11:50h
Ola Renato,
FIz as alterações que vc pediu. O /etc/bind/named.conf.default-zones, não existia no meu diretório, então copiei o named.conf para dentro dele. Fiz as alterações nos db.dnsdebian, db.dnsdebian.reverse.
Executei o /etc/init.d/bind9 restart, olha o resultado:
Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9 failed!
Fui verificar o log:
dnsdebian:~# tail -f /var/log/syslog
Sep 22 08:50:01 dnsdebian named[2409]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:50:01 dnsdebian named[2409]: loading configuration: already exists
Sep 22 08:50:01 dnsdebian named[2409]: exiting (due to fatal error)
Sep 22 08:52:49 dnsdebian named[2448]: starting BIND 9.5.1-P3 -u bind
Sep 22 08:52:49 dnsdebian named[2448]: found 1 CPU, using 1 worker thread
Sep 22 08:52:49 dnsdebian named[2448]: using up to 4096 sockets
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration from '/etc/bind/named.conf'
Sep 22 08:52:49 dnsdebian named[2448]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration: already exists
Sep 22 08:52:49 dnsdebian named[2448]: exiting (due to fatal error)
^C
dnsdebian:~# tail -f /var/log/daemon.log
Sep 22 08:50:01 dnsdebian named[2409]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:50:01 dnsdebian named[2409]: loading configuration: already exists
Sep 22 08:50:01 dnsdebian named[2409]: exiting (due to fatal error)
Sep 22 08:52:49 dnsdebian named[2448]: starting BIND 9.5.1-P3 -u bind
Sep 22 08:52:49 dnsdebian named[2448]: found 1 CPU, using 1 worker thread
Sep 22 08:52:49 dnsdebian named[2448]: using up to 4096 sockets
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration from '/etc/bind/named.conf'
Sep 22 08:52:49 dnsdebian named[2448]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration: already exists
Sep 22 08:52:49 dnsdebian named[2448]: exiting (due to fatal error)
E agora ???!!!???!!!
FIz as alterações que vc pediu. O /etc/bind/named.conf.default-zones, não existia no meu diretório, então copiei o named.conf para dentro dele. Fiz as alterações nos db.dnsdebian, db.dnsdebian.reverse.
Executei o /etc/init.d/bind9 restart, olha o resultado:
Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9 failed!
Fui verificar o log:
dnsdebian:~# tail -f /var/log/syslog
Sep 22 08:50:01 dnsdebian named[2409]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:50:01 dnsdebian named[2409]: loading configuration: already exists
Sep 22 08:50:01 dnsdebian named[2409]: exiting (due to fatal error)
Sep 22 08:52:49 dnsdebian named[2448]: starting BIND 9.5.1-P3 -u bind
Sep 22 08:52:49 dnsdebian named[2448]: found 1 CPU, using 1 worker thread
Sep 22 08:52:49 dnsdebian named[2448]: using up to 4096 sockets
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration from '/etc/bind/named.conf'
Sep 22 08:52:49 dnsdebian named[2448]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration: already exists
Sep 22 08:52:49 dnsdebian named[2448]: exiting (due to fatal error)
^C
dnsdebian:~# tail -f /var/log/daemon.log
Sep 22 08:50:01 dnsdebian named[2409]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:50:01 dnsdebian named[2409]: loading configuration: already exists
Sep 22 08:50:01 dnsdebian named[2409]: exiting (due to fatal error)
Sep 22 08:52:49 dnsdebian named[2448]: starting BIND 9.5.1-P3 -u bind
Sep 22 08:52:49 dnsdebian named[2448]: found 1 CPU, using 1 worker thread
Sep 22 08:52:49 dnsdebian named[2448]: using up to 4096 sockets
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration from '/etc/bind/named.conf'
Sep 22 08:52:49 dnsdebian named[2448]: /etc/bind/named.conf.options:1: 'options' redefined near 'options'
Sep 22 08:52:49 dnsdebian named[2448]: loading configuration: already exists
Sep 22 08:52:49 dnsdebian named[2448]: exiting (due to fatal error)
E agora ???!!!???!!!