Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip name server

Printer-Friendly Format

Command

IP Name Server

Use

This command allows you to set which DNS server the router will query when trying to resolve domain names.

Syntax

Router(config)#ip name-server <name>

Example

In this example we configure the ip name-server command to allow a router to resolve hostnames.

2611XM(config)#ip name-server 10.10.2.1
2611XM(config)#do ping google.com

Translating "google.com"...domain server (10.10.2.1) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.85.171.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms



Back to commands department




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software