diff --git a/modules/coredns/default.nix b/modules/coredns/default.nix index 0fa9315..d9b0d79 100644 --- a/modules/coredns/default.nix +++ b/modules/coredns/default.nix @@ -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" ]; + }; }; }