SETNAMESERVERS(1M) SETNAMESERVERS(1M)
setNameServers - set nameserver entries in /etc/resolv.conf
/usr/sysadm/privbin/setNameServers [ nameserver1 ] [ nameserver2 ] [
nameserver3 ]
setNameServers is a privileged command that edits /etc/resolv.conf to
contain the nameserver entries specified on the command line. After
setNameServers runs, the only nameserver entries in /etc/resolv.conf will
be those that were specified on the command line. Thus, if no nameserver
entries are specified, all nameserver entries in /etc/resolv.conf will be
removed.
Between 0 and 3 nameservers can be specified on the command line.
/etc/resolv.conf DNS configuration file.
sysmgr(1M), runpriv(1M), named(1M), resolver(4).
PPPPaaaaggggeeee 1111 [ Back ]
|