Specifications

228 Chapter 14 Configuring and Managing Network Services
Viewing the Location of the DHCP Service Log
To view the location of the DHCP service log, use the following command with the
serveradmin tool.
To view the log path:
$ sudo serveradmin command dhcp:command = getLogPaths
The computer responds with the following output:
dhcp:systemLog = <system-log>
Viewing the DHCP Service Log
To view the contents of the DHCP service log, use tail or another file listing tool.
To view the latest entries in a log:
$ tail
log-file
Managing DNS Service
Domain Name System (DNS) is a distributed database that maps IP addresses to
domain names so users can find the resources by name rather than by numerical
address. A DNS server keeps a list of domain names and the IP address associated with
each name.
To manage DNS service, use the serveradmin tool.
Starting and Stopping DNS Service
To start the service:
$ sudo serveradmin start dns
To stop the service:
$ sudo serveradmin stop dns
Checking the Status of DNS Service
To see summary status of the service:
$ sudo serveradmin status dns
To see detailed status of the service:
$ sudo serveradmin fullstatus dns
Command
(
dhcp:command=) Description
getLogPaths Display the location of the DHCP service log.
Value Description
<system-log> The location of the DHCP service log.
Default =
/var/logs/system.log