rawandnet
asked on
Bind Security: Transaction Signatures (TSIG) Configuration got error message
Bind Security: Transaction Signatures (TSIG) Configuration
After creating secret key and creating rndc.key file. I issued rndc reload
rndc.key file
key "TRANSFER" {
algorithm hmac-md5;
secret "74l95HfTv+9XWMCj+qMxhQ==" ;
};
server 10.1.3.176 {
keys {
TRANSFER;
};
};
Error
rndc: error: /etc/rndc.key:6: unknown option 'server'
rndc: could not load rndc configuration
After creating secret key and creating rndc.key file. I issued rndc reload
rndc.key file
key "TRANSFER" {
algorithm hmac-md5;
secret "74l95HfTv+9XWMCj+qMxhQ=="
};
server 10.1.3.176 {
keys {
TRANSFER;
};
};
Error
rndc: error: /etc/rndc.key:6: unknown option 'server'
rndc: could not load rndc configuration
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
“Service named restart” doesn’t issue an error and will update slave server. But “rndc reload” does’t update slave and shows error:
rndc: error: /etc/rndc.key:6: unknown option 'server'
rndc: could not load rndc configuration
rndc: error: /etc/rndc.key:6: unknown option 'server'
rndc: could not load rndc configuration
ASKER
thanks for your help, the problem was the file name as you said.
ASKER
"rndc: neither /etc/rndc.conf nor /etc/rndc.key was found"