From 5433a0285fa81baa469f8be56e5df406ef4324f9 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 21 Dec 2022 10:11:34 +0100 Subject: [PATCH] Use dnsmasq to resolve loopback --- modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index 0a906c9..b7b5875 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -19,7 +19,7 @@ in { matchConfig.Name = "eth0"; address = [ "192.168.13.2/24" ]; gateway = [ "192.168.13.1" ]; - dns = [ "51.158.108.203" "137.220.55.93" ]; + dns = [ "192.168.13.2" ]; networkConfig.DNSSEC = "no"; }; @@ -102,7 +102,7 @@ in { # DNS server with ad-block services.dnsmasq = { enable = true; - servers = config.systemd.network.networks."24-home".dns; + servers = [ "51.158.108.203" "137.220.55.93" ]; extraConfig = '' domain-needed bogus-priv