sid: change nameserver to localhost
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 20s
Flake check / flake-check (pull_request) Successful in 19s

This commit is contained in:
sid 2026-04-19 00:41:09 +02:00
parent 8155fbb41c
commit d806a3cd5e

View file

@ -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
}