:: Re: [DNG] request for advice
Forside
Slet denne besked
Besvar denne besked
Skribent: capercally.bleery670
Dato:  
Til: dng
Emne: Re: [DNG] request for advice
On Wed, Jul 19, 2023 at 10:26:49AM +0200, Didier Kryn wrote:

> > TBH, this is one area in which the pre systemd status sucks. It
> > would have been better had we agreed on a small DNS caching
> > resolver like dnsmasq to run on *every* system and defaulted the
> > libc to always consult 127.0.0.1#53.


> On a laptop, you can sometimes like to switch from wifi to Ethernet
> and/or change place and subnet without reboot; this implies
> rewriting /etc/resolv.conf, whatever the network management
> system. There has existed since about two decades the package
> resolvconf which transforms /etc/resolv.conf into a symlink to a
> file under /run. This is a good practice, since files in /etc should
> better never change except by sysadmin, and resolv.conf contains
> data which may change often and do not desserve being preserved over
> reboot. And /run is in RAM. I also had the issue of a bunch of cpus
> sharing the same /etc over nfs, but, obviously not the same
> resolv.conf .


Yes, I know about resolvconf -- I noted it down the thread from there.
My point was that it would be better if all this shuffling was done
inside a particular package's configuration (like dnsmasq's), and
not in the high profile, global resolv.conf.

--
Ian