> We use squid 2.5 stable under RH9 in the office. Sometimes we have
developers working on sites that do not have DNS records but only IPs. We
do have to check the working under the dns record to be. I added the IP
and the name to the HOSTS file on the server now it is able to
atleast go to the right server. Everything is redirecting to the server
via the domain name , except the web requests. Those throw up an error
"(104) Connection reset by peer" . I tried searching in Google but could
not figure out what the problem is. It seems Squid is doing its own name
resolution without actually looking into the hosts file or is
> disregarding the HOSTS file record if it finds nothing in the DNS for
the same name.
>
> Anyone have any ideas how i can fix this ?
>
> thanks,
> - Ankur.
>

run squid as #squid -D
 it disables squid's internal DNS lookup
 for  more info #squid --help

--Ritesh Agrawal







Ritesh Agrawal
System Administrator
Belmaks Solutions Pvt.Ltd.
17D - N.I.T
Faridabad (Haryana)


_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to