Command Line Interface User’s Guide
5.12
DNS
list
help
set
dnsr
Commands for setting DNS parameters are in the “dns” directory. From the “home” directory,
type “dns” to enter the directory. The available commands are shown below after typing ls.
Among the commands,
help
is used to give instructions about how to use the other commands.
5.12.1
list
list
This command lists DNS domain name and name server.
5.12.2
set
set -d <domain_name>
set [–n1 <name_server>] [–n2 <name_server>]
This command sets DNS entries for the system. The domain_name specifies the name of this
domain for the endpoint. The name_server specifies the IP address of the server resolving DNS
requests. To clear a domain entry, specify double quotes (“”) for the domain name. To clear the
name server entry, specify 0 as the name server.
COMMAND DESCRIPTION
-n1 <name_server>
This specifies the primary name server.
-n2 <name_server>
This specifies the secondary name server.
EXAMPLE
[cli @ dns]$ set -d wang.com
This command sets the domain name to “wang.com”.
[cli @ dns]$ set -d “”
This command removes the domain name.
98 1800-A2-GB20-00