• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Need help configuring plesk slave dns manager

KamalG

Basic Pleskian
I have setup bind in centos 6.5 and then edited /etc/named.conf and added the lines

the extension produced but I am getting the following error when restarting the bind service

Error in named configuration:
/etc/named.conf:2: unknown option '...'
/etc/named.conf:14: unknown option '*'
/etc/named.conf:21: 'options' redefined near 'options'

the following code suggested by plesk slave dns manager extension
Code:
    options {
        ...
        allow-new-zones yes;
    };
    
    key "rndc-key-mainserver ip" {
      algorithm hmac-md5;
      secret "ZWMNWFhNDRlNzI4OTkzMjYzZQ==";
    };
    
    controls {
        inet * port 953 allow { Main Server IP; 127.0.0.1; } keys { "rndc-key"; "rndc-key-mainserver ip"; };
    };

after I removed ... from the options now I get the following error :

/etc/named.conf:51: unknown key 'rndc-key'
 
Last edited:
Back
Top