-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
bej
4 comments · 1 points
-
dimithri
5 comments · 1 points
-
-
Popular Threads
-
Windows 7: How to Prevent the Mouse from Waking your PC
9 hours ago · 1 comment
-
Outlook 2010: Turn Off Attachment Preview
1 week ago · 1 comment
-
Gmail: How to Send SMS Messages Without Using Email
2 weeks ago · 2 comments
-
Windows 7 – Prevent Live Messenger from Opening at Start Up
1 week ago · 1 comment
-
Symfony: Drop Down List Box Without Submit Button
3 weeks ago · 1 comment
-
Windows 7: How to Prevent the Mouse from Waking your PC
DNS in general and BIND specifically are very confusing when first starting out. If you are going to be responsible for DNS, I highly recommend the book DNS and BIND, 4th Edition, also known as the Cricket book. This book provides a wonderful introduction for a beginner and a powerful reference for an old-timer.
While you can have multiple PTR records for an IP address, the behavior for this is not what you would probably desire. The hostnames resolved for the IP address will be served in a round-robin pattern, so subsequent hits on that IP address will probably yield different answers.
This may be a desirable condition when doing forward lookups in the case when you have multiple servers at different IP addresses that will answer to the same host and domain name (like multiple web servers). The round robin responses will provide a crude sort of load balancing.
If you are getting some specific errors, post them in a reply and we'll take a look at them.
Is this possible with a virtual domain and are reverse lookups the way to approach this?
The Apache side can be more complicated in that there are several ways to accomplish what you are doing. Are you hosting other domains on this server or just one? If just one, you shouldn't have to worry about virtual hosts. Givce us some more detail about what you are trying to do and we'll try to help.
<VirtualHost 11.22.33.44>
ServerName www.testdomain.com
ServerAlias testdomain.com *.testdomain.com
these directives allow the virtual host to respond for www.testdomain.com, as well as testdomain.com and foo.testdomain.com, etc.