Fix Corrupted named.conf in cPanel Server
This article provides a resolution in case you experience a corrupted named.conf file on a cPanel server.
Move Existing named.conf
As the root user, run the following command to move your existing named.conf file:
# mv /etc/named.conf /etc/named.conf.bak
Run cPanel-Provided Script
Run the following cPanel script on your server to rebuild named.conf:
Restart the named service:
# /etc/init.d/named restart
Following the restart, your server will have proper named.conf file.
Was this answer helpful?
Flushing your DNS cache can be useful when the information about a domain you hold is outdated,...
Flushing the DNS resolver cache can help resolve DNS related problems in Microsoft Windows 10....
Mod_security is an apache module that helps to protect your website from various attacks. It is...
Redirect All Traffic to HTTPS To redirect ALL http requests to https, add the following lines to...
Slow WHMCS domain lookups are a source of frustration for some clients, as this, in turn, leads...