Re: resolving all dns though a binary



xask: Deepak Mishra <xask.linus@xxxxxxxxx> 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/

.



Relevant Pages

  • Re: ssh in ssl tunnel. risks ?
    ... On the client machine is a X-server ... a ssh tunnel is less risk than a normal tcp socket because ... Some proxy servers/gateways log all kinds of stuff... ... The ssh tunnel would inhibit the proxy server from ...
    (comp.os.linux.security)
  • Re: How do I FTP via a secure tunnel (set up instructions requested pls)
    ... > I too am using Serv-U as a server and tunnel via secure tunnel. ... port. ... So much for the server side. ...
    (alt.computer.security)
  • Re: Tricky Site-to-Site VPN
    ... Sometimes the wizard acts up but almost always works. ... I am running an SBS 2003 with ISA 2004 server. ... their network securely (they insist it be done with an IPsec tunnel). ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN Remote Access
    ... Al Jarvi (MS-MVP Windows Networking) ... Server or going the OpenVPN route. ... Pro Remote Desktop through the tunnel to access the desktops. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Broadband router recommendations?
    ... if you send DNS requests to the router's address it will serve them from cache if it can and act as a proxy and perform the lookup on the external server otherwise. ... IIRC If you use the router's DHCP you can set up the DNS server address that DHCP will supply to clients from the "LAN TCP/IP and DHCP Setup" page in the router configuration. ... DNS requests on the ISP's DNS but it doesn't seem to cache local names. ... works perfectly as all the machines and VOIP boxes register with names ...
    (uk.telecom.broadband)