The key Statement

The key statement assigns an internal name, called a key-id, to an algorithm/key pair used for strong authentication. The syntax of the key statement is the same for both BIND 8 and BIND 9. Listing B.9 shows the syntax.

Listing B.9: The key Statement Syntax key key_id {

algorithm algorithm_id; secret secret_key;

key_id The name assigned to the algorithm/key pair.

algorithm_id The authentication algorithm used. At this writing, the only acceptable value for both BIND 8 and BIND 9 is hmac-md5.

secret_key A base-64 encoded key used by the algorithm. Use the dnskeygen utility to generate the secret_key.

Was this article helpful?

0 0

Post a comment