unbound: fix
This commit is contained in:
parent
36b8f77764
commit
4cc5a1fb57
2 changed files with 7 additions and 12 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
firewall = {
|
||||
logRefusedConnections = false;
|
||||
trustedInterfaces = [ "podman0"];
|
||||
trustedInterfaces = [ "podman0" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -47,10 +47,8 @@
|
|||
];
|
||||
networkConfig = {
|
||||
DNS = [
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
"127.0.0.1"
|
||||
"::1"
|
||||
];
|
||||
LLDP = true;
|
||||
EmitLLDP = "nearest-bridge";
|
||||
|
|
|
@ -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