name-server

This command manages local DNS providers.

Syntax

name-server address

no name-server address

no name-server *

Parameters

address
Specifies the IP address or host name of the DNS server.
*
Indicates all DNS servers.

Guidelines

The name-server command manages the list of DNS servers. Use this command to create a list of one or more name servers that the appliance contacts to resolve host names. Each use of the command adds a server to the list.

Note: Unless explicitly instructed, do not change the settings for DNS name servers.

Use the no name-server command to delete a DNS provider.

[Deprecated]The following syntax is deprecated. For details about this usage, see the online help.

name-server address [UDP] [TCP] [flags] [count]

This command is equivalent to the Global ip name-server command.

Examples

  • Add the DNS server at 10.10.10.240 with the default port.
    # ip name-server 10.10.10.240
    
  • Delete the specified DNS provider.
    # no name-server 10.10.10.240
    
  • Delete all DNS providers.
    # no name-server *