Portal Home > Knowledgebase > Articles Database > Customized named.conf in cPanel


Customized named.conf in cPanel




Posted by jcisio, 10-28-2009, 01:55 PM
Hello, I'd like to add geodns to BIND, so I need to modify named.conf. All that I will put into is a include of an acl file (for different IP ranges), and add a new view for existed domain. My VPS use cPanel. What is the best way to handle this, as named.conf can be modify by cPanel? I can modify the template in /scripts/rebuilddnsconfig, but I don't know how to add a new view. There's only one site in my VPS. But I use a few subdomains in DNS (legacy issues). Only one db file in /var/named/example.com.db Thank you

Posted by david510, 10-28-2009, 02:22 PM
You will need to patch bind with GeoDNS-Patch and recompile it before you can use bind for geodns. Once this is done, you need to edit named.conf for enabling the geodns in named.

Posted by jcisio, 10-28-2009, 07:32 PM
In fact I know how to make geo-aware DNS. No need for a patch with new version of BIND (instruction here http://phix.me/geodns/). There problem is named.conf is re-generated by cPanel.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
cloud communication (Views: 458)