Am Dienstag, 14. Januar 2020, 19:18:01 CET schrieb Greg Wooledge: > On Tue, Jan 14, 2020 at 12:12:03PM -0500, Bob Weber wrote: > > Just edit the file /etc/resolv.conf and make it immutable (chattr +i > > /etc/resolv.conf). At least you will know what is in the file and that it > > can't be changed (mistakes and all). I use this to keep chrome from > > changing the google-chrome-beta.list file every time it starts since I use > > the HTTPS/// option of apt-cacher-ng to use https transfers outside my > > LAN. > That is one of the options given on the wiki page. > > https://wiki.debian.org/resolv.conf > > Be sure you work around bug #860928 if you use this approach.
Thank you for all the good replies to this thread. prepend dhcp6.name-servers 2001:4860:4860::8888, 2001:4860:4860::8844; avoids the error message, but has no visible effect I can see. The IPv6 DNS servers still do not show in resolv.conf. Unfortunately, root@home:~# cat /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone make_resolv_conf() { :; } root@home:~# ls -l /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone -rwxr-xr-x 1 root root 26 Jan 14 20:59 /etc/dhcp/dhclient-enter-hooks.d/ leave_my_resolv_conf_alone root@home:~# does not stop the system to overwrite /etc/resolv.conf constantly. Do I need to restart a service that the change takes effect? I did an ifdown/ifup eth0.1 ... Thanks again Rainer -- Rainer Dorsch http://bokomoko.de/