View Single Post

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

In article <spUic.6537$swh.2669@news04.bloor.is.net.cable.rog ers.com>, Antony
Gaitatzis wrote:
> 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.
>


-snip-

The behavior is the same on HP-UX as on Linux. The "[... ]" is not required and
there is an implied behaviour of "[SUCCESS=return NOTFOUND=continue
UNAVAIL=continue TRYAGAIN=continue]".

Kevin
Reply With Quote