• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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