dns-tor-proxy is a small DNS server which you can run in your local system along with the Tor process. It will use the SOCKS5 proxy provided from Tor, and route all of your DNS queries over encrypted connections via Tor.
By default the tool will use 1.1.1.1
(from Cloudflare) as the upstream server, but as the network calls will happen over Tor, this will provide you better privacy than using directly.
In this first release I am only providing source packages, maybe in future I will add binaries so that people can download and use them directly.
Demo
In the following demo I am building the tool, running it at port 5300, and then using dig
to find the IP addresses for mirrors.fedoraproject.org
and python.org
.
The -h
flag will show you all the available configurable options.
./dns-tor-proxy -h
Usage of ./dns-tor-proxy:
-h, --help Prints the help message and exists.
--port int Port on which the tool will listen. (default 53)
--proxy string The Tor SOCKS5 proxy to connect locally, IP:PORT format. (default "127.0.0.1:9050")
--server string The DNS server to connect IP:PORT format. (default "1.1.1.1:53")
-v, --version Prints the version and exists.
Make sure that your Tor process is running and has a SOCKS proxy enabled.
from Planet Python
via read more
Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject! free vpn
ReplyDelete