xask: Deepak Mishra <(E-Mail Removed)> wrote:
> No I told you this machine is not running a DNS server so it wont
> resolve any internet name !! thats the whole problem .
> I want to tunnel all my DNS requests through a proxy server!
Ok. You could make the lookup on the server running squid, and avoid
tunnelling. Add the following line to /etc/network/interfaces (on the squid
machine):
dns-nameservers 123.456.789.012
and then add the squid machine as the nameserver on the client.
I don't see any benefit from tunnelling dns requests, however, if you really
want to tunnel, you will need to configure the resolver to the proxy. I looked
at my resolver, to see if I could find this facility, but it does not appear
to be listed on my version, so you may need to do some research. I did a quick
google, but found nothing that immediately answers your question. However, if
you are using this for http traffic, it appears that the firefox browser can
make use of a remote dns server via a proxy:
in about
:config, set network.proxy.socks_remote_dns = true
(I don't know how you tell it which dns server to use though and I don't use
firefox here, so I didn't look at this.)
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/