setnameserver(8)
EXTENDED
DESCRIPTION
EXAMPLES
EXIT STATUS
SEE ALSO
214
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised June 2007
If multiple DNS servers are specified, names are solved in the order specified.
■
To reflect the DNS server name to XSCF, execute the applynetwork(8)
■
command. After reflected the information, use the rebootxscf(8) command to
reset XSCF to complete the setting.
The currently set DNS server can be checked by using the shownameserver(8)
■
command.
Adds the hosts with the IP addresses 192.168.1.2, 10.18.108.10, and 10.24.1.2
EXAMPLE 1
as DNS server. Names are solved in the order specified.
setnameserver 192.168.1.2 10.18.108.10 10.24.1.2
XSCF>
Deletes the host with the IP address 10.18.108.10 from the DNS server.
EXAMPLE 2
setnameserver -c del 10.18.108.10
XSCF>
Deletes all the DNS servers.
EXAMPLE 3
setnameserver -c del -a
XSCF>
The following exit values are returned:
Successful completion.
0
An error occurred.
>0
rebootxscf(8), shownameserver(8)