network: disable systemd-resolved fallback dns
Some checks failed
ci/woodpecker/push/ci Pipeline failed
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:
parent
2ce98c3fc0
commit
f406d0f98d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue