DNS servers play a wide variety of roles—a single name server may be a master for some zones, a slave for others, and provide caching or forwarding services for still others. Indeed, much of BIND 9's power comes from allowing fine-grained control over operational functionality.
The role of the name server is controlled by its configuration file, which in the case of BIND 9 is called
named.conf. The combination of global parameters in the
named.conf file (defined in an
options clause) and the zones being serviced (defined in one or more
zone clauses) determine the complete functionality of the name server. Depending on the requirements, such configurations can become very complex. In order to provide an approachable starting ...