use explicit dns setup on the servers
This commit is contained in:
parent
8348f5ec9b
commit
212d4a5d6f
1 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,10 @@
|
||||||
{
|
{ config, pkgs, ... }: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [ ./server-security.nix ./tailscale ];
|
imports = [ ./server-security.nix ./tailscale ];
|
||||||
|
networking.nameservers =
|
||||||
|
[ "9.9.9.9" "2620:fe::fe" "149.112.112.112" "2620:fe::9" ];
|
||||||
|
services.nscd = {
|
||||||
|
enable = true;
|
||||||
|
enableNsncd = true;
|
||||||
|
};
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue