Opened 8 years ago

Last modified 2 years ago

#3852 new enhancement

Make DNS resolution happen on particular exit nodes for particular hostnames

Reported by: mr-4 Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-client dns interface needs-design
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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!

Child Tickets

Change History (8)

comment:1 Changed 8 years ago by nickm

Component: - Select a componentTor Client

comment:2 Changed 8 years ago by nickm

Milestone: Tor: unspecified

comment:3 Changed 7 years ago by nickm

Keywords: tor-client added

comment:4 Changed 7 years ago by nickm

Component: Tor ClientTor

comment:5 Changed 2 years ago by acceleraTor

Severity: Normal

dns is resolved by exit default dns resolver. so you can run second tor client and specify ExitNodes that work for your situation. Use DNSPort of second Tor instance.

comment:6 Changed 2 years ago by nickm

Keywords: dns interface needs-design added
Priority: MediumLow

comment:7 Changed 2 years ago by nickm

Summary: allow 'selective' DNS resolution using particular DNS server(s) with torMake DNS resolution happen on particular exit nodes for particular hostnames

comment:8 Changed 2 years ago by Sebastian

Can we just close this as won't fix because it would be config feature creep and could be solved via an intercepting controller?

Note: See TracTickets for help on using tickets.