On 11/04/2008, Bernardo Dal Seno <[EMAIL PROTECTED]> wrote:
> On 10/04/2008, Bob Cox <[EMAIL PROTECTED]> wrote:
>  > On Thu, Apr 10, 2008 at 17:02:14 -0400, Brian McKee ([EMAIL PROTECTED]) 
> wrote:
>  >  >
>  >  > I don't understand why 'host fred' doesn't return 127.0.0.1
>
>
> I think host performs a DNS lookup, so maybe it bypasses the file
>  hosts altogether.  ping, as Bob
>  Cox suggested, should be a better test.

That is correct as output below shows:

[EMAIL PROTECTED]:~$ host localhost
localhost.selfip.org has address 210.24.115.116
[EMAIL PROTECTED]:~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.061 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.056 ms


-- 
Regards,
Sudev Barar

Read http://blog.sudev.in for topics ranging from here to there.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to