Mais Um problema com DNS Reverso
Galera eu sei que este assunto é muito batido neste e em diversos outros sites mas mesmo assim vou postar aqui (a se for mandar procurar no google passei das 8 as 14:15 fazendo isto rsrsrrs).
Seguinte eu configurei meu bind9 através de um tutorial do morimoto que aparentemente funcionou legal pois meu dns este resolvendo nomes normalmente consiguo acessar o meu site e meu server de mail mas ai que esta o problema meu DNS reverso aparentemente esta configurado normal mais nao funciona já briguei com a BRT hj e me convenci que lá esta tudo OK e que o problema é no meu server mesmo vou postar minhas confs para que vocês possam ver e se possivel me ajudar
/etc/resolv.conf
Código :
cat /etc/resolv.conf
search cambira.pr.gov.br
#nameserver 201.10.120.2
#nameserver 201.10.128.3
nameserver 189.11.9.28
nameserver 189.11.9.26
/etc/hosts
Código :
cat /etc/hosts
127.0.0.1 localhost
189.11.9.28 pmc01.cambira.pr.gov.br pmc01
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.0.1 cambira.pr.gov.br
/etc/hostname
/etc/named.conf
Código :
cat /etc/bind/named.conf
// 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/named.conf.options";
#IP da Operadora
#allow-transfer { 201.10.120.2; 201.10.128.2; };
#query-source address * port 53;
// 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";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
include "/etc/bind/named.conf.local";
zone "cambira.pr.gov.br" IN {
type master;
file "/etc/bind/db.cambira.pr.gov.br";
allow-transfer { 189.11.9.26; };
};
zone "9.11.189.in.addr.arpa" IN {
type master;
file "/etc/bind/db.cambira.pr.gov.br.rev";
allow-transfer { 189.11.9.26; };
};
/etc/bind/db.cambira.pr.gov.br
Código :
cat /etc/bind/db.cambira.pr.gov.br
$TTL 86400
@ IN SOA pmc01.cambira.pr.gov.br. hostmaster.cambira.pr.gov.br. (
2009032501;serial
28800;refresh
7200;retry
1209600;expire
24h );minimum
NS pmc01.cambira.pr.gov.br.
NS pmc02.cambira.pr.gov.br.
IN MX 10 pmc01.cambira.pr.gov.br.
pmc01 IN A 189.11.9.28
pmc02 IN A 189.11.9.26
;Localhost IN A 127.0.0.1
cambira.pr.gov.br. IN A 189.11.9.28
ns IN A 189.11.9.28
www IN A 189.11.9.26
ftp IN A 189.11.9.26
ssh IN A 189.11.9.26
mail IN A 189.11.9.28
pmc01 IN A 189.11.9.28
/etc/bind/db.cambira.pr.gov.br.rev
Código :
cat /etc/bind/db.cambira.pr.gov.br.rev
$TTL 86400
@ IN SOA pmc01.cambira.pr.gov.br. hostmaster.cambira.pr.gov.br. (
2009032501;serial
28800;refresh
7200;retry
1209600;expire
24h );minimum
NS pmc01.cambira.pr.gov.br.
NS pmc02.cambira.pr.gov.br.
IN MX 10 pmc01.cambira.pr.gov.br.
pmc01 IN A 189.11.9.28
pmc02 IN A 189.11.9.26
;Localhost IN A 127.0.0.1
cambira.pr.gov.br. IN A 189.11.9.28
ns IN A 189.11.9.28
www IN A 189.11.9.26
ftp IN A 189.11.9.26
ssh IN A 189.11.9.26
mail IN A 189.11.9.28
pmc01 IN A 189.11.9.28
Estas são minhas confs mas quando eu dou um
host 189.11.9.28
a resposta é:
Host 28.9.11.189.in-addr.arpa not found: 2(SERVFAIL)
e o mesmo acontece com nslookup e com dig
fico no aguardo desesperado por uma ajuda de vcs
Valew