setnameserver(8)
170 XSCF Reference Manual • Last Revised January 2007
EXTENDED
DESCRIPTION
■ If multiple DNS servers are specified, names are solved in the order specified.
■ The currently set DNS server can be checked by using the shownameserver(8)
command.
EXAMPLES
EXAMPLE 1 Addsthe hosts with the IP addresses 192.168.1.2, 10.18.108.10, and10.24.1.2
as DNS server. Names are solved in the order specified.
EXAMPLE 2 Deletes the host with the IP address 10.18.108.10 from the DNS server.
EXAMPLE 3 Deletes all the DNS servers.
EXIT STATUS The following exit values are returned:
SEE ALSO shownameserver(8)
XSCF> setnameserver 192.168.1.2 10.18.108.10 10.24.1.2
XSCF> setnameserver -c del 10.18.108.10
XSCF> setnameserver -c del -a
0 Successful completion.
>0 An error occurred.