Networking Forums

Networking Forums > Computer Networking > Linux Networking > squid's DNS

Reply
 
 
* Tong *
Guest
Posts: n/a

 
      11-04-2003, 03:42 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid woody Linux Networking 9 08-25-2011 05:37 AM
squid Simon Smith Linux Networking 3 03-10-2008 07:23 AM
Squid 2.5 to 2.6 Alessandro Linux Networking 0 02-26-2008 04:27 PM
Squid Simon Dean Linux Networking 0 12-05-2003 02:34 PM
Intermittent Squid problem, no responce from squid Graeme Hinchliffe Linux Networking 1 10-30-2003 11:51 AM



1 2 3 4 5 6 7 8 9 10 11