one ip with multiple domain

Kevin Darcy kcd at daimlerchrysler.com
Wed Aug 29 18:46:20 UTC 2001


beni wrote:

> On Tuesday 28 August 2001 21:22, Kevin Darcy wrote:
> > beni wrote:
> > > Hi list,
> > >
> > > I am newbie in BIND.  I have installed a DNS Server with one IP
> > > Address(public).  The problem : I have some domains.  What can i do to
> > > setup one ip address with multiple domain? Can i do it? Is there any
> > > documentations about it?
> >
> > No problem. Just set up the domains normally and point all of the A records
> > to the same IP. If you want to get fancy, you might even be able to load
> > all of those zones from the same zone file.
> >
> > You will have to decide, however, which name the PTR record points to. If
> > you care about such things...
>
> You mean if i have mycompany.com and othercompany.com. with ip 10.0.0.1.  In
> my reverse domain, my PTR record only direct to one of them, example
> mycompany.com, like this :
>
> 1  IN PTR ns1.mycompany.com.

Well, technically, the same name can own multiple PTR records. But nothing looks
beyond the first one, so having multiple PTRs is a waste. Pick one of the
forward names and point the PTR to it.


- Kevin




More information about the bind-users mailing list