setnameserver(8)
238 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised February 2010
OPERANDS The following operand is supported:
EXTENDED
DESCRIPTION
■If multiple DNS servers are specified, the servers are used in the order specified.
■The registered DNS search path is used, as in the case where you use the
nslookup(8) command and refer to the DNS server for the host name. The host
name that you specified in the nslookup(8) command will be appended with
the domain name which registered in the DNS search path, and be referred to the
DNS server in the FQDN format.
■If multiple search paths are registered, domain names are assigned in order of
registration and referred to the DNS server.
■If you set the DNS search path, you must also specify the DNS server.
-c del Deletes specified DNS servers. If the -c option is omitted, "-c
add" is assumed specified. When deleting multiple DNS servers,
the servers are deleted in the order they are specified. See
EXAMPLE 3.
-c delsearch Deletes specified DNS search path. If the -c option is omitted,
"-c add" is assumed specified. When deleting multiple DNS
search paths, the search paths are deleted in the order they are
specified.
-h Displays usage statement. When used with other options or
operands, an error occurs.
address Specifies the IP address of a DNS server to be added or deleted
using four sets of integers. Up to three addresses delimited by the
space can be specified. The following address form is accepted:
xxx.xxx.xxx.xxx
xxx An integer from 0–255. Zero suppression can
be used to specify the integer.
You cannot specify the loopback address (127.0.0.0/8), the
network address, or a broadcast address.
domainname Specifies the domain name of the DNS search path to be
registered or deleted. You can use a RFC 1034-compliant format.
The label element can contain letters (a to z, A to Z), numbers (0
to 9), and the special characters "-" (hyphens) and "." (period).
The domain name must begin with a letter and end with either a
letter or number. A "." (period) can be used as delimiter. You can
specify up to five domain names, each separated by a space, but
the total number of characters cannot exceed 256.