title: How do i turn on the Remote DNS feature of Firefox's proxy settings via Selenium(Python)?
body: <p>I am writing a program which consists of a browser (Firefox) that has been set to use proxy, to go and open websites and links.</p>
  
  <p>Here is a part of my source code:</p>
  
  <pre><code>from selenium import webdriver
  
  def my_proxy(PROXY_HOST,PROXY_PORT):
          fp = webdriver.FirefoxProfile()
          print PROXY_PORT
          print PROXY_HOST
          fp.set_preference("network.proxy.type", 1)
          fp.set_preference("network.proxy.socks",PROXY_HOST)
          fp.set_preference("network.proxy.socks_port",int(PROXY_PORT))
          fp.set_preference("general.useragent.override","whatever_useragent")
          fp.update_preferences()
          return webdriver.Firefox(firefox_profile=fp
  </code></pre>
  
  <p>How do i turn on the <em>Remote DNS</em> feature?</p>