Unable to start BIND service in Tools & Settings > Services management:
PLESK_ERROR: "Unable to start service: Unable to manage service by dnsmng: ('start', 'dns'). Error: "
A similar error can be found in journalctl, or in
CONFIG_TEXT: systemd: Starting Berkeley Internet Name Domain (DNS)...
named-checkconf: /etc/named.conf:86: syntax error near '}'
systemd: named-chroot.service: control process exited, code=exited status=1
systemd: Failed to start Berkeley Internet Name Domain (DNS).
Incorrect syntax of
Connect to the server via SSH;
Comment out wrong lines taken from the error message in
/etc/named.conffile. For example, to comment out line #86, execute the following command:
# awk 'NR==86' < /etc/named.conf
If there is a different line number reported in the error, replace 86 to the actual line number in the command.
Verify the configuration file:
# named-checkconf /etc/named.conf
# echo $?
Start DNS service via Tools & Settings > Services Management.