[ale] Resolving

Jason Lynn jason_lynn_ at hotmail.com
Mon Sep 10 14:08:15 EDT 2001


Thanks!  As for nsswitch.conf... I'll need to check that when I get home.  I 
do not wait for dns to timeout... after about 20 sec my patience grows thin. 
  :)  I will read that man page.  I know that I was definitely unable to 
ping (within 20 sec) my local interface eth0 with an ip of 192.168.0.1.  I 
thought it was strange also, but I suppose I could have my nsswitch 
misconfigured.  I'll try and wait for the timeout.
Thanks again,
Jason
~
~
>Hi Jason,
>
>   Is it not resolving localhost at all? (do you wait for DNS to time
>out? That could take up to 8 min)
>   I would check /etc/nsswitch.conf, and ensure that "files" is listed
>before  anything else on the "hosts:" line.  That way the resolver will
>hit /etc/hosts first, then DNS/NIS/whatever.
>   Another option is to rename /etc/resolv.conf until your cable modem
>get going again.  That will disable lookups to DNS.
>
>   As for "how" the resolver works, check out the "gethostbyname" man
>page.  localhost will resolve just like anything else.  A note though,
>last I checked, nslookup doesn't use "gethostbyname", but has it's a
>different (built-in) algorithm.
>
>   Double check yourself on one thing: it would be very odd to not be
>able to ping a local interface.
>
>Lost in Taipei,
>   Keith
>
>
>Jason Lynn wrote:
>
>>This is most likely a stupid question, but...
>>Since my cable modem has been down, I have been unable to resolve
>>"localhost" and even the IP address on my internal NIC.  This may have
>>been caused because I've been "tweaking" a few things.  :)  My question
>>is, if I'm not running named, how does my computer resolve "localhost"
>>and even my local IP address?  Would it normally go to the (now
>>unreachable) DNS servers to resolve "localhost"?  How about my internal
>>IP... the DNS server knows nothing about my internal addresses, so how
>>are they resolved?  And why aren't they being resolved now (ie pinging
>>192.168.0.1 from 192.168.0.1 isn't working, though pinging 192.168.0.1
>>from 192.168.0.2 IS working)?  Like I said... stupid question... but I'd
>>appreciate any insight.  Thanks.
>>
>>_________________________________________________________________
>>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>>
>>--
>>To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
>>body.
>
>
>--
>To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message 
>body.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list