Writers' Community!
Home News Business Science & Technology Life
Front Page Page Two Columnists Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,538 Authors
48,398 Quality Articles
& 6,730 Current Users Online!
Featured Authors
Avis Ward (12,701)
Richard Nicastro (2,545)
Dianne Lehmann (3,016)
Mogama (12,129)
Mike Fak (7,094)
Robert Melaccio, Sr. (6,658)
David Pekrul (613)
Terry Mitchell (2,761)
Sara O'Rourke (392)
Joel Hendon (4,797)
Susan Thom (9,073)
Laura Trahan (32,764)
Abigail Richards (6,279)
Peggy Butler (3,497)

View All Featured Authors
Most Recent
Windows Vista Sidebar, Gadgets, Easy Wireless Networking and Improved Back Features

CompTIA A+, Security+, Network+ Tutorial Ethernet Card Troubleshooting

CCNA, CCENT, CCNP Tutorial on Routers and Routing

CompTIA Security+ Article on Firewall Security Advantages and Firewall Functions

Microsoft Training Certifications

CCNA Security Exam Tutorial: When It's Good To Add Salt

Why Switch to Windows Vista

Free Cisco CCNA, CCENT, CCNP Certification Tutorial

Why People should get Network+, CCNA, CCNP or CCIE Network Based Certifications

Cisco CCNA And CCNP Practice Exam Questions: Frame Relay, Uplinkfast, And More!

Home » Categories » Computers & Networking » Technical Certification » Cisco CCNA Exam Tutorial: DNS And The IP Name-Server Command » Printer Friendly

Cisco CCNA Exam Tutorial: DNS And The IP Name-Server Command

Rated 3.5 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Saturday, April 01, 2006
Chris Bryant CCIE 12933 (13,682)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


DNS behaviors of a Cisco router are important topics for both the CCNA exam and real-world production networks, and you probably didn't know there were so many DNS details before you began studying for the exam! In this tutorial, we'll look at the ip name-server command and its proper usage.

When a command is mistyped on a Cisco router, the default behavior of the router is to attempt to resolve it via DNS. First, the router looks for an IP Host table on the local router to perform this resolution – that’s what the “translating" word in the output is referring to. If there’s no IP Host table or the IP Host table doesn’t contain an entry for what you typed, the router will send a broadcast in an attempt to resolve this name through a remote DNS server. To prevent this broadcast, enter the global command no ip domain-lookup . Of course, to use DNS to resolve hostnames, ip domain-lookup would have to be reenabled if it’s been turned off.

R2#contin Translating "contin"...domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address A command is mistyped as “contin". The Cisco router’s default behavior is to resolve this entry locally via an IP Host table, which isn't present on the router. A broadcast is then sent out to find a DNS server to perform the name resolution. The DNS lookup attempt must time out before the configuration can continue. R2#conf t R2(config)# no ip domain-lookup R2#contin Translating "contin"

% Unknown command or computer name, or unable to find computer address With “no ip domain-lookup" configured, the router doesn’t attempt to find a remote DNS server. It sees there is no local resolution configured and almost immediately sends a message to the console that the name can’t be resolved. R2#conf t R2(config)# ip domain-lookup R2(config)# ip name-server 10.1.1.1 R2#contin Translating "contin"...domain server (10.1.1.1) A DNS server is installed on the network with the IP address 10.1.1.1. DNS lookup is reenabled with the command ip domain-lookup, and the IP address of the DNS server is specified with the ip name-server command.

It's just that easy to tell a Cisco router exactly where the DNS server is!

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages. For a FREE copy of his latest e-books, “How To Pass The CCNA" and “How To Pass The CCNP", visit the website and download your free copies. You can also get FREE CCNA and CCNP exam questions every day! Get your CCNA study guide from The Bryant Advantage!






Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 632 times.
Article added to SearchWarp.com on Saturday, April 01, 2006
View other articles written by Chris Bryant CCIE 12933 (13,682)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA Exam Tutorial: Five OSPF Details You Must Know!

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA / CCNP Certification: Deciphering PING Returns

How To Become A CCNA (Cisco Certified Network Associate)

CCNA / CCNP / BCMSN Exam Tutorial: VLAN Trunking Basics

Cisco CCNA Certification: Static And Default Static Routes

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company