server executable
is in and verify that the executable is on your system. On BSD
systems, the name server started its life in
/etc, but may have migrated to
/usr/sbin. Other places to look for
named are /usr/etc/in.named
and /usr/sbin/in.named. The following
descriptions assume that the name server is in
/usr/sbin.
To start up the name server, you must become root. The name server
listens for queries on a reserved port, so it requires root
privileges. The first time you run it, start the name server from the
command line to test that it is operating correctly. Later,
we'll show you how to start up the name server automatically
when your system boots.
The following command starts the name server. We ran it on the host
terminator.movie.edu:
# /usr/sbin/named
This command assumes that your configuration file is
/etc/named.boot (BIND 4) or
/etc/named.conf (BIND 8 or 9). You can put your
configuration file elsewhere, but you have to tell the name server
where it is using the -c command-line option:
# /usr/sbin/named -c conf-file