Re:Systemd: Don’t fallback to Google NTP and DNS
by megous on Thursday July 02, 2020 @06:36PM
(#23718905)
It would be clearer if he linked to https://jlk.fjfi.cvut.cz/arch/manpages/man/resolved.conf.5.e... then.
Anyway, in default config, there will be only the file I mentioned. And whole this issue is about default configuration.
Re:Systemd: Don’t fallback to Google NTP and DNS
by JdeBP on Thursday July 02, 2020 @07:20PM
(#23719192)
Actually, no. The headlined issue is about what the fallback is when there is no file, or a file that doesn't specify a setting.
But then if one is using, say, dnscache or dnsmasq or MaraDNS or BIND or PowerDNS or any other such software, one has to do the same thing. /etc/resolv.conf will list simply 127.0.0.1 or some such, and one has to go further to the configuration files of those softwares to find out what they are using for resolution/forwarding.
DNS softwares having their own configuration files is normal. falcolas is apparently getting at the fact that systemd-resolved uses the same style of configuration as the other systemd programs do: files and drop-in directories in /etc/systemd, /run/systemd, /usr/local/lib/systemd, /usr/lib/systemd, and (if configured) /lib/systemd, meaning that one has to read all of this together.