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: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to