all: use both dns servers

This commit is contained in:
Adithya 2024-10-29 00:31:14 +05:30
parent d8313711f7
commit bc3a6c308c
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
networking = {
nameservers = [
"10.10.10.11"
"10.10.10.12"
];
useDHCP = lib.mkDefault false;
};

View file

@ -16,7 +16,7 @@ in
{
nodeconfig.wireguard = {
inherit interface-name;
dns = [ "10.10.10.11" ];
dns = [ "10.10.10.11" "10.10.10.12" ];
endpoint = "165.232.180.97:51821";
endpoint-publickey = "NNw/iDMCTq8mpHncrecEh4UlvtINX/UUDtCJf2ToFR4=";
allowed-ips = if hostName == "skipper" then [ "10.10.10.0/24" ] else [ "10.10.10.1" "10.10.10.2" "10.10.10.3" ];