multiple domains on same ip adresses
Michael Griffin
gondarlinux at gmail.com
Thu Aug 24 13:08:43 UTC 2006
On 8/22/06, Joseph S D Yao <jsdy at center.osis.gov> wrote:
> On Tue, Aug 22, 2006 at 02:15:00PM -0400, Michael Griffin wrote:
> > After searching the archives, I could not find what I am trying to do.
> >
> > I have two registered domains: foosol.com and foosolutions.com. All
> > of my servers are named after foosol.com. In my named.conf, I have a
> > foosol.com zone with the corresponding zone and reverse files. My
> > supervisor desires to have, at the very least, our DNS rseolve our
> > mail server as mail.foosol.com and mail.foosolutions.com. Can I use
> > aliases (CNAMES)in my zone and reverse files or do I need to add a new
> > zone with zone and reverse files?
> >
> > Thanks,
> >
> > Michael
>
> You only have one reverse DNS zone for the set of IP addresses, not two.
> You really should only have one PTR record per IP address. It's not
> illegal to have more than one, but applications expect one.
>
> If you already have your DNS set up for both foosol.com and
> foosolutions.com, you can just add an MX record in the foosolutions.com
> domain that points to foosol.com's mail server. In that mail server's
> 'sendmail' or 'postfix' configuration, allow it to accept e-mail for
> both domains, or possibly to do different things for e-mail to the two
> domains. If you want CNAMEs from one domain pointing to the other,
> that's certainly possible.
>
> If you want the two domains to be identical, then here's a trick. On
> the name server with the master copy, use the same file. On the name
> server with copies of the zone slaved from the master copy, you will
> have to use two different file names so they don't overwrite each other.
>
> --
> Joe Yao
> -----------------------------------------------------------------------
> This message is not an official statement of OSIS Center policies.
>
Thanks for the help guys. That appears to have worked.
-- Michael
More information about the bind-users
mailing list