network dns delete searchdomain

Delete a DNS search domain from the network configuration for the appliance.

When you delete a DNS search domain, you delete it from a specific network device on the appliance (eth0, eth1, eth2, eth3, bond0, bond1). When you delete a DNS search domain 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 search domain from the DNS table for the appliance, you must delete the DNS search domain from each device to which it was added. If you do not delete the DNS search domain 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 search domains, 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 searchdomain <ip_address> -device<net_device>

Argument(s) Shortcut Description
<ip_address>  

Delete the specified search domain 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 searchdomain thales.com -device eth0


Command Result : 0 (Success)