CCNA House keeping IP Domain-lookup Commands
Computers & Technology → Networking
- Author Joe Spoto
- Published August 11, 2010
- Word count 526
CCNA House keeping commands
IP Domain-lookup Commands.
For people coming into Cisco networking for the first time they are always surprised by a few of the default command settings that are present on the Cisco routers and switches.
These default command settings can be a real pain if left at their default settings and unless they are changed the CCNA student is generally going to become increasingly frustrated.
At Commsupport we continually practice the procedure of instructing our CCNA students (and sometimes our CCNP students) that they must change the default settings in order to make their programming via the command line a lot more fluid and without interruption.
The first of our house keeping commands is the "ip domain-lookup" command.
The ip domain-lookup command is enabled by default. The purpose of this command is to assist the administrator resolve names into ip addresses so they may telnet to remote devices. This seems on the face of it a good setting, the issues are that the system does not understand the difference between a valid hostname and a typo. In most cases if not all the system will interpret a typo as a hostname and start to broadcast out to DNS on the address of 255.255.255.255.
The broadcast itself is a minor nuisance on the network but the major issue that our CCNA students find is that in a majority of times the console from which they are configuring the system from be it tera-term, hyper terminal etc will lock up whilst it is broadcasting out for the non-existent IP address for the typo. Being new to Cisco our CCNA students will inevitably make typing mistakes, (although even the most dog eared of network administrators will also making typing mistakes)
To prevent the console from timing out every time a typo is issued it important to turn the "ip domain-lookup" off. At this point it is important to mention that only typos executed at the "user mode" and "privileged exec mode" will cause a time-out to occur, if a typo is issued under any off the other commands prompts the Cisco device will simply return an error message and return the command prompt without any console timeout.
To turn off the default issue the following command:
Note: The prompt is "router" but this command can also be executed on a switch.
Router(config)#no ip domain-lookup
The emphasis is on the "no" argument. Execute the command by pressing the return key. At this point if a typo is executed at the "user mode" and "privileged exec mode" will not cause a time-out to occur but instead the Cisco device will try to interrupt a typo to an IP address using only the local host table held within the "ip host" table.
Using the local "IP host" table is quite common, so rather than having to enter the full IP address of the destination device that you have to telnet to you would simply enter the host name of the device and the Cisco device will lookup the name in the local host table for a matching name and then resolve the name to the associated IP address.
Joe Spoto is a senior lecturer at Commsupport networks CCNA in the United Kingdom. Joe teaches Cisco CCNA, CCNP, CCVP courses when he is not out on the road fixing and building networks, please visit us at CCNA Commsupport run free one day training sessions and free on-line webinars
Article source: https://articlebiz.comRate article
Article comments
There are no posted comments.
Related articles
- Optimize Your Website for the Better Sight
- How To Develop & Implement A Network Security Plan
- Mastering VoIP: Overcoming Common Communication Challenges
- What Concerns Do Enterprises Have When Choosing Network Monitoring Software?
- Spectrum Router Red Light: Troubleshooting Guide and Solutions
- Web Development Made Easy: Why Outsourcing is the Smart Choice
- INTERNET OF THINGS
- Enhancing Business Communication with 3CX: A Powerful Unified Communications Solution
- How to Fix "No Signal, Please Check Your Antenna Connection" Error
- AN INTRODUCTION TO INTERNET MARKETING
- Passwordless is the New Cyber Security, Emir Ceric’s Meveto Transform Verification, Logging In and Remote Sign Out
- The Ultimate Guide to Master YouTube and Monetization
- Preventing data theft in an enterprise environment
- The Art Of Cold Calling [Mastery In Seven Simple Steps]
- Quantum Computing and the future of IT Security
- 5G TECHNOLOGY AND IOT: HOW DO THESE TRENDS RELATE?
- SkyVPN Launches New Gaming Servers with Dedicated Servers for PUBG
- Smm reseller panel
- Steps to Transfer Files Using Kindle Desktop Application
- Save time on your FTP updates with FTPGetter Professional
- Add a file hosting and sharing service to your site with YetiShare
- MCS Multicast Switch for Next Generation ROADM
- Business Networking Tips for Beginners
- Using Virtual Serial Ports in Proteus
- Network Security Checklist for All Types of Businesses
- Create Your Own File-Hosting Website with YetiShare
- Cat5 cable vs Cat6 Cables: What are the Contrast?
- Automate FTP Downloads and Uploads with FTPGetter Professional
- On Demand Freelance Marketplace For Field Engineers
- Cisco Network Infrastructure Services in San Francisco