View Single Post

   
  #7 (permalink)  
Old 01-16-2008, 06:58 PM
Antony Gaitatzis
 
Posts: n/a
Default Re: routing/gateway/dns settings

Excellent, thank you

I changed my nsswitch.conf so that it was:
hosts: files [NOTFOUND=continue...dns...

Now internet works. Thank you so much.

In Linux, it just assumes that if you have more than one entry, you want
to move from one to the next. It doesn't distinguish between
unavailable and not found. Neat. Perhaps this is the default behavior
in hpux too (if one were to exclude the [NOTFOUND...].

Anyway, thanks again.
Tony G.

P.S. I love your email signature... will have to use that sometime.



Alain Deschamps wrote:
> On Sun, 25 Apr 2004 18:26:09 GMT, Antony Gaitatzis
> <tonyg@rollanet.org> wrote:
>
>
>>Search Order:
>>=======================================
>># cat /etc/nsswitch.conf
>>hosts: files [NOTFOUND=return UNAVAIL=continue] dns [NOTFOUND=return
>>UNAVAIL=continue TRYAGAIN=return]
>>=======================================

>
>
> The NOTFOUND=return after files prevent the use of the dns if the host
> is not found in the /etc/hosts. Check the man page or the examples
> files.

Reply With Quote