[SunHELP] DNS reverse lookups

Steve ssandau at gwi.net
Tue Sep 6 11:37:17 CDT 2005


Lara Matthews wrote:
> Hi
> 
> I wonder if anyone can help me.
> 
> I can't seem to do reverse lookups on my mail server.
> 
> I think the reverse file is correct but I am guessing something is wrong.
> 
> Any pointers would be appreciated.
> 
> Below is the file:
> ; /var/named/rev.213.128.229
> ;
> $TTL 1D   ; Default TTL in secs(1 day)
> 
> @       IN SOA ns.accesscomputing.co.uk. hostmaster.accesscomputing.co.uk. (
>          2005090201      ; Serial number yyyymmddvv
>          10800   ; Refresh  (3, was 8 hours)
>          3600    ; Retry (1, was 2 hours)
>          604800  ; Expire (7 days)
>          86400   ; Minimum
> )
> ;
> 
> ; Descriptions of name servers for this domain
>          IN      NS      ns.accesscomputing.co.uk.
> 
> ;
> ; Addresses point to canonical names
> ;
> 177.128.229.213.in-addr.arpa. IN NS ns.accesscomputing.co.uk.
> 179.128.229.213.in-addr.arpa. IN PTR mailhost.accesscomputing.co.uk.
> 177 IN PTR ns.accesscomputing.co.uk.
> 177 IN PTR accesscomputing.co.uk.
> 179 IN PTR mailhost.accesscomputing.co.uk.
> 177 IN PTR calhost.accesscomputing.co.uk.
> 180 IN PTR www.accesscomputing.co.uk.
> 181 IN PTR www.thalamus.co.uk.
> 181 IN PTR www.gingiber.com.
> 
> ;eof
> $

I don't entirely understand how to set up reverse loookups for a partial 
class C, that is a CIDR subnet. If that is what you are trying to do, 
there may be special rules or notation redquired.

However, it does appear that you have duplicate entries for certain IP 
addresses, and I don't believe that is allowed.

The PTR records I have on BIND boxes are all
xxx	IN	PTR	hostname.domain.ext.
where xxx is the last octet of the IP.

Steve


Steve



More information about the SunHELP mailing list