The DNS resolver stores its logging information in the /var/adm/syslog file. These entries have the following basic format:
Jan 22 15:44:58 LOG_NOTICE syslog[799]: dnsdamon: <message text>
The date and time output is followed by a keyword denoting the message classification. The DNS resolver daemon only uses the LOG_NOTICE keyword for its logging messages.
The classification is followed by the ID as a system message (syslog) with information on the relevant process ID (PID) [pid]. If no valid PID is available for the message output (e.g. the message issued by the daemon start procedure), an empty parenthesis expression is output. The name of the daemon (in this case dnsdamon) is output after the PID, enclosed in colons (:). The actual message text then follows.
No further logging messages are output after the stopdns command is entered, i.e. when the DNS resolver daemon terminates or is no longer running.