Wednesday, November 9, 2011

rebuilding corrupted named.conf in cpanel

Sponsored Links
Sometimes we will get our named.conf corrupted. Here is the way to fix that in cpanel servers.

First of all clear the named.conf using the following command

root@cpaneltest [~]#> /etc/named.conf

Now execute the cpanel script to rebuild the named.conf
root@cpaneltest [~]#/scripts/rebuildnamedconf

Now restart the named service
root@cpaneltest [~]#/etc/init.d/named restart
Everything should be fixed now.
Sponsored Links

No comments:

Post a Comment

Be nice. That's all.