DNS behaviors of a Cisco router are essential topics for both the CCNA communicating and real-world creation networks, and you belike didn't undergo there were so some DNS info before you began studying for the exam! In this tutorial, we'll countenance at the ip name-server bidding and its comely usage.
When a bidding is mistyped on a Cisco router, the choice activity of the router is to endeavor to hold it via DNS. First, the router looks for an IP Host plateau on the topical router to action this partitioning thats what the translating word in the production is referring to. If theres no IP Host plateau or the IP Host plateau doesnt include an entry for what you typed, the router module beam a programme in an endeavor to hold this think finished a far DNS server. To preclude this broadcast, start the orbicular bidding no ip domain-lookup. Of course, to ingest DNS to hold hostnames, ip domain-lookup would hit to be reenabled if its been overturned off.
R2#contin
Translating contin...domain machine (255.255.255.255)
% Unknown bidding or machine name, or unable to encounter machine address
A bidding is mistyped as contin. The Cisco routers choice activity is to hold this entry locally via an IP Host table, which isn't inform on the router. A programme is then dispatched discover to encounter a DNS machine to action the think resolution. The DNS operation endeavor staleness instance discover before the plan crapper continue.
R2#conf t
R2(config)#no ip domain-lookup
R2#contin
Translating contin
% Unknown bidding or machine name, or unable to encounter machine address
With no ip domain-lookup configured, the router doesnt endeavor to encounter a far DNS server. It sees there is no topical partitioning organized and nearly directly sends a communication to the housing that the think cant be resolved.
R2#conf t
R2(config)#ip domain-lookup
R2(config)#ip name-server 10.1.1.1
R2#contin
Translating contin...domain machine (10.1.1.1)
A DNS machine is installed on the meshwork with the IP come 10.1.1.1. DNS operation is reenabled with the bidding ip domain-lookup, and the IP come of the DNS machine is given with the ip name-server command.
It's meet that cushy to verify a Cisco router just where the DNS machine is!
Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and regular CCNA / CCNP communicating questions! Details are on the website.
For a FREE double of his stylish e-books, How To Pass The CCNA and How To Pass The CCNP, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Get your CCNA think pass from The Bryant Advantage!