Installing and Administering Internet Services
90 Chapter3
Configuring and Administering the BIND Name Service
Configuring a Primary Master Name Server
include /etc/security/keys.bind;
include /etc/acls.bind;
NOTE An include statement cannot be used within another statement.
Therefore, a line such as the following is not allowed:
acl internal_hosts {include internal_hosts.acl};
Also, do not type "#include" as you would in a C program. The symbol "#"
is used to start a comment.
The ACL statement, can_query, will allow queries from any host in
network 1.2.3.
key Statement
The key statement in the /etc/named.conf file specifies information for
use in authentication and authorization. It checks for syntax only. The
syntax to use the key statement is as follows:
key key_id {algorithm algoritm_id;
secret secret_string; };
The algorithm_id is a string that specifies a security or authentication
algorithm. The parameter secret_string is the secret to be used by the
algorithm.
Example:
The key statement defines a key ID that can be used in a server
statement to associate an authentication method with a particular name
server. A key ID must be created with the key statement before it can be
used in a server definition.
logging Statement
The logging statement in the /etc/named.conf file specifies what the
server logs and where the log messages are sent. The logging statement
also configures a wide variety of logging options for the name server.
The logging statement configures the logging system, which send
messages to one or more channels.