LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2005, 03:09 AM   #1
hariiyer
Member
 
Registered: May 2004
Location: india
Posts: 103

Rep: Reputation: 15
squid problem


Dear all,

iam using RH-with squid 2.5 i am getting the below error, i can't able to access any urls.

regards
hari

The requested URL could not be retrieved

--------------------------------------------------------------------------------

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

The following error was encountered:

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

Refused: The name server refuses to perform the specified operation.
This means that:

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



--------------------------------------------------------------------------------

Generated Sat, 12 Feb 2005 09:15:20 GMT by hari (squid/2.5.STABLE1)
 
Old 02-12-2005, 04:30 AM   #2
jorasmi
Member
 
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111

Rep: Reputation: 15
i'm pretty new to squid. you'll have that message right after you installed successfully the squid proxy. to be able to access other sites you have to edit your squid.conf file. you have to create a acl and acl operator. would you mind if i ask why are you insalling a proxy(squid)?
 
Old 02-12-2005, 04:43 AM   #3
Hamsjael
Member
 
Registered: Aug 2003
Location: Vejle, Denmark
Distribution: Mainly Debian, some Fedora for the bleeding edge fix
Posts: 92

Rep: Reputation: 15
nameserver fault

Hi

It seems to me that, that that error message is a result of a problem on the DNS server not with squid.

best regards
 
Old 02-12-2005, 02:26 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Please post the content of your /etc/squid/squid.conf file.
Try to access the web, both by DNS names www.linuxquestions.org, and by IP address.
 
Old 02-12-2005, 09:45 PM   #5
angrybeaver
Member
 
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 17
can you pull up web pages (using lynx for instance) from the proxy server itself (ie: bypassing squid entirely)? All signs point to a dodgy DNS config or filter somewhere... unless you've specifically played with the default squid DNS options and broken them, I can't see how it would be the proxy server.

Try and work out why the DNS server is refusing the connection and you will have solved your problem...

Last edited by angrybeaver; 02-12-2005 at 09:47 PM.
 
Old 02-12-2005, 10:15 PM   #6
kmashraf
Member
 
Registered: May 2001
Location: Madras, India
Distribution: Mandrake, Vector, Fedora, Slackware-Live, CentOS, Ubuntu, Kubuntu, PCLOS, Sabayon
Posts: 34

Rep: Reputation: 15
Me too !

I have a smiple squid 2.5 running on a home network
Don't laugh cause it works !
P166 (downgraded from a P200 due to hardware problem)
32 MB (SIMM's)
2 GB HDD
Running Vector Linux 3.2
I too get similar DNS resolution errors, to check I usually go direct and try the same url and if it works I put it down to my squid running on such a low end machine. A restart of squid usually fixes the problem.
It is not really a major bother cause otherwise it works just fine. Like right now.
This is coming to you via my squid as above
 
Old 02-14-2005, 06:27 AM   #7
hariiyer
Member
 
Registered: May 2004
Location: india
Posts: 103

Original Poster
Rep: Reputation: 15
hai

the problem is like that some times i can browse google.com, and sometimes it is telling the error. I just checked my hosts, resolve.conf, hosts.allow everything and bind the DNS also. Please help me immediately.

how to resolve name to ip.

regards
hari
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Problem ajkannan83 Linux - Software 2 10-21-2005 09:48 AM
Squid Problem vivekthemind Linux - Security 16 10-04-2005 12:24 PM
problem in squid alvi2 Linux - Networking 2 03-03-2005 06:39 AM
squid problem hariiyer Linux - Networking 7 01-31-2005 11:20 AM
squid problem mchitrakar Linux - Networking 4 06-07-2004 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration