Can squid forward DNS queries to a DNS server?

Posted by pravin on Stack Overflow See other posts from Stack Overflow or by pravin
Published on 2010-04-11T14:05:17Z Indexed on 2010/04/11 14:13 UTC
Read the original article Hit count: 406

Filed under:
|

This might something be completely impossible to achieve, but before I give it a shot thought I might get some advice from a fellow geek. Would squid proxy DNS queries as well? I would like to forward DNS queries to go through squid and use squid's DNS error page, of course by customizing it. I see the DNS queries are hitting my squid box on UDP port 53. I can setup a port forwarding so that all these queries get sent to squid's port 3128. But would squid understand its a DNS query and forward those queries to the dns server set in squid.conf? I hope my question is clear but please shout up and I would be glad to give you some more info if needed. Thanks guys!

© Stack Overflow or respective owner

Related posts about squid

Related posts about dns