Setnameserver – FUJITSU SPARC ENTERPRISE M4000 User Manual
Page 203

setnameserver(8)
System Administration
219
NAME
setnameserver - set the domain name system (DNS) servers used in the XSCF
network
SYNOPSIS
setnameserver
[-c add] address ...
setnameserver -c del
address ...
setnameserver -c del -a
setnameserver -h
DESCRIPTION
setnameserver
(8) command specifies the DNS servers used in the XSCF network.
Up to three DNS servers can be registered for XSCF. Any attempt to register four or
more DNS servers causes an error.
Privileges
You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS
The following options are supported:
OPERANDS
The following operand is supported:
-a
Deletes all the DNS servers that are currently registered. This
option is used with the "-c del".
-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 overwriting is
performed with the specified address.
-c del
Deletes the host with the specified IP address from the DNS
servers that are set. If the -c option is omitted, "-c add" is
assumed 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.