Reference Guide

Brocade Fabric OS Command Reference 189
53-1004112-02
dnsConfig
dnsConfig
Sets, displays, or removes domain name service (DNS) parameters.
Synopsis dnsconfig
dnsconfig --add -domain name -serverip1 ipaddr serverip2 ipaddr
dnsconfig --delete
dnsconfig --show
dnsconfig --help
Description Use this command to display, set, or remove the domain name service parameters.
The domain name service parameters are the domain name and the name server IP address for primary and
secondary name servers. The dnsconfig command displays IPv4 and IPv6 addresses.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
Operands This command has the following operands:
--add
Sets the DNS configuration.
-domain name
Specifies the DNS domain name.
-serverip1 ipaddr
Specifies the DNS primary server IP address. The IP address can be an IPv4 or IPv6
address.
-serverip2 ipaddr
Specifies the DNS secondary server IP address. The IP address can be an IPv4 or IPv6
address.
--delete
Removes the DNS configurations.
--show
Displays the current DNS configuration.
--help
Displays the command usage.
Examples To set the DNS parameters for the system:
switch:admin> dnsconfig
Enter option
1 Display Domain Name Service (DNS) configuration
2 Set DNS configuration