How to verify whether your SOCKS-using application is leaking DNS requests over Tor

Even if an application uses Tor's SOCKS proxy, it can still reveal destination hostnames. This article explains how to test your app for DNS leaks using Tor's built-in options and how to block unsafe connections.