For your convenience, here are the steps you followed to kill the name server process and edit the named.boot file on a Solaris machine:
-
The first thing you need to do is stop the
in.named
process so that you can configure it with the named.boot file.
Before you can do that, however, issue the following command to learn the PID of the in.named
process:
ps -ef | grep in.named
-
Notice that the
in.named
process has the PID of 229. Kill the in.named
process, stopping it completely.
Solution: kill -TERM 229
-
You have stopped the
in.named
process on your system. View the /etc/named.boot file using the cat
command.
-
The name of this file shows you that you are using an older version of BIND, which is still quite common.
Newer versions of BIND use the /etc/named.conf file.
For the purpose of this simulation, we have set up the proper
primary
directives, one for the forward zone file and one for the reverse zone file.