Daniel B. Thurman wrote: > Mikkel L. Ellertson wrote: >> Forward lookups are easy - just have a different zone file for each >> domain. Reverse are easy if the domains have different IP addresses, >> but a problem if they do not. WEB hosting services do this all the >> time. Each hosted domain returns the same IP address (if on the same >> server) but reverse lookup returns the information for the WEB >> server hosting the domains. >> > Yes, as you said: "Reverse are easy if the domains have different IP > addresses, > but a problem if they do not" and therein lies my problem. The IP > addresses > are the same in the reverse lookup tables but the return domain name is not > the same as they are based on the domain name itself. > > So, as I said earlier, if I do a reverse IP query, which > will be returned? host1.domain1.com or host1.domain2.com? > > So, I am trying to figure out how this is done. > > Do you know how the web-hosting sites do it? > Web-hosting sites do not do it. Then again, most sites that check do a lookup of the domain name and see if the IP address matches the address of the machine connected to it, and not a reverse DNS lookup. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Description: OpenPGP digital signature