Symptoms
Unable to start BIND DNS server on Plesk server:
named[17147]: no longer listening on 127.0.0.1#53
bind9.service: Failed with result 'timeout'
Cause
Custom BIND configuration.
Resolution
-
Connect to the server via SSH.
-
Open
/lib/systemd/system/bind9.service
in any text editor like vi-editor and make sure that[Service]
section looks as following:[Service]
EnvironmentFile=/etc/default/bind9
ExecStart=/usr/sbin/named $OPTIONS
ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop -
Start BIND service:
# systemctl daemon-reload && systemctl start bind9