[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Multiple DNS
- Subject: Re: [cobalt-users] Multiple DNS
- From: "Rodolfo J. Paiz" <rpaiz@xxxxxxxxxxxxxx>
- Date: Sun Apr 29 22:59:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 4/28/01 01:16 AM -0400, you wrote:
If I want to host two different *name server* sets on my RaQ, how
would I go about doing it?
Example:
I want the RaQ to answer as the name server for all of these:
ns1.greatsite.com
ns2.greatsite.com
ns1.anothersite.com
ns2.anothersite.com
Sorry to get to the party so late, but after seeing the thread I think
you're making your life too complicated. What you want to do is (good news)
a piece of cake.
The machine is already set up as www.greatsite.com (this is not the
real addy, obviously). So it's going to answer for
ns1/ns2.greatsite.com. What I need to do is get it to *also* answer to
ns1/ns2.anothersite.com.
So add (ns1.anothersite.com->your.first.ip.address) and
(ns2.anothersite.com->your.second.ip.address) to your actual instance of
BIND, and you're done.
Why? You're starting off from the wrong premise here as in "answer for..."
some name or other. You already know that you can point multiple A records
to one machine; well, NS records are no different. I now have 40 domains on
my server, and *all* domains have NS records that look like this:
ns1.site001.com 111.111.111.111
ns2.site001.com 111.111.111.112
ns1.site002.com 111.111.111.111
ns2.site002.com 111.111.111.112
and so on. What matters is that DNS resolves *one-way*. So you setup BIND
to listen on *two* IP addresses (please don't run two instances of BIND,
it's totally unnecessary), and you feed it all the right information, and
things will work.
I am thinking I need to do one of two things:
1. Add ns1.anothersite.com and ns2.anothersite.com as virtual sites,
each with their own IP address. Or...
2. Add ns1.anothersite.com and ns2.anothersite.com as virtual sites,
with the same IP addy as the main machine. And then cross my fingers.
Neither. Make sure your machine listens on both the IP addresses you want
to use, than tell BIND to listen on both addresses, and then configure
everything normally in that BIND.
I did a search through the archives but couldn't find anything on
having multiple DNS - just on having multiple sites. Which is *not*
what I'm looking for.
Because you shouldn't be looking for it... :-)
I'm reading less list traffic now (for instance, I haven't even read the
ipchains thread on this list), but let me know if you have any problems
(sending mail to my list address rpaiz@xxxxxxxxxxxxxx and copying the list
is a good way to get my attention, then I'll respond on-list).
Also, Carrie, I suggest you create a junk domain for yourself (anything...
carriesplace.com is good) and play with that when trying new things. It
really helps, as an additional tool for testing and debugging, and it costs
very little.
--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx