mail us  |  mail this page

products  |  company  |  support  |  downloads  |  isp services  |  contact us

ZYTRAX OPEN LOGO

Reverse Look-up Problem

If you define two A Records with the same IP address then when you come to define the Reverse Mapping (look-up) file you can only map a single name to the IP address. Increasingly mail systems as part of an anti-spam strategy and others may perform a dual look-up, IP to name then name to IP. A Reverse Mapping query will only return the right result for joe in the example below not for www. In this simple case use of a CNAME record for www could fix the problem.

Example

; zone file fragment 
joe        IN      A      192.168.254.3  ; joe & www = same ip     
www        IN      A      192.168.254.3

; reverse in-arpa file fragment
.3         IN      PTR    joe.example.com.

If you define multiple A Records for load balancing or round robin strategy the same problem arises. In a dual look-up, IP to name then name to IP, system this will only work for mail in the example below not for any others.

; zone file fragment 
mail       IN      A      192.168.254.3  ; round robin    
           IN      A      192.168.254.4
           IN      A      192.168.254.5

; reverse in-addr.arpa file fragment
.3         IN      PTR    mail.example.com.
.4         IN      PTR    mail1.example.com.
.5         IN      PTR    mail2.example.com.

Pro DNS and BIND by Ron Aitchison

Contents

tech info
guides home
intro
contents
1 objectives
big picture
2 concepts
3 reverse map
4 dns types
quickstart
5 install bind
6 samples
reference
7 named.conf
8 dns records
operations
9 howtos
10 tools
11 trouble
programming
12 bind api's
security
13 dns security
bits & bytes
15 messages
resources
notes & tips
registration FAQ
dns resources
dns rfc's
change log

Creative Commons License
This work is licensed under a Creative Commons License.

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Mozilla

printer friendly

Print Page

SPF Record Conformant Domain Logo

Copyright © 1994 - 2008 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by super.net.sg
web-master at zytrax
Page modified: June 21 2007.