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
after I removed ... from the options now I get the following error :
/etc/named.conf:51: unknown key 'rndc-key'
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: