Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cisco commands

Status
Not open for further replies.

raaudia4

Technical User
Joined
Mar 1, 2002
Messages
88
Location
US
I am in the process of setting up nat to a cable modem using a cisco 2514 router 12.2IOS. Can anyone explain the difference and significance of these commands:

ip name-server
dns-server

I went to cisco's website and I,m still unclear as to when, and how to use them.
Thanx in advance
 
I don't know about dns-server command, but command "ip name-server" will specify ip-address of host computer to act as ip-address to name resolution server for Cisco routers. Basically you will specify address of DNS server to be used with Cisco routers.
 
I don't think that dns-server is a valid command ....

router(config)#dns?
dnsix-dmdp dnsix-nat

router(config)#dns

However, on the Catalyst switch series you do have the command ..

set ip dns server <dns_IP_address> [primary]

This command can't be used on routers. On a router you would use the &quot;ip name-server <ip_addr>&quot; command.

Chris.
************************
Chris Andrew, CCNA
chrisac@gmx.co.uk
************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top