How to change the used DNS Server?
Hi, maybe i am totaly stupid but we use proxychains on all our Linux and Windows machines with a specific DNS Server. which works fine. But our Mac User cant because proxychains_ng always uses the google DNS. I cant find a config File to change this. Can you help?
proxychains uses either the system dns server via libc routines, or when remote_dns is enabled relays the lookup to the proxy server. so i suppose you can just edit /etc/resolv.conf and thats it.
Accoding to this article Changing proxychains' "hardcoded" DNS server , proxychains accept DNS_SERVER envirement variable, you can change it as you like.
export DNS_SERVER=8.8.8.8
proxychains firefox
@tangxinfa that is true for proxychains 3.1, but not for proxychains-ng.
@rofl0r I use proxychains-ng on Archlinux, DNS_SERVER envirement variable is works, this also use by the proxyresolv tool.
proxyresolv is just a bonus, it will not be installed by default, and proxychains-ng itself doesnt use it. i looked at that package and it does nothing special, so there's no way DNS_SERVER could influence proxychains4 program.