jbm5688
(usa Slackware)
Enviado em 19/02/2011 - 23:46h
Ola Galelra, quem poder me ajudar a descobrir esse erro, estou perdido, prq não consigo verificar onde esta errado, é o seguinte ae vai meu named.conf do master e do slave
Master
// 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
//include "/etc/bind/rndc.key"
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 master;
file "/var/cache//bind/db.rnnet.com.br";
masters { 186.250.16.4; } ;
allow-notfy{186.250.16.4;};
};
zone "16.250.186.in-addr.arpa" in {
type master;
file "/etc/bind/db.16.250.186";
masters { 186.250.16.4 ; } ;
};
// 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";
};
server 186.250.16.4 {
key "TRANSFER" {
algorithm hmac-md5;
secret "GZ6V/9NNyg30VqxDOCRIBg==";
};
};
include "/etc/bind/named.conf.local";
Slave:
// 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
//include "/etc/bind/rndc.key"
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;
file "/var/cache//bind/db.rnnet.com.br";
masters { 186.250.16.3 ; } ;
allow-notfy{186.250.16.3;};
};
zone "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 slave;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type slave;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type slave;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type slave;
file "/etc/bind/db.255";
};
server 186.250.16.3 {
key "TRANSFER" {
algorithm hmac-md5;
secret "GZ6V/9NNyg30VqxDOCRIBg==";
};
};
include "/etc/bind/named.conf.local";
o meu db.rnnet.com.br
$TTL 38400
@ IN SOA dns1.rnnet.com.br. root.dns1.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.5
mail IN A 186.250.16.5
smtp IN A 186.250.16.5
pop IN A 186.250.16.5
o meu rndc.key
key "rndc-key" {
algorithm hmac-md5;
secret "GZ6V/9NNyg30VqxDOCRIBg==";
};
~
o meu reverso:
$TTL 1d;
$ ORIGIN 16.250.186.IN-ADDR.ARPA;
@ IN SOA ns1.rnnet.com.br. jbm5688.rnnet.com.br. (
2011021804 3H 15M 1D };
IN NS ns1.rnnet.com.br.
IN NS ns2.rnnet.com.br.
IN NS mail.rnent.com.br.
3 IN PTR ns1.rnent.com.br.
4 IN PTR ns2.rnnet.com.br.
5 IN PTR mail.rnnet.com.br.
5 IN PTR pop.rnnet.com.br.
5 IN PTR smtp.rnet.com.br.
5 IN PTR webmail.com.br.
4 IN PTR
www.rnnet.com.br.
e esta dando o seguinte erro:
* Stopping domain name service... bind rndc: connect failed: 127.0.0.1#953: connection refused
[fail]
* Starting domain name service... bind [fail]
root@dns2:/etc/bind#
nos dois
dns1:/etc/bind# /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!
dns1:/etc/bind#
onde eu estou errado?????