Make DNS resolution happen on particular exit nodes for particular hostnames
I use tor's internal DNS resolution scheme a lot on a machine on which I have a host of other applications, including a BT client.
The issue I am continually facing, however, is that I constantly run across a group of trackers, on which I cannot resolve/use name->ip address resolution unless the request is addressed to a particular set of DNS server or servers (OpenDNS is a prime example of this).
Currently, there is no way I could 'force' tor to use a particular set of DNS servers for address resolution of a particular host or hosts.
It would be nice if I could add an option in torrc, similar to the '.exit' address mapping, but made for dns resolution. A simple example would be this:
MapDNS tracker.ccc.de.208.67.222.222
In the above example when a dns request is received by tor for 'tracker.ccc.de', this request is then 'redirected' (probably via exit node, which would be, I assume, different most of the time) for dns resolution to 208.67.222.222 (OpenDNS) and then when a response is received it is then passed on to the requesting application.
I don't pretend to know the tor inner workings and can't judge whether the above is doable or not, but it would be nice to specify a particular set of DNS server (or servers) to be used for dns resolution for a particular name(s), thus avoiding the problem I described above.
Many thanks!
Trac:
Username: mr-4