From 85d1c145616b7cd41dc6555086692d1c946c782b Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 17 Jul 2022 13:52:49 +0200 Subject: [PATCH] pre-router: use internal nameserver --- hosts/pre-router/dhcp.nix | 2 +- hosts/pre-router/router.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/pre-router/dhcp.nix b/hosts/pre-router/dhcp.nix index 5b45e0a..ae886ab 100644 --- a/hosts/pre-router/dhcp.nix +++ b/hosts/pre-router/dhcp.nix @@ -28,7 +28,7 @@ } { name = "domain-name-servers"; - data = "10.42.10.1"; + data = "10.42.10.8"; } { name = "domain-name"; diff --git a/hosts/pre-router/router.nix b/hosts/pre-router/router.nix index 5825066..1069c1e 100644 --- a/hosts/pre-router/router.nix +++ b/hosts/pre-router/router.nix @@ -9,7 +9,7 @@ networking.firewall.interfaces.ens19.allowedUDPPorts = [ 67 53 ]; networking = { - nameservers = [ "141.24.40.3" "141.24.40.4" ]; + nameservers = [ "10.42.10.8" "2a01:4f8:1c0c:8221::8" ]; nat = { enable = true; extraCommands = "iptables -A INPUT -p icmp -j ACCEPT";