Configuring DNS   «Prev  Next»
Lesson 6 Preparing the named.boot file
Objective Set up the proper directives in the named.boot file.

Preparing named.boot File

Kill the Name Server Process

Once you have created and positioned your zone files, you kill the name server process. Use the command ps aux | grep named to see if the name server process is running.
If it is, note the PID, then kill it.
On Solaris, the name service process is called in.named. Use ps –ef | grep in.named to see if the name server process is running. To kill the named process, type kill –TERM followed by the PID. This will completely stop the process. If you want to kill the named process and restart the name server, use kill –HUP followed by the PID.

Prepare the named.boot file

Once you have killed named, you can then create (or edit) the named.boot file, using the instructions we discussed in an earlier lesson. However, newer versions of BIND (such as 8.2.1) use a slightly modified file called /etc/named.conf.

Named directory file contents

If you are running a primary server, you will need to enter two primary directives. These directives are the names of the reverse and forward zone files that you created earlier. A secondary server will enter two secondary directives. You can also enter directives for cache and forwarding servers, as well.

Prepare named.boot File on Linux

Click the link below to examine the named.boot file on a Linux machine.
Prepare named.boot File on Linux

Prepare Named.boot File on Solaris

Click this Exercise link below to examine the named.boot file on a Solaris machine.
Prepare Named.boot File on Solaris