Setnameserver – FUJITSU SPARC ENTERPRISE M9000 User Manual
Page 261
setnameserver(8)
System Administration
237
NAME
setnameserver - set the domain name system (DNS) servers and the DNS search
paths used in the XSCF network
SYNOPSIS
setnameserver
[-c add] address ...
setnameserver
-c del address ...
setnameserver
-c del -a
setnameserver
-c addsearch domainname...
setnameserver
-c delsearch domainname...
setnameserver
-c delsearch -a
setnameserver
-h
DESCRIPTION
The setnameserver(8) command specifies the DNS servers and DNS search paths
used in the XSCF network.
Up to three DNS servers can be registered for XSCF. Up to five DNS search paths
can be registered.
Privileges
You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS
The following options are supported:
-a
Deletes all the DNS servers and the DNS search paths that are
currently registered. When deleting all DNS servers, this option
is used together with "-c del." When deleting all DNS search
paths, this option is used together with "-c delsearch."
-c
add
Adds the host with the specified IP address as a DNS server. This
option is used together with address. If the -c option is omitted,
"-c add" is assumed specified. When a DNS server is registered,
the existing setting is deleted and the specified address is added.
-c
addsearch
Registers the specified domain name to the DNS search path.
This option is used together with domainname. If the -c option is
omitted, "-c add" is assumed specified. When a DNS search path
is registered, the existing setting is deleted and the specified
domain name is added.