3 dns server – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 827

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 827 of 855


Command Syntax

dns domain domain-name
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.

Advertising