summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrigory Shipunov2023-02-13 14:24:31 +0100
committerGrigory Shipunov2023-02-13 14:24:31 +0100
commitc57817fdf3e8948b51f64148fcbc32249f0ce071 (patch)
treeb51c84424d8e6c8ef1b114d286d87d552411b67e /hosts
parente5cacc3bc83d70fb3b7048656eb8389bfcb5aa43 (diff)
switch to quad9 as fallback DNS
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cirrus/configuration.nix2
-rw-r--r--hosts/toaster/network.nix6
2 files changed, 7 insertions, 1 deletions
diff --git a/hosts/cirrus/configuration.nix b/hosts/cirrus/configuration.nix
index 56996f7..3c02b32 100644
--- a/hosts/cirrus/configuration.nix
+++ b/hosts/cirrus/configuration.nix
@@ -23,7 +23,7 @@
matchConfig = { Name = "enp1s0"; };
networkConfig = {
Address = "95.216.166.21/32";
- DNS = "1.1.1.1";
+ DNS = "9.9.9.9";
};
routes = [
{
diff --git a/hosts/toaster/network.nix b/hosts/toaster/network.nix
index 018e9a3..a2d1316 100644
--- a/hosts/toaster/network.nix
+++ b/hosts/toaster/network.nix
@@ -13,6 +13,12 @@
services.resolved = {
enable = true;
dnssec = "allow-downgrade";
+ fallbackDns = [
+ "9.9.9.9"
+ "2620:fe::fe"
+ "149.112.112.112"
+ "2620:fe::9"
+ ];
};
# workaround for networkd waiting for shit