actually, the way it works is:
1. Lookup local hosts (that is, host that are defined in the "ip host"
commands
2. Lookup with domain server (that is, if you have "ip name-server"
defined) If you have no ip domain-lookup
3. Appending the "ip domain-name" only resolves if you have a host defined
with the full domain name.
(I had to relook this up myself... here's the link:)
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/np1_c
/1cprt2/1cipadr.htm#xtocid2651713
If you want to ping r1.ccie.com, then make this entry in your config:
ip host r1.ccie.com 10.1.1.1 (or whatever the ip address might be). Then,
you should be able to ping either r1 or r1.ccie.com
-e-
- Original Message -
From: Peter Slow
To:
Sent: Tuesday, June 19, 2001 7:11 AM
Subject: RE: ping r1.ccie.com now working!! [7:9022]
> Heya, cisco GURU,
> Do you know how DNS works?
> if domain-name lookup is off, it wont try and concatenate your hostame
with
> a domain. ( i think)
> that is part of the LOOKUP process.
> which you have tunred off.
> things like this tend to be done away with in newer versions of IOS.
>
>
> -Original Message-
> From: cisco guru [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 1:29 AM
> To: [EMAIL PROTECTED]
> Subject: ping r1.ccie.com now working!! [7:9022]
>
>
> Hi all,
> I have a bunch of routers configured with a static hosts file with the ip
> host, no ip domain-look and ip domain-name ccie.com commands configured.
> When I ping r1 or ping R1 it works. But when I ping r1.ccie.com or
> R1.ccie.com I get an error msg."Unrecognized host or address or protocol
not
>
> running."
> I have versions 11.1(7) and 11.2(7) running. Does the ios ver. make a
diff.
> or is it something wrong configured on the routers?
> Please advise.
> Thank you.
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=9099&t=9022
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]