On Mon, 25 Aug 2003 13:19:57 -0400
Boom Stickity <[EMAIL PROTECTED]> wrote:

> Having a wierd problem.  I have entries in my hosts file that I'm trying to hit.  It 
> seems when my dns proxy is unavailable it will hang the connection for 30 seconds 
> even if the host is in the hosts file.  Here is my nsswitch.conf entry for hosts:
> 
> hosts:      files nisplus dns
> 
> Shouldn't nisplus and dns be ignored if I get a hit on /etc/hosts?  Once I hit it 
> once the latency disappears.
> 
> BS
> 
> 
>

Not all clients properly use the file you mention.   If you try
the ping command for example you'll see that it _will_ behave
as you expect.  It won't hang for 30 seconds if the DNS server is
down and the host is listed in /etc/hosts.

What client are you trying to use?  A web browser?   If so you're
likely to find that it uses DNS directly and doesn't abide at all 
by your nsswitch file.

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to