From bc3a6c308c74553cf7dcde3505af41db0a54a1c7 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Tue, 29 Oct 2024 00:31:14 +0530 Subject: [PATCH] all: use both dns servers --- hosts/shared/network.nix | 1 + hosts/shared/wireguard.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/shared/network.nix b/hosts/shared/network.nix index cc6bfad..d2de654 100644 --- a/hosts/shared/network.nix +++ b/hosts/shared/network.nix @@ -2,6 +2,7 @@ networking = { nameservers = [ "10.10.10.11" + "10.10.10.12" ]; useDHCP = lib.mkDefault false; }; diff --git a/hosts/shared/wireguard.nix b/hosts/shared/wireguard.nix index d89e772..05d1b68 100644 --- a/hosts/shared/wireguard.nix +++ b/hosts/shared/wireguard.nix @@ -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" ];