[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Secondary DNS and multiple subdomains



> I've looked about everywhere for the simple answer to this to no avail.
> 2 seperate RAQ4's - Primary and Secondary nameservers (master / slave
whatever).
> Mulitple subdomains on the same domain being served.
> www.sub1.domain.com
> www.sub2.domain.com
> www.sub3.domain.com
> These are setup with "www" as the hostname and "subX.domain.com" in both DNS
and site setup. Therefore they are not grouped under
> the "domain.com" section in DNS setup.

They should be in the domain.com DNS setup
I don't use the GUI. so not sure if there is a problem doing that.

> Primary full DNS records are in place on NS1.
> When setting up secondary on NS2 do I just need a secondary nameserver record
for "domain.com" or are secondary records needed for

No, you just need to tell the Slave (secondary depreciated) to serve as a Slave
for domain.com
They are probably not working if you set them up as seperate zones, on the
Master.

> every FQDN "subX.domain.com"? If so I would imagine that includes host names
like "www."?
> As far as I have read I should only need one for "domain.com" and it's "zone"
should include all subs.

Well, what is the problem? The subs don't resolve? they don't xfer?
You need two 'a' records for the subs in the main domain zone file.
sub1    IN    A  ip
www.sub1  IN  A  ip
Look at the pri.domain.com file in /etc/named.
see if it contains the correct info.

Gerald