Re: [squid-users] DNS lookup & rotation of IPs

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Tue, 06 May 2008 22:00:42 +0200

Hi,

At 21:36 06/05/2008, Christian Seifert wrote:
>Hi there, I am running a DNS cache prg that is resolving hostnames
>inan identical manner even if more than one IPs are returned.
>
>So, for example, ping www.google.com will always try ping to
>209.85.173.147 even though host resolves to multiple IPs (it seems
>like it takes the top record)
>
>host www.google.com
>www.google.com is an alias for www.l.google.com.
>www.l.google.com has address 209.85.173.147
>www.l.google.com has address 209.85.173.104
>www.l.google.com has address 209.85.173.103
>www.l.google.com has address 209.85.173.99
>
>Squid,however,seems not to do this. It seems to randomly select one
>IP evenwhen it isusing the DNS cache prg ... is there any way to
>configure itto alwaysuse the top one, just like ping behaves?

Look for "balance_on_multiple_ip off" in squid.conf.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue May 06 2008 - 20:01:56 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:02 MDT