Solaris 10 Installation Guide: Network-Based Installations

DNS Syntax for name_service Keyword

Use the following syntax to configure the system to use DNS.

name_service=DNS {domain_name=domain-name 

Specifies the domain name.


Specifies the IP address of the DNS server. You can specify up to three IP addresses as values for the name_server keyword.


(Optional) Specifies additional domains to search for name service information. You can specify up to six domain names to search. The total length of each search entry cannot exceed 250 characters.

Example 6–3 Specifying a DNS Server With the name_service Keyword

The following example specifies a DNS server with the domain name The server IP addresses are and and are listed as additional domains to search for name service information.

name_service=DNS { 

For more information about the DNS name service, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).