View Single Post
Posts: 11 | Thanked: 7 times | Joined on Sep 2009
#17
Thanks nieldk - I agree it might be problematic to get this working without breaking some DNS queries.

For anyone intereseted, I got TorDNS working by redirecting all outgoing DNS queries to it with iptables. Here are the instructions (only do it if you have a good idea what what all this means, and again it might break certain DNS queries):

Add the following to /etc/tor/torrc:
DNSPort 9053
AutomapHostsOnResolve 1
AutomapHostsSuffixes .exit,.onion
su-devel
iptables -t nat -A OUTPUT -p udp --dport 53 -j REDIRECT --to-ports 9053

Then restart tor. Check that it's working by going to a tor hidden service like duckduckgo's: 3g2upl4pq6kufc4m.onion.
 

The Following User Says Thank You to equim For This Useful Post: