squid error

users cannot access a website. it gives the error below; we use red hat linux as the proxy server and can access the website from the proxy server

##################################################################
The following error was encountered:
Unable to determine IP address from host name for www.oandoplc.com 
The dnsserver returned:
Name Error: The domain name does not exist.
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.
################################################################

 
oandosupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Monis MontherSystem ArchitectCommented:
Can users access site directly without the proxy ??

also post the output of the log when accessing the site

tail -f /var/log/squid/access.log |grep oandoplc

Now keep it like this and go from a user and try to browse the site, what you do get in the log
0
tty2Commented:
What about the parameter "dns_nameservers" in squid.conf?
Are these DNS servers accessible for squid?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ricardo CananiCommented:
I've noticed you work for Oandoplc...

My guess is that your proxy server is querying an internal DNS server that isn't being able to resolve www.oandoplc.com  IP address.

Please, execute the following commands in your proxy server and port the results :

 host www.oandoplc.com 

 cat /etc/resolv.conf

 hostname
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

oandosupportAuthor Commented:
 
1269410023.637      3 10.10.83.48 TCP_MISS/503 1201 GET http://autodiscover.oandoplc.com/autodiscover/autodiscover.xml - NONE/- -  
1269410032.236      1 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410033.835      1 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410034.643      1 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410035.540      1 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410036.325      1 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410037.443      6 10.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/ 
- NONE/- -  
1269410052.570     14 10.10.81.22 TCP_MISS/404 0 CONNECT field.oandoplc.com:443  
- DIRECT/- -  
1269410063.251      4 10.10.83.53 TCP_MISS/404 0 CONNECT autodiscover.oandoplc.com:443 - DIRECT/- -  
1269410065.146      1 10.10.83.53 TCP_MISS/503 1201 GET http://autodiscover.oandoplc.com/autodiscover/autodiscover.xml - NONE/- -  <!--[if gte mso 9]>   Normal  0          false  false  false    EN-US  X-NONE  X-NONE                                       MicrosoftInternetExplorer4                                     <![endif]--><!--[if gte mso 9]>                                                                                                                                                                                                                                                                                    <![endif]--><!--[if gte mso 10]><![endif]-->1269410023.637      310.10.83.48 TCP_MISS/503 1201 GEThttp://autodiscover.oandoplc.com/autodiscover/autodiscover.xml - NONE/- -
1269410032.236      110.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410033.835      110.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410034.643      110.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410035.540      110.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410036.325      110.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410037.443      610.31.7.14 TCP_MISS/503 1116 GET http://www.oandoplc.com/
- NONE/- -
1269410052.570     1410.10.81.22 TCP_MISS/404 0 CONNECT field.oandoplc.com:443
- DIRECT/- -
1269410063.251      410.10.83.53 TCP_MISS/404 0 CONNECT autodiscover.oandoplc.com:443 - DIRECT/- -
1269410065.146      110.10.83.53 TCP_MISS/503 1201 GEThttp://autodiscover.oandoplc.com/autodiscover/autodiscover.xml - NONE/- -
0
oandosupportAuthor Commented:
root@int-server root]# host www.oandoplc.com
www.oandoplc.com has address 216.14.208.109
[root@int-server root]# cat /etc/resolv.conf
search oando-plc.com



nameserver 66.178.2.25
nameserver 4.2.2.2
nameserver 10.10.10.6
[root@int-server root]# hostname
int-server
[root@int-server root]#


0
oandosupportAuthor Commented:
issue resolved. changed dns entry in squid.conf
0
oandosupportAuthor Commented:
access.log gave me a true picture of the error
dns_nameservers had internal dns only
resolv.conf was fine.

all comments were really helpful
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.