summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-02-16 13:38:52 -0800
committerKleidi Bujari <mail@4kb.net>2026-02-16 13:38:52 -0800
commit54a787fbe4375102f742b8370120f4b51e3b079d (patch)
tree3415a262e0aabf6677d790a4db6a76a278554124
parent27364ac5a9359daf9b9236cfbfbba6a68bd3b2d5 (diff)
downloaddepot-54a787fbe4375102f742b8370120f4b51e3b079d.tar.gz
depot-54a787fbe4375102f742b8370120f4b51e3b079d.tar.bz2
depot-54a787fbe4375102f742b8370120f4b51e3b079d.zip
docs for using fallbackdns
-rw-r--r--modules/network.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/network.nix b/modules/network.nix
index 790d159..8264102 100644
--- a/modules/network.nix
+++ b/modules/network.nix
@@ -62,6 +62,10 @@ in
services.resolved = {
enable = true;
+
+ # Only use these addresses as fallback. Machines using this configuration
+ # are on a trusted local network anyway, so they should accept DNS servers
+ # from the network.
settings.Resolve.FallBackDNS = quad9 ++ cloudflare;
};
};