View previous topic :: View next topic |
Author |
Message |
kaihansen n00b
Joined: 01 Jul 2002 Posts: 37 Location: Italy / Torino
|
Posted: Thu Mar 13, 2003 5:26 pm Post subject: squid resolve problem |
|
|
Hi all, I've this "intermittent" problem.
Sometimes my proxy respond to an http request with an error, saying that is unable to resolve a name to an IP address.
When this occur, I try many tests:
1) I've tried to ping that name from proxy command line, and it solve correctly the name
2) I've tried to go to that page with lynx, from same proxy, and work
3) I've tried from another machine (with same DNS server) and work
4) I've tried from a client (that is configured to use proxy) many others pages and all work
After few minutes squid restart to work properly also for that page
Anyone have no idea?
I have last ebuild installation of squid and on this machine (PIII 1,6G 512MB) there is only this service.
Thanks in advance
D |
|
Back to top |
|
|
punx n00b
Joined: 08 Jan 2003 Posts: 33 Location: Cologne_de
|
Posted: Thu Mar 13, 2003 7:02 pm Post subject: |
|
|
HI,
could it be that:
Code: |
negative_ttl 5 minutes
negative_dns_ttl 5 minutes
|
These values from squid.conf tell squid how long it should wait, before running a new dns query, after a negative dns query. In dial up systems i would set that to a value about 5 seconds.
And ,if you not already have, set up a caching only nameserver, so squid will always find one.
CIAO _________________ ...oh god i am the american dream but now i smell like gasoline and i am the miserable son of a bush.. |
|
Back to top |
|
|
kaihansen n00b
Joined: 01 Jul 2002 Posts: 37 Location: Italy / Torino
|
Posted: Thu Mar 13, 2003 7:54 pm Post subject: |
|
|
Thanks so lot, now I'm going to try this
But I have a 2Mbps Internet connection and not a dial-up, and I use a caching only DNS on another machine (but this machine is Micro$oft .... I plan to install bind somewhere ...)
Ciao
Daniele |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|