having problems with the reverse zone for a domain

enediel gonzalez enediel at hotmail.com
Tue May 9 01:56:44 UTC 2006


Hello
Note
  For privacy I changed the real domain to domain.com and the real public ip 
to 1.2.3.4

I have a domain name server associated to an static ip, at the same time is 
the mail server of this domain, but checking the domain configuration with 
the page www.dns.report I got everything fine except:

**********************************
ERROR: The IP of one or more of your mail server(s) have no reverse DNS 
(PTR) entries (if you see "Timeout" below, it may mean that your DNS servers 
did not respond fast enough). RFC1912 2.1 says you should have a reverse DNS 
for all your mail servers. It is strongly urged that you have them, as many 
mailservers will not accept mail from mailservers with no reverse DNS entry. 
  You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff 
site (it contacts your servers in real time; the reverse DNS lookups in the 
DNS report use our local caching DNS server). The problem MX records are:
4.3.2.1.in-addr.arpa [No reverse DNS entry (rcode: 3 ancount: 0)
********************************

I'm using debian with bind9, and my current configuration is


inside of named.conf
--------------------------

zone "domain.com" {
        type master;
        file "/etc/bind/domain.com.hosts";
        };

zone "3.2.1.in-addr.arpa" {
        type master;
        file "/etc/bind/domain.com.hosts.reverse";
        };

content of /etc/bind/domain.com.hosts
-----------------------------------------------------
$ttl 38400
domain.com.      IN      SOA     server1.domain.com. root.domain.com. (
                        2005082401
                        10800
                        3600
                        604800
                        38400 )
domain.com.      IN      NS      server1.domain.com.
server2.domain.com.      IN      A       1.2.3.4
domain.com.      IN      NS      server2.domain.com.
server1.domain.com.      IN      A       1.2.3.4
domain.com.      IN      MX      10 server1.domain.com.
ftp.domain.com.  IN      A       1.2.3.4
www.domain.com.  IN      A       1.2.3.4
domain.com. IN TXT "v=spf1 a mx:server1.domain.com ~all"

/etc/bind/domain.com.hosts.reverse
--------------------------------------------------
$ORIGIN 254.55.70.in-addr.arpa.
@       IN      SOA     server1.domain.com. root.domain.com. (
                        2005082401
                        10800
                        3600
                        604800
                        38400 )
        IN      NS      server1.domain.com.
        IN      NS      server2.domain.com.

4     IN      PTR     server1.domain.com.


Something is wrong on the reverse declaration, but I can not figure out what 
it is.

When I restart the bind9 service, it doesn't report me any error.

Thanks in advance for any suggestion
Enediel
Linux user 300141 Debian GNU/Linux




More information about the bind-users mailing list