network dns delete nameserver
Delete a domain name server from the network configuration for the appliance.
When you delete a DNS server, you delete it from a specific network device on the appliance (eth0, eth1, eth2, eth3, bond0, bond1). When you delete a DNS server from a device, it is deleted from the DNS table for the appliance only if it is not configured on any other network devices on the appliance. To completely remove a DNS name server from the DNS table for the appliance, you must delete the DNS name server from each device to which it was added. If you do not delete the the DNS name server from each device to which it was added, it will continue to be listed in the DNS table for the appliance and will be available to all devices on the appliance, provided the device it is added it to is connected to the network.
To display the current DNS settings for the appliance, including the name servers, 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:
>Admin
>Operator
Syntax
network dns delete nameserver <ip_address> -device<net_device>
Argument(s) | Shortcut | Description |
---|---|---|
<ip_address> |
Delete the specified name server from the DNS table. |
|
-device<net_device> | -d |
Delete the specified network device from the DNS table. Valid values: eth0, eth1, eth2, eth3, bond0, bond1 |
Example
lunash:>network dns delete nameserver 11.22.33.44 -device eth0 Command Result : 0 (Success)