Multiple domains pointed to the same IP

Barry Margolin barmar at bbnplanet.com
Wed Dec 8 05:05:12 UTC 1999


In article <384d7cce_2 at news1.prserv.net>,
Vijay <vijay.mayadas at winwin.com> wrote:
>I understand that there can only be one entry in the PTR file which gives
>one domain name for a given IP address when a reverse lookup is performed.

You understand wrong, then.  You can have as many PTR records as you want
for an address.  I don't usually recommend it, since it results in
confusing behavior.

>Does this mean you cannot have mutiple domains map to a single IP on the
>Internet e.g.:
>
>one.mydomain.com    -> 192.1.2.3
>one.anotherdomain.com -> 192.1.2.3

Even if your first assumption were true, it wouldn't imply this.  There's
no rule that says that every A record has to have a PTR record.  However,
every PTR record should have a corresponding A record.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list