From: Torsten.Lange@GECITS-EU.COM Date: Thu, 12 Apr 2001 17:08:09 +0100 Message-ID: <OFBC335633.16CF3EF1-ON41256A2C.005868B7@gecits-eu.com> Subject: Re: [suse-sparc] DNS request failover with SuSE & squid
thanks for this one.
unfortunately, the NOTFOUND=continue statement is default, so there has
been
no effect when entering it manually to nsswitch.conf.
the problem with squid and the internal and external name resolution is
that squid
should deliver both intra- and internet sites. those internal and external
http requests
shall be forwarded to different icp parents based on a simple 'dst' squid
acl.
---------------------------------------------------------------
in your resolv.conf file you should be able to specify 2 server, if the one
fails it should default to the next server, if you check you
/etc/nsswitch.conf file you could add a [NOTFOUND=continue] section to the
host name resolution.
Another way of doing it would be to have the resolv.conf file only reflect
the
internal DNS for internal hosts ( I assume this is what it is there for)
and
then let squid (in the squid.conf file) do the external resolution. You
could
tell squid to do name resolution in its conf file, that way, the system
would
query the internal dns and squid would query the external DNS.
Hope this helps
Torsten.Lange@GECITS-EU.COM wrote:
> i'm experiencing problems with a dns issue on a sparc suse netra (7.1).
>
> i want to have squid (or the os) to request name resolution from 2 dns
> servers.
> 1 server resolves intranet addresses only and the other one resolves
> internet addresses.
> what do i have to configure to let the os (via resolv.conf) and/or squid
> proxy try the internet
> nameserver first and ask the other one *only* if the first request fails.
> at the moment - i get squid DNS resolution errors because it only tries
the
> first nameserver.
>
> maybe it doesn't fail over to the other one, because the first one is
still
> running but unable to
> serve the request?
>
> any ideas?
>
> thanks a lot
>
> torsten
This archive was generated by hypermail 2.1.0 : Wed Jun 06 2001 - 11:09:02 PDT