Remove zone file in /var/named
rm /var/named/domain.com.db
Find the domain in the /var/cpanel/users directory
grep -R -i domain.com *
Modify the cpanel user file
vi username_found_with_grep remove all references to domain
Modify /etc/named.conf file and remove all references to domain
REMOVE this entire entry, include the
trailing '};'
zone "domain.com" {
type master;
file "/var/named/ttiappliances.com.db";
};
Reload named
/etc/init.d/named reload
Cleanliness - remove references from:
vi /etc/userdomains vi /etc/localdomains
