I am running WHM/cPanel installed on FreeBSD and when I try to run the built-in DNS Cleanup tool I get:
Fatal! /etc/namedb/named.conf fails named-checkconf, please repair named.conf and try again /etc/namedb/named.conf:142: unknown option 'zone' /etc/namedb/named.conf:1595: unexpected token near end of file
Is /etc/namedb recursively owned by user 'bind'? This is needed for named to start. Which user is the admin panel running as? If it's user 'www' (is it?) then there may not be a group 'www'. You'll have to add it.
As to the named error: it looks like you forgot to close the 'options' part of named.conf. You'll find that it starts with options {. Make sure it ends with }; before the zone definitions start. That goes for other categories like 'logging' as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.