• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

problem starting dns

dfutura

Basic Pleskian
when i stop,staro or restart dns i have this problem:

/etc/init.d/named restart
Parando named: rndc: connect failed: connection refused
[FAIL]



/etc/messages->
Jul 28 18:52:18 bcl00761 named[4887]: starting BIND 9.2.1 -u named -c /etc/named.conf -u named -t /var/named/run-root
Jul 28 18:52:18 bcl00761 named[4887]: using 1 CPU
Jul 28 18:52:18 bcl00761 named[4887]: loading configuration from '/etc/named.conf'
Jul 28 18:52:18 bcl00761 named[4887]: /etc/named.conf:303: expected quoted string near '/'
Jul 28 18:52:18 bcl00761 named[4887]: loading configuration: unexpected token

/etc/named.conf ->
297 zone "22.151.62.in-addr.arpa" {
298 type master;
299 file "22.151.62.in-addr.arpa";
300 allow-transfer {
301 common-allow-transfer;
302 };
303 };
304 acl common-allow-transfer {
305 none;
306 };
 
Put that line 303 back in the file.

From what you posted, line 303 is not the actual problem. The problem probably lies somewhere else in the file and the error is mis-reporting 303 as the line number.

Have you verified that there are no ^M characters in the named.conf file? Do a:

cat -A /var/named/run-root/etc/named.conf

and see if you find any ^M chars at the end of any line. If you do, then do:

dos2unix /var/named/run-root/etc/named.conf

and try restarting named again.

Another thing you can do is search in the named.conf file for any place which contains the '/' character, since that is what the error message is saying the problem is near.

For example, if you installed a previous version of PSA PowerToys, it inserts a line:

include "/etc/psaptzone.files";

but some versions forgot to put the quote marks around it, which caused named to fail on loading.
 
Back
Top