unbound: fix
This commit is contained in:
parent
36b8f77764
commit
4cc5a1fb57
2 changed files with 7 additions and 12 deletions
|
@ -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 = ".";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue