resolve DNS locally when running coredns

This commit is contained in:
2022-06-01 20:22:50 -04:00
parent 15ff560080
commit 9fec3b77f4

View File

@ -18,6 +18,7 @@ in
enable = true;
config = ''
. {
bind 127.0.0.1
bind ${cfg.addr}
prometheus ${cfg.addr}:9153
log
@ -35,5 +36,10 @@ in
}
'';
};
networking = {
nameservers = [ "127.0.0.1" ];
search = [ "walkah.lab" ];
};
};
}