Reverse Lookup Zone Question
csmith.lunchmeat at dyndns.org
Wed Feb 1 12:06:29 UTC 2006
In article <dro95k$2k21$1 at sf1.isc.org>,
Tom Naves <tman at sdf.lonestar.org> wrote:
> I have two mail exchangers for two domains:
> mail.mydomain.com 192.168.40.134
> mail2.mydomain.com 192.168.40.131
> mail.mydomain.net 192.168.40.131
> mail2.mydomain.net 192.168.40.134
> My question: can I make a reverse lookup zone 40.168.192.in-addr.arpa that
> will resolve all the above names to the ip address?
I don't think you asked the question you meant to ask. Your forward
zones already handle resolving "all the above names to the ip address".
What you wanted to ask was:
Can I make a reverse lookup zone 40.168.192.in-addr.arpa that will
resolve those IP addresses to all of the names?
Yes, you can create multiple PTR records for a single IP address, so in
the 40.168.192.in-addr.arpa zone you can have
126.96.36.199.in-addr.arpa. PTR mail.mydomain.net.
188.8.131.52.in-addr.arpa. PTR mail2.mydomain.com.
184.108.40.206.in-addr.arpa. PTR mail2.mydomain.net.
220.127.116.11.in-addr.arpa. PTR mail.mydomain.com.
But, this is not necessary. You only need a single PTR record which
points to a single name which in turn has an A record that points back
to the IP address.
Adding multiple PTR records for an IP address just makes it harder to
manage when you do need to make a change.
Dynamic Network Services, Inc.
More information about the bind-users