Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-05-2014, 06:59 AM
|
#1
|
Member
Registered: Jan 2013
Posts: 44
Rep: 
|
Unable to determine ip address from hostname using squid
Some websites are not opening up while we are using squid proxy server. Error Message "Unable to determine ip address from host name using squid"
|
|
|
02-05-2014, 10:48 AM
|
#2
|
Member
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90
Rep: 
|
Go without squid cause its redunc api
See man
|
|
|
02-05-2014, 11:26 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,597
|
Quote:
Originally Posted by sunil80
Some websites are not opening up while we are using squid proxy server. Error Message "Unable to determine ip address from host name using squid"
|
There's not much we can tell you, since you don't say what version of squid, what websites won't open, version/distro of Linux, or in what kind of environment. This points to a DNS issue...are these websites internal to your company, or external? Can you reach them if you use the IP address rather than the host name?
|
|
|
02-05-2014, 11:29 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,597
|
Quote:
Originally Posted by pingwinowiewc
Go without squid cause its redunc api See man
|
Absolutely no idea what you're trying to say here. If the OP needs a proxy server, telling them to just not use it is fairly pointless advice...and what 'man' page do you recommend to address the OP's issue? The one for the config file, the program itself? Which options?
Please see the LQ rules about posting, particularly this part:
Quote:
Originally Posted by LQ Rules
Do not post if you do not have anything constructive to say in the post.
|
|
|
|
02-06-2014, 09:00 AM
|
#5
|
LQ Newbie
Registered: Feb 2014
Posts: 2
Rep:
|
I've had this issue before for internal sites.
As a quick workaround I added the hostname and IP address in /etc/hosts (very small setup)
If the IP addresses work in a browser configured with the proxy server. Maybe do that for now?
I eventually fixed my DNS.
What do the squid logs say?
Need more information about your setup see TB0ne's post.
|
|
|
02-06-2014, 11:54 PM
|
#6
|
Member
Registered: Jan 2013
Posts: 44
Original Poster
Rep: 
|
In starting after configuring squid proxy, all the websites except denied websites open,
But now after 20-25 days, sometimes most of the websites can not opened.
It shows error "Unable to determine IP address rom host name "website name
Last edited by sunil80; 02-07-2014 at 01:02 AM.
|
|
|
02-07-2014, 08:48 AM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,597
|
Quote:
Originally Posted by sunil80
In starting after configuring squid proxy, all the websites except denied websites open, But now after 20-25 days, sometimes most of the websites can not opened. It shows error "Unable to determine IP address rom host name "website name
|
...and you STILL provide no usable details about your problem, despite being asked. Unless you post details and answer questions that you've been asked, there is not much point in posting a question. We can't (and WON'T) play a guessing game to try to help you.
AGAIN: this points to a DNS issue, but since you don't provide details, we STILL can't help you. Try restarting squid and flushing the squid cache, and see if it helps.
|
|
|
All times are GMT -5. The time now is 12:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|