Is there more than one DNS servre in /etc/resolv.conf or squid.conf? If so then you need to test both.. On fre, 2008-06-06 at 21:55 +0200, GARDAIS Ionel wrote: > Okay ... > It's been the hardest 20 minutes of the day : find a few domain names that "should" have not been accessed and cached by our DNS. > > Well, from Paris, France, time given by dig stats : > - mana.pf (French Polynesia, other side of the Earth, satellite link) : around 700ms > - aroundtheworld.com, astaluego.com, apple.is, dell.nl, Volvo.se : between 100 and 150ms > - nintendo.co.jp, Yamaha.co.jp, pioneer.co.jp : around 300ms > > Cached entries are returned in less than 1ms. > > Ionel > > > -----Message d'origine----- > De : Henrik Nordstrom [mailto:henrik@xxxxxxxxxxxxxxxxxxx] > Envoyé : vendredi 6 juin 2008 21:05 > À : GARDAIS Ionel > Cc : Squid Users > Objet : Re: performances ... again > > On fre, 2008-06-06 at 14:37 +0200, Ionel GARDAIS wrote: > > I got a user (whom I can trust) who uses an explicit proxy configuration > > : there are no improvments. > > Ok. Then it's at the proxy, or the DNS servers it uses. > > Remember that to diagnose DNS slowness you need to query for hosts and > domains which has not yet been visited, as the DNS server also caches a > lot. Lookups of already visited domains/hosts is not valid as proof to > say that the DNS is fine.. > > > I tried to avoid use of calls which cause DNS lookups (hence the > > host.match() and host.indexOf() ). > > Good. > > Regards > Henrik