Configuring IE to resolve DNS at the proxy rather than locally
One workaround, while inconvenient, is to set your DNS from ncpa.cpl
to 127.0.0.1, and tell your SSH client to forward 127.0.0.1:53 to the remote side.
Related videos on Youtube
dankilman
Updated on September 17, 2022Comments
-
dankilman over 1 year
With the intention of tunneling web traffic through an SSH connection, the following has been done:
I've manually configured a PAC file in IE7 in the LAN Settings dialog. I've verified that traffic is routed through my SSH tunnel that is setup for SOCKS5 dynamic port forwarding. I see that IE7 is always trying to resolve the name locally first.
What I'm looking for is the ability to have the DNS name resolved at the proxy, rather than locally by the browser.
There's a setting in Firefox that specifies DNS remote resolution, and Safari does it automatically. I've verified correct operation for these 2 other browsers. It would be nice if I could get IE to work also.
This is for reference so you could understand where does the question originate from.
Notice: The question was actually found by the help of google but with no answers available. Considering how it is exactly my question I figured I should just copy/paste over here because I don't think I could describe any better (there is a small introduction though).
-
Juan Carlos Muñoz almost 11 yearsI tried this but didn't work, probably because the DNS server I am trying to use in the remote side doesn't have TCP port 53 enabled, only UDP. I might be able to make it work using fifos as described here, but I don't have to test right now: qcnetwork.com/vince/doc/divers/udp_over_ssh_tunnel.html
-
LawrenceC almost 11 yearsI didn't consider that ... good point.