Virtual DNS questiona and reverse lookup table conflicts

Daniel B. Thurman dant at cdkkt.com
Sat Dec 6 23:31:14 UTC 2008


Mikkel L. Ellertson wrote:
> Daniel B. Thurman wrote:
>   
>> Is it possible to have a single DNS server support
>> two different domain names, with each domain
>> name having it's own forward and reverse lookups?
>>
>>     
> 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.
>
> Do a lookup on infinity-ltd.com, and then on the IP address you get.
>
> Mikkel
>   
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?

Kind regards!
Dan




More information about the fedora-list mailing list