Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Firefox 3.5.7 with FoxyProxy. I have an ssh tunnel forwarding 8080 through to an HTTP proxy server on the other end. With FoxyProxy, I send work traffic direct but everything else goes through the proxy server. DNS lookups, though, still go to work's DNS servers for resolution. Is there an add-on that can funnel certain DNS traffic to the OS but shove everything else through my ssh tunnel? It's a long shot, but it never hurts to ask....

share|improve this question

3 Answers 3

  1. In firefox type this in your address bar:


  2. Click that you promise to be careful.

  3. In the filter textbox, type: proxy

  4. Find the preference name called *network.proxy.socks_remote_dns*. Double click it to set it to true.

Firefox will now proxy DNS requests instead of trying to resolve them locally.

share|improve this answer
I always forget this step, very important. –  Spencer K Sep 14 '12 at 15:19

Configure your ssh client to do Dynamic forwarding (-D flag on the openssh client) so that it acts like a SOCKS server. Then you can do remote DNS lookups via SOCKS. A straight up HTTP proxy doesn't support what you want.

FoxyProxy has info on how to do what you want with SOCKS. Privoxy is another good option, too.

share|improve this answer

Some time has passed. In the current firefox version you can check "Remote DNS" directly in the Network settings where you set the proxy settings.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.