LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-29-2004, 11:02 AM   #1
simplyrahul
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 26

Rep: Reputation: 15
Getting error for DNS in squid


Dear ALL,

Following error i got

While trying to retrieve the URL: http://www.google.com/

The following error was encountered:

Unable to determine IP address from host name for www.google.com
The dnsserver returned:

Timeout
This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.

following in cache.log

2004/12/29 07:13:01| comm_udp_sendto: FD 7, 12.127.17.71, port 53: (11) Resource temporarily unavailable
2004/12/29 07:13:01| idnsSendQuery: FD 7: sendto: (11) Resource temporarily unavailable
2004/12/29 07:13:21| comm_udp_sendto: FD 7, 12.127.16.67, port 53: (11) Resource temporarily unavailable
2004/12/29 07:13:21| idnsSendQuery: FD 7: sendto: (11) Resource temporarily unavailable
2004/12/29 07:13:21| comm_udp_sendto: FD 7, 12.127.17.71, port 53: (11) Resource temporarily unavailable
2004/12/29 07:13:21| idnsSendQuery: FD 7: sendto: (11) Resource temporarily unavailable
2004/12/29 07:13:21| comm_udp_sendto: FD 7, 12.127.16.67, port 53: (11) Resource temporarily unavailable
2004/12/29 07:13:21| idnsSendQuery: FD 7: sendto: (11) Resource temporarily unavailable
2004/12/29 07:13:41| comm_udp_sendto: FD 7, 12.127.17.71, port 53: (11) Resource temporarily unavailable
2004/12/29 07:13:41| idnsSendQuery: FD 7: sendto: (11) Resource temporarily unavailable
2004/12/29 07:50:38| Failure Ratio at 1.00
2004/12/29 07:50:38| Going into hit-only-mode for 5 minutes...
2004/12/29 07:55:38| Failure Ratio at 15.91
2004/12/29 07:55:38| Going into hit-only-mode for 5 minutes...
2004/12/29 08:00:48| Failure Ratio at 50.99
2004/12/29 08:00:48| Going into hit-only-mode for 5 minutes...
2004/12/29 08:05:48| Failure Ratio at 107.50
2004/12/29 08:05:48| Going into hit-only-mode for 5 minutes...
2004/12/29 08:11:48| Failure Ratio at 696.87
2004/12/29 08:11:48| Going into hit-only-mode for 5 minutes...
2004/12/29 08:16:48| Failure Ratio at 338.25
2004/12/29 08:16:48| Going into hit-only-mode for 5 minutes...
 
Old 12-29-2004, 11:56 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
Does your Squid machine have a working Internet connection? Can you browse from it? Are you running a DNS server as well or using the ISP DNS servers? A little more info and we can get to the bottom of it.
 
Old 12-29-2004, 12:09 PM   #3
simplyrahul
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 26

Original Poster
Rep: Reputation: 15
I'm able to
#dig www.google.com

and get the ip address of google.com

I'm using the ISP's DNS .
 
Old 12-29-2004, 12:42 PM   #4
simplyrahul
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 26

Original Poster
Rep: Reputation: 15
I'm able to
#dig www.google.com

and get the ip address of google.com

I'm using the ISP's DNS .
 
Old 12-30-2004, 05:57 PM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
And therefore you should be able to browse. What are your settings in squid.conf for dns caching? Do you have dns_nameservers set? Normally when using the machines DNS settings, this is unnecessary. Can you post the sections of the squid.conf dealing with DNS requests and caching?
 
Old 07-23-2005, 06:52 PM   #6
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
hello simplyrahul... i was just wondering if perhaps you could share how you resolved this issue... i'm having a very similar one and i haven't been able to figure it out yet after quite a bit of troubleshooting... any comments would be very welcome...


Last edited by win32sux; 07-23-2005 at 06:54 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid/DNS Intermittent Issue win32sux Slackware 4 10-29-2009 04:59 PM
DNS for Squid abhi_crusader Linux - Enterprise 1 09-29-2005 01:38 AM
How to do Best Tunning for Squid (Caching and DNS) brains_online Linux - Networking 1 11-27-2004 05:06 PM
squid configuration with 2 dns gullio Red Hat 0 02-11-2004 02:11 AM
initializing squid and dns?? debloxie Linux - Networking 1 01-17-2004 01:53 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration