On Do, 16.04.20 14:07, Matthew Miller (mattdm@fedoraproject.org) wrote:
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.
Use FallbackDNS= to override the built-in defaults, and set it to the empty string if you want lookups to fail.
Lennart
-- Lennart Poettering, Berlin