msgbartop
I will happily conduct a FREE basic web security scan for any genuine organization interested in my services to point out whether or not I can find vulnerabilities in your application. Just contact me.
Need a PHP Programmer, PHP staff or project manager? Contact me now.
msgbarbottom

20 Apr 09 cPanel rebuild all DNS zones

I recently had my datacenter set up a new cPanel/Fantastico server for our hosting platform. Unfortunately they spelled the site name incorrectly which caused a load of problems. You can change the hostname with relative ease from within the basic setup section, however once the wrong nameservers are specified and domains are generated you’re stuck.

After fixing the nameserver addresses, you’d think that ‘/scripts/rebuildnsdzones’ or ‘/scripts/rebuildnamedconf’ would be obvious candidates however no such luck.

The answer came in the form of a 3rd party script. Back up your /var/named directory, and then download/run this perl script: http://mirrors.ndchost.com/pub/ndchost/scripts/cpanel_rebuildbindzones

Did the job perfectly for me :)



Leave a Comment

You must be logged in to post a comment.