[squid-users] Transparent proxy and DNS problems

From: Timofey A. Bychkov <boobooin@dont-contact.us>
Date: Wed, 19 Jun 2002 15:52:54 +0400

I install the transparent proxy using iptables adding a rule
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128
but i got sense of something works bad because of difference beetwen the
results of same operation in 2 cases:
1) if i tell a IE use a proxy on port 3128
2) if if i tell a IE do not use proxy (in that case transparancy have to
work)

Then i request a browser for http://aaa
In case 1) appears a squid's error message with text:

The dnsserver returned:
DNS Domain 'aaa' is invalid: Host not found (authoritative).

In case 2) appears a squid's error message with text:

The dnsserver returned:
Name Error: The domain name does not exist.

Please explain me what i'm doing wrong at that step. (This situation is just
a part of a complex problem, and i want to reject all side problems.) Or
full transparancy is unaccessable?

I'm using Squid/2.4.STABLE6. Compile with options:
./configure \
    --disable-internal-dns \ !!!!!!!!!
    --enable-linux-netfilter \
    --enable-kill-parent-hack \
    --disable-wccp \
    --enable-snmp \
    --enable-xmalloc-statistics \
    --with-pthreads \
    --disable-ident-lookups \
    --includedir=/usr/src/linux/include \
    --disable-http-violations \
    --enable-removal-policies="lru,heap" \
    --enable-useragent-log \
Received on Wed Jun 19 2002 - 05:53:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:43 MST