Portal Home > Knowledgebase > Articles Database > Sync a cpanel server with a standard bind server
Sync a cpanel server with a standard bind server
Posted by madpato, 10-08-2009, 11:34 AM |
Well these are 2 questions in fact, the first is well, i have 2 servers with bind both, but one is a standard debian lenny with bind9 and the other is a cpanel one (w centos 5.3), the thing is i want to use debian as primary dns and cpanel as secondary. Is that possible? (any special steps to be done are welcome)
The second is that if i have my dns servers, which are not cpanel just standard linux boxes with bind, to make a cpanel server to use them as dns resolvers i just edit the resolv.conf (or the section in cpanel) and it should work? no extra steps necessary?
Thank you for you answers.
|
Posted by Exoware, 10-08-2009, 12:08 PM |
I believe this is something that cPanel actually support. I'm not personally too familiar with cPanel, but we have a customer with a script that seems to be straight from cPanel which allows for "clustered" DNS. Though, don't quote me on that
|
Posted by madpato, 10-08-2009, 04:58 PM |
nobody else can give me some advice?
thanks
|
Posted by cPanelDavidG, 10-09-2009, 05:25 PM |
cPanel DNSONLY is essentially a stripped down version of cPanel/WHM. This means that DNSONLY only supports the same operating systems as cPanel/WHM. At this time, Debian distributions are not currently supported by cPanel/WHM.
|
Posted by Xous, 10-10-2009, 01:07 AM |
Hi,
cPanel's DNSOnly is free and would probably be the best option if your just want cPanel on it.
You could also just hack together a script that reads the /etc/bind.conf, yanks a list of zones, and generates the required slave zone declarations on the regular server.
|
Posted by Mr.TOXIC, 10-10-2009, 01:53 AM |
Yes just edit resolv.conf and add nameserver
It will work.
|
Posted by eth1, 10-10-2009, 04:31 AM |
It should work provided DNS recursion is On in your BIND name server setup. I suggest to lock down DNS and only allow recursion from the IP address/range of your cPanel server.
The following URL has information,
|
Posted by madpato, 10-11-2009, 02:37 AM |
i've done those changes, the results should be inmediate or i need to wait for refresh? since it's not working yet.
thank you.
Last edited by madpato; 10-11-2009 at 02:45 AM.
|
Posted by eth1, 10-11-2009, 06:11 AM |
You need to reload bind/named service. The script for reloading named/bind should be in /etc/init.d/named reload or /etc/init.d/bind reload
|
Posted by madpato, 10-11-2009, 07:07 PM |
well i did thats why i'm asking when i query with host mydomain.com i got a 2(SERVFAIL) response.
|
Posted by eth1, 10-12-2009, 03:17 AM |
Directly query the nameservers IP using dig,
If the IP address the nameserver is listening on is 192.168.1.2 then,
|
Add to Favourites Print this Article
Also Read
Pixel Seven (Views: 718)
Virtual ISP (Views: 683)