✨ resolve DNS locally when running coredns
This commit is contained in:
parent
15ff560080
commit
9fec3b77f4
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user