From d806a3cd5ee9388998428ca4f033ac4f6018a80b Mon Sep 17 00:00:00 2001 From: sid Date: Sun, 19 Apr 2026 00:41:09 +0200 Subject: [PATCH] sid: change nameserver to localhost --- hosts/sid/services/coredns.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/sid/services/coredns.nix b/hosts/sid/services/coredns.nix index 0d8e036..67a055f 100644 --- a/hosts/sid/services/coredns.nix +++ b/hosts/sid/services/coredns.nix @@ -4,13 +4,15 @@ services.resolved.enable = false; networking.resolvconf.enable = false; - networking.nameservers = [ constants.hosts.sid.ip ]; + networking.nameservers = [ "127.0.0.1" ]; services.coredns = { enable = true; config = with constants; '' .:53 { bind 127.0.0.1 ${hosts.sid.ip} + forward . 1.1.1.1 8.8.8.8 + cache 30 hosts { ${hosts.sid.ip} ${ca-fqdn} @@ -22,8 +24,6 @@ ${hosts.vde.ip} vde.tail fallthrough } - forward . 1.1.1.1 - cache log errors } -- 2.51.2