title: Are DNS requests resolved using Tor when connecting through SOCKS proxy?
body: <p>Suppose I set up Firefox or proxychains to connect to Tor network using SOCKS proxy on e.g. port 9050.</p>
  
  <p>Now, will DNS requests be resolved using the Tor network? </p>
  
  <p>I know that Tor works with TCP traffic, but how does it handle UDP packets?</p>
  
  <p>I’m uncertain whether DNS request will stay anonymous, since I’ve read that e.g. torrent clients doesn’t work well with Tor by virtue of various UDP protocols? </p>