beautypg.com

3 dns server – CANOGA PERKINS 9175 Command Reference User Manual

Page 753

background image

CanogaOS Command Reference

43-2

no dns domain domain-name

domain-name

Default domain name used to complete unqualified hostnames.

Default

No default domain name is defined for the DNS view.


Command Mode

Global configuration


Usage


Examples

The following example shows how to specify the default domain for DNS:

Switch(config)# dns domain www.example1.com


Related Commands

show dns

43.3 dns server

To add a name server to the list of Domain Name System (DNS) name servers to be used for a DNS

view to resolve internally generated DNS queries, use the dns server command in global configuration

mode. To remove a DNS name server from the list, use the no form of this command.


Command Syntax

dns server ip-address

no dns server ip-address

ip-address

IP address of a DNS name server.

Default

No IP address is explicitly added to the list of resolving name servers for this view, although an IP

address can be added to the list if dynamic name server acquisition is enabled.


Command Mode

Global configuration


Usage

This command can be entered multiple times to specify a maximum of three resolving name servers.

After three resolving name servers have been specified, additional resolving name servers cannot be

specified unless an existing entry is removed.


Examples

The following example shows how to specify the DNS server list: