* Matthew Miller:
On Thu, Apr 16, 2020 at 07:27:29PM +0200, Lennart Poettering wrote:
> > If there are no servers configured... Shouldn't it use no servers?
> Well, our assumption is that working DNS is better than DNS that
> doesn't work.
I hope no one is using lack of configured DNS as a security measure! But I
can see a case for wanting lack of configuration to be a failure rather than
working but non-obviously not in the way you expected.
At the lowest level, lack of configuration (i.e., no name servers in
/etc/resolv.conf or no such file at all) currently means that 127.0.0.1
is used as the DNS resolver. This has been the case for such a long
time that I think it would not be a good idea to configure different
servers instead.
Thanks,
Florian