diff --git a/hosts/sid/services/coredns.nix b/hosts/sid/services/coredns.nix index 67a055f..0d8e036 100644 --- a/hosts/sid/services/coredns.nix +++ b/hosts/sid/services/coredns.nix @@ -4,15 +4,13 @@ services.resolved.enable = false; networking.resolvconf.enable = false; - networking.nameservers = [ "127.0.0.1" ]; + networking.nameservers = [ constants.hosts.sid.ip ]; 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} @@ -24,6 +22,8 @@ ${hosts.vde.ip} vde.tail fallthrough } + forward . 1.1.1.1 + cache log errors }