I often alternate between torsocks/proxychains when using wget, youtube-dl, gpg2, ssh, pacman and more [non-multithreading] applications. If torsocks breaks or seems abnormally slow, I'll likely try proxychains and vice versa. Other applications like curl I use the built-in proxy flags. But I wonder how certain applications handle dns requests. It seems safer to proxy the entire command.
What are some notable pros/cons to using torsocks/proxychains with any of the above applications? Should torsocks be priority over proxychains? Is one better with dns leaks than the other? Or should I just continue to use my patented whatever-fucking-works method?
Some examples of usage:
$ cat /etc/pacman.conf
XferCommand = /usr/bin/torsocks /usr/bin/wget --passive-ftp -c -O %o %u
$ proxychains youtube-dl --no-part https://www.youtube.com/lamevideo
$ torsocks ssh -i somekey [email protected] -p 54321
$ torsocks gpg2 --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290
$ proxychains wget --https-only https://website.com/download.tar