Article ID: 116886, created on Aug 23, 2013, last review on Jan 5, 2015

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.3 for Linux/Unix


Named fails to start with error the key is invalid:

    # /etc/init.d/named status
    WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
    rndc: connection to remote host closed
    This may indicate that
    * the remote server is using an older version of the command protocol,
    * this host is not authorized to connect,
    * the clocks are not synchronized, or
    * the key is invalid.


Rndc secret key does not match in /etc/named.conf and /etc/rndc.conf.


  1. Make sure that rnds key is the same in /etc/named.conf and /etc/rndc.conf:

    #  less /etc/named.conf |grep secret
            secret "CeMgS23y0oWE20nyv0x40Q==";
    #  less /etc/rndc.conf |grep secret
            secret "CeMgS23y0oWE20nyv0x40Q==";
  2. If secret key does not correspond, update one of these files and set the same key.

Search Words

rndc: connection to remote host closed


connection refused named is stopped


rndc.key is invalid

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 f4ce8084cb23619ef5fe9428ecc388ea dd0611b6086474193d9bf78e2b293040

Email subscription for changes to this article
Save as PDF