• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • Last Modified:

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.
################################################################

 
0
oandosupport
Asked:
oandosupport
3 Solutions
 
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
 
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 new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now