[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



On 2018-05-13 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. In that file, i put in the info as
> i would in resolv.conf.
> 
> nameserver 127.0.0.1
> 
> Then i told resolvconf to regenerate resolv.conf
> 
> sudo resolvconf -u

If you use localhost (or in fact any fixed ip) for a resolver, you don't
need the resolvconf package at all.  Just uninstall it and you won't
need to work around it.

Another thing that can overwrite resolv.conf is DHCP client, if your
relay is on DHCP for some reason.  That can be stopped by configuring
DHCP to *not* ask for DNS info.  With the ISC DHCP client which was the
default one at least until Debian jessie, that's done by editing
/etc/dhcp/dhclient.conf .

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays