DistributedNetworks DistributedNetworks


DNS Lookup   «Prev  Next»
Lesson 6 Name server configuration
ObjectiveDefine the Elements of the Name Server Configuration File.

Define Elements of the Name Server Configuration File

The name server configuration file (/etc/named.boot) is a simple text file in which comment lines are indicated with a semicolon (;). Each line of the file addresses some aspect of name server configuration. The lines have the following format:

Directive Arguments

The code below is a typical example of an /etc/named.boot file.
The directory directive establishes an initial path for later file references, to make the file easier to read. In our example, all future file references are relative to the path /var/named


Name Server Configuration File Example
Earlier, we pointed out that an @ sign in a zone file is replaced by the server with the appropriate zone. The information to replace the @ sign comes from the named.boot file.
Notice that no special configuration is necessary to create a caching-only server. Simply specify no primary or secondary zones (except loopback), and you will get a caching server.