Can we redirect DNS (tcp/udp) requests to Squid proxy in non-transparent mode (3128) using iptables? (Would the squid proxy understand this and process it?) rule to redirect tcp 53: iptables -t nat -A PREROUTING -s 192.168.0.0/24 -i eth1 -p tcp --dport 53 -j REDIRECT --to-port 3128 rule to redirect udp 53 (because squid "listen" high udp port. example: 36352, Command: netstat -tlunp | grep squid) iptables -t nat -A PREROUTING -s 192.168.0.0/24 -i eth1 -p udp --dport 53 -j REDIRECT --to-port 36352 PD: Squid has directives related to dns: positive_dns_ttl negative_dns_ttl dns_nameservers 8.8.8.8 8.8.4.4 udp_incoming_address