Professional Documents
Culture Documents
The following svcs command is used to determine the status of the DNS-related
services:
The following svcadm commands enable the DNS naming service and the default client
service:
Note: The DNS client service will not start any new processes, but when enabled, checks
that the system is configured as a DNS client with an /etc/resolv.conf file. Other
services used for managing application and daemons that require DNS, such as LDAP,
will have a dependency on the DNS client service to ensure that the system is a DNS
client.
The named daemon reads the /etc/named.conf file when the daemon is started by the
SMF. The configuration file directs the named daemon either to other servers or to local
data files for a specified domain.
The /etc/named.conf file contains statements and can contain comments. Statements
end with a semicolon (;), they can contain a block of statements enclosed within curly
braces ({}), and each statement in the block is terminated with a semicolon (;).
Comments can start with /* and end with */, can follow either # or //, and can extend to
the end of the line.
Syntax checking: