Sign up ×
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
@NickKavadias Thanks for the awesome answer. By the way, do you know why Firefox acts in a "hipster" manner? For example this option is true on other browsers by default. Also, other browsers use Windows Certificate Store by default but Firefox doesn't etc. Do you know why Firefox is configured to act this way? – Utku Nov 10 at 10:21

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
Very good hint! No need to go to about:config anymore, it can be configured in the (graphical) settings dialog. But the link you posted is not working anymore. There's a mozillaZine article and bug report #134105. – basic6 Sep 4 at 11:23

Your Answer


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