Is there any way to redirect DNS requests to the Squid proxy in non-transparent mode (3128) using iptables? (Would the squid proxy understand this and process it?) Example rule: iptables -t nat -A PREROUTING -s 192.168.0.0/24 -i eth1 -p udp --dport 53 -j REDIRECT --to-port 3128 PD: Squid has [directives that cache requests][1]: (example) positive_dns_ttl negative_dns_ttl PD2: And we can [specify the dns][2]: (example) dns_nameservers 8.8.8.8 8.8.4.4 [1]: http://www.squid-cache.org/Doc/config/positive_dns_ttl/ [2]: http://www.squid-cache.org/Doc/config/dns_nameservers/