Add Google DNS resolution
This is a failsafe for when the Pihole is down, like now while I'm developing its configuration.
This commit is contained in:
parent
f44f8346f4
commit
0a9f1c5799
|
@ -230,7 +230,11 @@
|
||||||
#{ from = 8000; to = 8010; }
|
#{ from = 8000; to = 8010; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
# Add Google DNS so that we can still resolve DNS names when our Pihole is down.
|
||||||
|
networking.nameservers = [
|
||||||
|
"8.8.8.8"
|
||||||
|
"2001:4860:4860::8888"
|
||||||
|
];
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
# Copy the NixOS configuration file and link it from the resulting system
|
# Copy the NixOS configuration file and link it from the resulting system
|
||||||
# (/run/current-system/configuration.nix). This is useful in case you
|
# (/run/current-system/configuration.nix). This is useful in case you
|
||||||
|
|
Loading…
Reference in New Issue