Fujitsu SPARC ENTERPRISE M3000 Xscf Reference Manual page 263

Xscf control package (xcp) 109x
Hide thumbs Also See for SPARC ENTERPRISE M3000:
Table of Contents

Advertisement

The DNS domain name (set by the sethostname(8) command) and search path
(set by the setnameserver(8) command) together can contain up to 256
characters.
To change the DNS servers and the DNS search paths in XSCF, execute the
applynetwork(8) command. Then, use the rebootxscf(8) command to reset
XSCF, completing the change.
The currently set DNS server can be checked by using the shownameserver(8)
command.
EXAMPLES
EXAMPLE 1
XSCF>
EXAMPLE 2
XSCF>
EXAMPLE 3
XSCF>
nameserver 10.24.1.2
nameserver 10.24.1.2
nameserver 10.24.1.2
XSCF>
XSCF>
nameserver 10.24.1.2
EXAMPLE 4
XSCF>
EXAMPLE 5
XSCF>
search3.com search4.com search5.com
EXAMPLE 6
XSCF>
Adds the hosts with the IP addresses 192.168.1.2, 10.18.108.10, and 10.24.1.2
as DNS server. Names are solved in the order specified.
setnameserver 192.168.1.2 10.18.108.10 10.24.1.2
Deletes the host with the IP address 10.18.108.10 from the DNS server.
setnameserver -c del 10.18.108.10
Deletes the first two DNS servers whose IP addresses are 10.24.1.2. This case
is when a DNS server is listed multiple times.
shownameserver
setnameserver -c del 10.24.1.2 10.24.1.2
shownameserver
Deletes all the DNS servers.
setnameserver -c del -a
Registers the domain names search1.com, search2.com, search3.com,
search4.com, and search5.com to the search path.
setnameserver -c addsearch search1.com search2.com
Deletes the domain name search5.com from the DNS search path.
setnameserver -c delsearch search5.com
setnameserver(8)
System Administration
239

Advertisement

Table of Contents
loading

Table of Contents