TOR resolver appends localdomain to DNS requests
For some time now I see lots of AAAA requests in the query log of my domain's authoritative nameserver looping back from my upstream resolvers. Here are some examples:
query: piichandiary.blog71.fc2.com. IN AAAA -E query: fwing.blog6.fc2.com. IN AAAA -E query: nekosen.blog61.fc2.com. IN AAAA -E query: tsuboriba.blog71.fc2.com. IN AAAA -E query: 405405.blog65.fc2.com. IN AAAA -E query: ocucoop2006-mon-e.seesaa.net. IN AAAA -E
Since the host running TOR is IPv6 enabled the resolver first tries to lookup IPv6 addresses. However the problem is not the AAAA query, which should be "resolved" by #280 (moved), but the fact that the host's domain name is added if the first query failed.
This even works with non-FQDN names, eg. use this to access my webserver:
As a workaround someone can set LOCALDOMAIN=. in the TOR init script, but appending the default domain and using the domain search list should really be disabled by TOR itself.
[Automatically added by flyspray2trac: Operating System: Other Linux]
Trac:
Username: peterpramb