[tor-bugs] #24833 [- Select a component]: DNS not reliably returning AAAA records

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 8 22:14:24 UTC 2018


#24833: DNS not reliably returning AAAA records
----------------------------------+-------------------------------
 Reporter:  Zakhar                |          Owner:  (none)
     Type:  enhancement           |         Status:  new
 Priority:  Medium                |      Milestone:
Component:  - Select a component  |        Version:  Tor: 0.2.9.14
 Severity:  Normal                |     Resolution:
 Keywords:  DNS AAAA              |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+-------------------------------

Comment (by Zakhar):

 Addition:

 '''DNS over ipv6 reliably returns both A and AAAA records:'''

 `$ head /etc/tor/torrc`
 `DNSPort [fe80::10%vnet0]:9053`
 `TransPort [fe80::10%vnet0]:9040`

 (the rest is identical)

 `$ curl -g -H 'Host: ifconfig.co'  http://[2001:470:28:840::cafe:d00d];
 echo "dig"; dig ifconfig.co A ifconfig.co AAAA +short;`
 `2a02:c207:3002:267::1`
 `dig`
 `188.113.88.193`
 `2001:470:28:840::cafe:d00d`

 `$ !!`
 `2001:67c:2608::1`
 `dig`
 `188.113.88.193`
 `2001:470:28:840::cafe:d00d`

 `$ !!`
 `2a00:1dc0:caff:8b::5b9a`
 `dig`
 `188.113.88.193`
 `2001:470:28:840::cafe:d00d`

 `$ !!`
 `ifconfig.co AAAA +short;`
 `2001:bc8:4700:2300::1:a07`
 `dig`
 `188.113.88.193`
 `2001:470:28:840::cafe:d00d`


 ... of course the command does not show our external ipv4 address since we
 don't have the ipv4 stack anymore.

 Unfortunately, the workaround to run DNS over ipv6 in my dual stack is not
 possible right now due to some limitations in my configuration tools...
 because indeed that would make things more reliable!

 I have also noticed that DNS over ipv6 with tor seems faster... probably
 it is select newer/faster exit nodes!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24833#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list