I am experimenting with different ways to Torify DNS requests for applications that do not support SOCKS5's
RESOLVE or SOCKS4a, themselves. One simple way to do this is to configure Tor itself to resolve DNS requests using
DNSPort 127.0.0.1:53, then tell your system that its DNS resolver is the
echo "nameserver 127.0.0.1" > /etc/resolv.conf or whatever is appropriate for your operating system).
In doing so, and then tailing my Tor's logfile (having been configured with
SafeLogging 0 and
Log notice file /tmp/tor.log or similar), I noticed that each time an application that doesn't explicitly use SOCKS4a or SOCKS5 with remote DNS resolution requests DNS resolution of a
.onion address, a line appears in my Tor log like this:
[warn] Onion address FOO requested from a port with .onion disabled
I'm aware that
.onion addresses actually don't have IP addresses associated with them (of course) but I still don't understand exactly what the warning means and, oddly, searching for the log output text produces exactly 0 results on various popular search engines.
Thus, two questions:
- What does the warning mean to Tor? And is there a way to configure Tor so that one "enables" the
.onionon this "disabled" "port"…whatever that means?
- Also, is there a way to change Tor's behavior regarding this apparent configuration.
Thanks in advance.