network dns add nameserver

Add a domain name server to the network configuration for the appliance. The name server is added to the appliance DNS table. You can add up to three different DNS nameservers to the appliance DNS table. There is one DNS table that applies to all network devices (ports) on the appliance.

When you add a DNS server, you add it to a specific network device on the appliance (eth0, eth1, eth2, eth3, bond0, bond1). When you add a DNS server to a device, it is added to the DNS table for the appliance and becomes available to all devices on the appliance, provided the device you added it to is connected to the network. For example, if you add a DNS server to eth0, all devices will be able to access the DNS server if eth0 is connected to the network. If eth0 is disconnected from the network, access to the DNS server is lost for any devices to which you did not add the DNS server. To ensure that any DNS server you add is available in the event of a network or port failure, it is recommended that you add it to all devices you will use to connect the appliance to the network.

NOTE   Although you can use this command to add more than three different DNS nameservers, only the first three that you add are used. Any additional nameservers that you add are ignored.

To display the current DNS settings for the appliance, use the command network show.

NOTE   Running this command changes the interface state and causes the ctc service to restart (see Crypto Traffic Controller for QoS).

You must restart the ntls service (lunash:> service restart ntls) for DNS changes to take effect.

User Privileges

Users with the following privileges can perform this command:




network dns add nameserver <ip_address> -device<net_device>

Argument(s) Shortcut Description

Specifies the IP address of the DNS server you want to add to the DNS table on the appliance.

-device <net_device> -d

Add the specified network device to the DNS table.

Valid values: eth0, eth1, eth2, eth3, bond0, bond1


lunash:>network dns add nameserver -device eth0

Command Result : 0 (Success)