unbound: fix

This commit is contained in:
Rouven Seifert 2025-05-09 23:17:38 +02:00
parent 36b8f77764
commit 4cc5a1fb57
2 changed files with 7 additions and 12 deletions

View file

@ -1,17 +1,14 @@
{ ... }:
{
services.resolved.extraConfig = ''
DNSStubListener=no
'';
services.unbound = {
enable = true;
settings = {
server = {
interface = [ "127.0.0.1" ];
access-control = [ "127.0.0.1 allow" ];
interface = [ "127.0.0.1" "::1" ];
};
stub-zone = [
{
name = ".";
}
];
};
};
}