Tox

Member
Aug 12, 2002
16
0
151
I got a second server to work with the first server's DNS by entering in a &Master Server& under &Setup& (at the top) and then selecting &Establish A Trust Relationship With a Primary Nameserver&. Then enter the &Master Server root password& and then finally select &Synchronize DNS Records With Primary Nameserver&.

That did it for me. I'm not sure whether further steps are needed but I could access the DNS records on server 1 from server 2 and new sites also resolved correct on server 2.
 

ecoutez

Well-Known Member
May 23, 2002
152
0
316
There are a couple questions burried in there, so lets get to it...

First, whether you buy a seperate domain name for each server, or use a subdomain like server1.yourcompany.com is only a choice that you can make. It's obviously more costly to buy a domain name for each box, and I doubt it accomplishes anything at all.

Not sure how #3 figures into this, but I'm going to guess what your question is.

You've got 12 servers. A client has his account on server #3. Which DNS servers are being used for his domain? Do they reside only on server #3? If this is the case, then it would make more sense to go a different route if possible.

You could arrange the servers in pairs or groups of 3 or 4. Lets say you do pairs. Server #1 and Server #2 would be setup with a DNS trust relationship whereby they BOTH have zone files (dns information) for domains on both servers. That gives you a little DNS redundancy which is always nice.

The other route, especially worth considering if you have more than one data center, would be to put another server up whose primary purpose will be as a master DNS server. It could maintain DNS zones for all 12 servers in the 'other' data center, and your clients might then use DNS servers like ns.yourcompany.com (the master server) and ns3.yourcompany.com (server #3's DNS). The advantage here is that you also gain redundancy of networks.

If this doesn't help, rephrase your question so we can help. ;)

- Jason
 

MrHits

Well-Known Member
Oct 31, 2001
92
0
306
rsync is your friend...


I do this with many servers..

I operate two DNS servers (non CPANEL)
On the DNS server I have a include statement in the named.conf that says

;WEB 11 INCLUDE ZONES
include &/etc/namedb/web11/web11.zones&;

;WEB 12 INCLUDE ZONES
include &/etc/namedb/web12/web12.zones&;

;WEB 13 INCLUDE ZONES
include &/etc/namedb/web13/web13.zones&;

etc...etc...


On each CPANEL server I have a script that does a LS in the /var/named directory and generates the file called web13.zones (web13.zones is a properly formated named.conf file only including the domain names and the path to the zone file)

Then I rsync via a cronjob, all the zone files including the include file to the web13 / web12 / web11 zone....

Works well for me.
 

itf

Well-Known Member
May 9, 2002
620
0
316
I think you want to have DNS1 DNS2 DNS3 DNS4 DNS5 .... DNS10

[b:7d79e292de]Method A)[/b:7d79e292de]It is like setting up a secondary DNS, you can make trust relationship between master name server and your slave name servers
like this:

DNS1 and DNS2,
DNS1 and DNS3,
DNS1 DNS4
...
DNS1 and DNS10

then DNS1 is a master DNS and DNS2 ... DNS10 will be slave

[b:7d79e292de]Method B)[/b:7d79e292de]Also you can setup trust relationship between your slave servers like this

DNS1 and DNS2,
DNS2 and DNS3,
DNS2 and DNS4,
DNS3 and DNS5
...

I recommend to use Method A (Multiple Replication servers)

I discussed setup procedures in this thread:
http://forums.cpanel.net/read.php?TID=2886