[tor-dev] Dealing with DNS requests by Tor unaware programs

Rusty Bird rustybird at net-c.com
Mon Jun 25 12:35:54 UTC 2018

> So we recommend SOCKSPort or HTTPTunnelPort instead, because
> they support sending DNS names to exits as part of the connection
> request.

Looks like this can also be achieved for TransPort by configuring:

    AutomapHostsOnResolve 1
    AutomapHostsSuffixes .

Then tor will tor (instantly) hand out an IP address in the
VirtualAddrNetworkIPv{4,6} range for _all_ domains, not just .onion etc.
With these options, if I watch STREAM events on the control port I see
SENTCONNECT to the hostname.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20180625/1a1eb7eb/attachment.sig>

More information about the tor-dev mailing list