network: disable systemd-resolved fallback dns
Some checks failed
ci/woodpecker/push/ci Pipeline failed

This might not be the best idea, but serves as a reminder to consider
sensitive deployments in the future.
This commit is contained in:
Daniel Lundin 2024-11-10 14:19:29 +01:00
parent 2ce98c3fc0
commit f406d0f98d
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -8,6 +8,10 @@
firewall.enable = false;
};
services.resolved = {
fallbackDns = [ ]; # Disable fallback DNS. DNS will fail if resolvers are unconfigured
};
# Faster boot.
systemd.network.wait-online.enable = false;
}