Reverse Lookup Problem

Barry Margolin barmar at alum.mit.edu
Mon Mar 29 09:52:47 UTC 2004


In article <c3nbh8$2u83$1 at sf1.isc.org>, stat_holyday at hotmail.com (Stat) 
wrote:

> // add entries for other zones below here
> 
> zone "231.29.38.208.in-addr.arpa" {
> 	type master;
> 	file "/etc/bind/231.29.38.208.rev";
> };

I suspect this should be:

zone "29.38.208.in-addr.arpa"

Otherwise, your reverse zone is only for a single address, not a /24 
network.

> 
> zone "statnet.ca" {
> 	type master;
> 	file "/etc/bind/statnet.ca";
> };
> 
> #############################################################
> # 231.29.38.208.rev
> 
> ;
> ; BIND reverse data file for local loopback interface
> ;
> 
> $TTL	604800
> @	IN	SOA	ns1.statnet.ca. root.statnet.ca. (
> 			      1		; Serial
> 			 604800		; Refresh
> 			  86400		; Retry
> 			2419200		; Expire
> 			 604800 )	; Negative Cache TTL
> 
> @	IN	NS	ns1.statnet.ca.
> 
> 1	IN	PTR	statnet.ca
> 4	IN	PTR	mail.statnet.ca.
> 5	IN	PTR	gypsy.statnet.ca.
> 6	IN	PTR	orysia.statnet.ca.
> 8	IN	PTR	ftp.statnet.ca.
> 
> #############################################################
> # statnet.ca
> 
> ; Authoritative data for statnet.ca
> ;
> @		IN	SOA	ns1.statnet.ca. webmaster at statnet.ca. (
> 					2003042201	; Serial
> 					10800		; Refresh 3 hours
> 					3600		; Retry   1 hour
> 					3600000 	; Expire  1000 hours
> 					86400		; Minimum 24 hours
> 					)
> 		IN	A	208.38.29.231
> 		IN	MX 100	mail.statnet.ca.
> 		IN	NS	ns1.statnet.ca.
> ;
> 
> ;		IN	A	208.38.29.231
> orysia		IN	A	208.38.29.231
> gypsy		IN	A	208.38.29.231
> mail		IN	A	208.38.29.231
> ns1 		IN	A	208.38.29.231
> ftp 		IN	A	208.38.29.231

To be consistent with your reverse domain, shouldn't these addresses be:

@ IN A 208.38.29.1
orysia IN A 208.38.29.6
gypsy IN A 208.38.29.5
....

?

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list