[tor-relays] lets stop using central big DNS resolvers (Google, Level3, OpenDNS, Quad9, Cloudflare)

Ralph Seichter m16+tor at monksofcool.net
Sun May 13 23:15:30 UTC 2018


On 13.05.18 15:34, Paul wrote:

> Unfortunately the /etc/resolv.conf gets overwritten on reboot. On
> Linux I solved that with editing /etc/resolvconf/resolv.conf.d/base.

A perhaps easier alternative to consider:

  # /etc/tor/torrc
  ServerDNSResolvConfFile /etc/tor/resolv.conf.local

  # /etc/tor/resolv.conf.local
  nameserver 127.0.0.1

That will work even if your hoster meddles with the settings, which I
have seen happen with virtual/cloud servers.

-Ralph


More information about the tor-relays mailing list