I want to have all DNS queries passing through tor.
How to set my default DNS to go through tor?
In other word I want to use the IP given by
tor-resolve google.com instead of
It is explained here.
For short, add
DNSPort 9053 to the
More information is needed. Many modern linux systems overwrite your /etc/resolv.conf automatically (resolvconf for example), and several run their own local caching dns (nscd for example). Without knowing what you are on and what is running, suggestions may fail.
However, here are two places to start:
EDIT: also see the response by j1088099-mvrht below.