Hi,
What is the recommended way to setup/use squid's DNS caching capability?
In my current dial-up environment, the DNS request path is:
=> squid => local cache-only DNS server => my ISP DNS server => ...
But I found a problem -- I can't access my localhost:
- - - - >8 - - - -
While trying to retrieve the URL:
http://localhost/~tong/
The following error was encountered:
* Connection Failed
The system returned:
(110) Connection timed out
- - - - >8 - - - -
From cache.log:
- - - - >8 - - - -
2003/11/04 11:00:35| idnsCheckQueue: ID 2: giving up after 60 tries and 302.6 seconds
2003/11/04 11:01:26| idnsCheckQueue: ID 3: giving up after 60 tries and 303.0 seconds
2003/11/04 11:02:16| idnsCheckQueue: ID 4: giving up after 60 tries and 303.2 seconds
2003/11/04 11:02:35| idnsCheckQueue: ID 5: giving up after 60 tries and 303.6 seconds
2003/11/04 11:03:26| idnsCheckQueue: ID 6: giving up after 60 tries and 303.1 seconds
- - - - >8 - - - -
Strangely, from the store.log log file, I can see that squid knows about
http://xpt:3128/, but not
http://xpt/:
- - - - >8 - - - -
1067960187.724 SWAPOUT 00 00000014 2855D26FD4C8AE0152774C5E1DEF5085 200 106796018
7 1030425329 -1 image/gif 192/192 GET
http://xpt:3128/squid-internal-static
/icons/anthony-bomb.gif
1067961572.016 RELEASE -1 FFFFFFFF AD4AA7297DA44CF00594B79E8E5312F6 504 -1
-1 -1 unknown -1/950 GET
http://xpt/~tong/
1067961623.016 RELEASE -1 FFFFFFFF 3BCCE34D5F30332A57005B2BBF7211B3 504 -1
-1 -1 unknown -1/962 GET
http://localhost/~tong/
- - - - >8 - - - -
NB.
- My http server is up and running fine.
- My local cache only DNS server starts only on successfully dialing up.
Any suggestions? Thanks
--
Tong (remove underscore(s) to reply)
*niX Power Tools Project:
http://xpt.sourceforge.net/
- All free contribution & collection