Compare commits

..

No commits in common. "19e8dd87044a1f29056a53f27a3771eb82e3ef3b" and "da023642efc6cd0151d49f8f31a0acc5bf5e386a" have entirely different histories.

View file

@ -4,15 +4,13 @@
services.resolved.enable = false; services.resolved.enable = false;
networking.resolvconf.enable = false; networking.resolvconf.enable = false;
networking.nameservers = [ "127.0.0.1" ]; networking.nameservers = [ constants.hosts.sid.ip ];
services.coredns = { services.coredns = {
enable = true; enable = true;
config = with constants; '' config = with constants; ''
.:53 { .:53 {
bind 127.0.0.1 ${hosts.sid.ip} bind 127.0.0.1 ${hosts.sid.ip}
forward . 1.1.1.1 8.8.8.8
cache 30
hosts { hosts {
${hosts.sid.ip} ${ca-fqdn} ${hosts.sid.ip} ${ca-fqdn}
@ -24,6 +22,8 @@
${hosts.vde.ip} vde.tail ${hosts.vde.ip} vde.tail
fallthrough fallthrough
} }
forward . 1.1.1.1
cache
log log
errors errors
} }