Servidor DNS primario com problemas

1. Servidor DNS primario com problemas

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 10/02/2011 - 20:22h

Caros colegas dessa comunidade, sou navegante no mundo linux, apesar de ter feito um curso de administração linux no senac, e ter instalados muitos outros servidores nunca tinha sido preciso refazer um servidor ja feito por outro. acontece o seguinte fiz o servidor quando configurei minha zona referente aos meus ips de servidor dns1 e dns2 esta dando o seguine erro:
/var/cache/bind/rnnet.com.br:8: NS record '186.250.16.4' appears to be an address
/var/cache/bind/rnnet.com.br:15: NS record '186.250.16.3' appears to be an address
/var/cache/bind/rnnet.com.br:16: NS record '186.250.16.4' appears to be an address
zone rnnet.com.br/IN: NS '186.250.16.4.rnnet.com.br' has no address records (A or AAAA)
zone rnnet.com.br/IN: dns1.rnnet.com.br/NS '186.250.16.3.rnnet.com.br' has no address records (A or AAAA)
zone rnnet.com.br/IN: dns2.rnnet.com.br/NS '186.250.16.4.rnnet.com.br' has no address records (A or AAAA)
zone rnnet.com.br/IN: loaded serial 2007091001

Segue abaixo o named.conf de dns1 e do dns2



include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

zone "rnnet.com.br" {
type master;
file "/etc/bind/rnnet.com.br";
};

zone "0-254.16.250.186.in-addr.arpa" in {
type master;
file "/etc/bind/0-254.16.250.186.in-addr.arpa";
};


// 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";

----------------------------------------------
a zona rnnet.com.br no dns1

$ttl 38400
rnnet.com.br. IN SOA 186.250.16.4. suporte.rnnet.com.br. (
2007091001
10800
3600
604800
38400 )
rnnet.com.br. IN NS 186.250.16.4
www.rnnet.com.br. IN A 186.250.16.4
webmail.rnnet.com.br. IN A 186.250.16.3
mail.rnnet.com.br. IN A 186.250.16.3
smtp.rnnet.com.br. IN A 186.250.16.3
pop.rnnet.com.br. IN A 186.250.16.3
dns1.rnnet.com.br. IN A 186.250.16,3
dns1.rnnet.com.br. IN NS 186.250.16.3
dns2.rnnet.com.br. IN NS 186.250.16.4
dns2.rnnet.com.br. IN A 186.250.16.4
mail.rnnet.com.br. IN MX 5 rnnet.com.br.
rnnet.com.br. IN MX 10 mail
mail.rnnet.com.br. IN MX 5 mail.rnnet.com.br




named.conf do dns2



include "/etc/bind/named.conf.options";

// 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 "rnnet.com.br" {
type slave;
masters { 186.250.16.3 ; } ;
};


zone "0-254.16.250.186.in-addr.arpa" in {
type slave;
masters { 186.250.16.3 ; } ;
};


// 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";

...........................

a zona rnnet.com.br no dns2

$ttl 38400
rnnet.com.br. IN SOA 186.250.16.4. suporte.rnnet.com.br. (
2007091001
10800
3600
604800
38400 )
rnnet.com.br. IN NS 186.250.16.4
www.rnnet.com.br. IN A 186.250.16.4
webmail.rnnet.com.br. IN A 186.250.16.3
mail.rnnet.com.br. IN A 186.250.16.3
smtp.rnnet.com.br. IN A 186.250.16.3
pop.rnnet.com.br. IN A 186.250.16.3
dns1.rnnet.com.br. IN A 186.250.16,3
dns1.rnnet.com.br. IN NS 186.250.16.3
dns2.rnnet.com.br. IN NS 186.250.16.4
dns2.rnnet.com.br. IN A 186.250.16.4
mail.rnnet.com.br. IN MX 5 rnnet.com.br.
rnnet.com.br. IN MX 10 mail
mail.rnnet.com.br. IN MX 5 mail.rnnet.com.br


Quem souber o caminho das pedras e poder me dar um dica eu agradeço muito porque minha pagina www.rnnet.com.br ta fora...






  


2. Re: Servidor DNS primario com problemas

Carlos Felicio
unixmen

(usa Debian)

Enviado em 10/02/2011 - 21:25h

Ajustar seu rnnet.com.br com o conteudo abaixo:








$TTL 38400
@ IN SOA dns1.rnnet.com.br. suporte.rnnet.com.br. (
2011020901
10800
3600
604800
38400 )
@ IN NS dns1.rnnet.com.br.
@ IN NS dns2.rnnet.com.br.

rnnet.com.br. IN MX 10 mail.rnnet.com.br.
dns1 IN A 186.250.16.3
dns2 IN A 186.250.16.4
www IN A 186.250.16.4
webmail IN A 186.250.16.3
mail IN A 186.250.16.3
smtp IN A 186.250.16.3
pop IN A 186.250.16.3



3. erro no bind

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 11/02/2011 - 10:39h

Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9 failed!

o que poderia ser ...


4. Re: Servidor DNS primario com problemas

Rafael Marangoni
rafatmb

(usa CentOS)

Enviado em 11/02/2011 - 10:56h

Ao startar o bind, dá um tail -f /var/log/messages e cola aqui as mensagens de erro do bind.

Vamos ver o que está errado.

[]'s

Rafa
Linux, Linux e Linux! http://www.brlink.com.br/s/linux/suporte-linux


5. Re: Servidor DNS primario com problemas

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 14/02/2011 - 20:34h

dns1:/etc/bind# tail -f /var/log/messages
Feb 13 06:25:02 dns1 kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 13 06:25:02 dns1 rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="1956" x-info="http://www.rsyslog.com"] restart
Feb 14 06:25:02 dns1 kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 14 06:25:02 dns1 rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="1956" x-info="http://www.rsyslog.com"] restart
Feb 14 07:26:35 dns1 kernel: [287992.341183] e1000: eth0: e1000_watchdog: NIC Link is Down
Feb 14 07:26:39 dns1 kernel: [287996.025468] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX



6. Re: Servidor DNS primario com problemas

Daniel Vieceli
DanielVieceli755

(usa Debian)

Enviado em 14/02/2011 - 20:44h

Opa, faz assim: tail -f /var/log/syslog | grep named



7. Re: Servidor DNS primario com problemas

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 14/02/2011 - 21:10h

Feb 14 18:11:37 dns1 named[2380]: client 186.250.17.59#50175: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 18:11:37 dns1 named[2380]: client 186.250.17.59#64866: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 18:11:37 dns1 named[2380]: client 186.250.17.59#53066: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 18:11:38 dns1 named[2380]: client 186.250.17.59#56510: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 18:11:38 dns1 named[2380]: client 186.250.17.59#64867: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 18:11:38 dns1 named[2380]: client 186.250.17.59#50531: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:38 dns1 named[2380]: client 186.250.17.23#52530: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.23#62264: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.59#55083: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.59#62547: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.59#52134: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.59#62373: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 18:11:39 dns1 named[2380]: client 186.250.17.59#55760: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:40 dns1 named[2380]: client 186.250.17.23#65035: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 18:11:40 dns1 named[2380]: client 186.250.17.59#55760: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:40 dns1 named[2380]: client 186.250.17.59#58503: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.59#58753: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.59#52533: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.59#51466: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.23#64852: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.59#60138: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 18:11:41 dns1 named[2380]: client 186.250.17.59#61657: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 18:11:42 dns1 named[2380]: client 186.250.17.23#64853: query (cache) 'swupmf.adobe.com/A/IN' denied







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts