Specifications
Command Groups
A-118
dns
Thiscommandspecifiestheaddressfortheprimaryorsecondarydomainnameservertobeused
forname‐to‐addressresolution.
Syntax
dns primary-server <server-address>
dns secondary-server <server-address>
•primary‐serveristheprimaryserverusedfornameresolution
•secondary‐serveristhesecondaryserverusedfornameresolution
•server‐addressistheIPaddressofdomain‐nameserver
Default Setting
None
Command Mode
GlobalConfiguration
Command Usage
Theprimaryandsecondarynameserversarequeriedinsequence.
Example
Thisexamplespecifiestwodomain‐nameservers.
Related Commands
showinterfaceethernetpageA‐123
RoamAbout 3000#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 3000(config)#interface ethernet
Enter Ethernet configuration commands, one per line.
RoamAbout 3000(if-ethernet)#dns primary-server 192.168.1.55
RoamAbout 3000(if-ethernet)#dns secondary-server 10.1.0.55
RoamAbout 3000(if-ethernet)#