Link to home
Start Free TrialLog in
Avatar of rawandnet
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

ASKER CERTIFIED SOLUTION
Avatar of mikestify
mikestify

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rawandnet
rawandnet

ASKER

I have renamed rndc.key to rndc.conf, this time i got.

"rndc: neither /etc/rndc.conf nor /etc/rndc.key was found"
“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

thanks for your help, the problem was the file name as you said.