[squid-users] Transparent Proxying Weirdness

From: <admin@dont-contact.us>
Date: Tue, 17 Feb 2004 12:31:07 +0800

I have already setup squid + iptables to work as a transparent proxying. But i have made an enhancement (kinda), squid now listens on port 8080 and dansguardian listening of port 3128. Ive done this because i dont want to reconfigure all workstations here, so they believe that they are still connecting to squid. So i redirected port 80 to port 3128 (dansguardian) on all workstations ip addresses, the weird thing is that i have this message from squid;

While trying to retrieve the URL: http://www.yahoo.com/

The following error was encountered:

Unable to determine IP address from host name for www.yahoo.com
The dnsserver returned:

DNS Domain 'virtual' is invalid: Host not found (authoritative).
This means that:

 The cache was not able to resolve the hostname presented in the URL.
 Check if the address is correct.

Could someone help me out on this?

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_with_proxy on

iptables -t nat -A PREROUTING -s -i $INT -p tcp --dport 80 -j REDIRECT --to-port 3128


This message has been scanned for viruses and
dangerous contents on SSCR Email Scanner Server, and is
believed to be clean.
Received on Mon Feb 16 2004 - 08:05:19 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST