Hi,
If that doesn't work then do the following.
Remember the following will delete all your cache and will recreate.

/usr/local/squid/sbin/squid -z

Then restart the squid server.

Regards
Abdul Khader

On Wed, 2004-09-08 at 13:49, Abdul Khader wrote:
> Hi,
> Comment out the following line in your squid.conf
> 
> dns_testnames 
> 
> The restart your squid server.
> 
> Also make the following change.
> 
> visible_hostname 
> 
> make it to look like below
> 
> visible_hostname cache.yourhostname
> 
> 
> Regards
> Abdul Khader
> 
> 
> 
> 
> 
> 
> 
> 
> On Wed, 2004-09-08 at 12:40, Rajesh wrote:
> > Hello,
> > 
> > Today morning my SQUID Proxy server suddenly started giving problem...
> > 
> > Whenever any client tries to access a web page it gives the following
> > error :
> > 
> > ********************************************************************
> > The requested URL could not be retrieved
> > 
> > While trying to retrieve the URL: http://www.google.co.in/
> > 
> > The following error was encountered:
> > Unable to determine IP address from host name for www.google.co.in
> > 
> > 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.
> > ********************************************************************
> > 
> > 
> > However if I try to ping from the server www.google.co.in it works.. So
> > dns is working... But squid dnsserver is not working...
> > 
> > ********************************************************************
> > [EMAIL PROTECTED] /root]# ping google.co.in
> > PING google.co.in (216.239.39.99) from 192.168.255.7 : 56(84) bytes of
> > data.
> > 64 bytes from 216.239.39.99: icmp_seq=0 ttl=238 time=418.633 msec
> > 64 bytes from 216.239.39.99: icmp_seq=1 ttl=238 time=429.934 msec
> > 64 bytes from 216.239.39.99: icmp_seq=2 ttl=238 time=429.934 msec
> > 
> > --- google.co.in ping statistics ---
> > 3 packets transmitted, 3 packets received, 0% packet loss
> > round-trip min/avg/max/mdev = 418.633/426.167/429.934/5.327 ms
> > ********************************************************************
> > 
> > 
> > ps -e |grep dnsserver
> > 
> > also does not show anything....
> > 
> > ********************************************************************
> > [EMAIL PROTECTED] /root]# tail -f /var/log/squid/access.log
> > 1094625782.267    110 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625782.937     38 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625783.425     38 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625783.896     38 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625794.757    163 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625795.363     38 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625795.975     39 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 1094625796.545     38 192.168.20.201 TCP_MISS/503 1144 GET
> > http://www.google.co.in/ - DIRECT/www.google.co.in -
> > 
> > ********************************************************************
> > 
> > I am at a loss to troubleshoot this problem... Can anybody help ?
> > 
> > Thanks in advance..
> > 
> > Warm Regards
> > 
> > --
> > Shriram (Rajesh) Fowkar
> > Computer Programmer
> > V. S. Dempo & Co. Pvt. Ltd.,
> > Dempo House,
> > Campal, Panaji - Goa.
> > 
> > Email : Shriram Fowkar <[EMAIL PROTECTED]>
> > URL   : http://www.dempos.com
> > Phone : (0832)2226281 Ext.:387
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/linux-india-help
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> 



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to