nuc: fix dns setup for adguard

This commit is contained in:
Rouven Seifert 2024-04-10 00:31:05 +02:00
parent 358220a12e
commit 6a78a9039d
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 5 additions and 6 deletions

View file

@ -5,6 +5,9 @@
services.adguardhome = {
enable = true;
openFirewall = true;
settings.bind_port = 3000;
settings = {
dns.bind_hosts = [ "192.168.42.2" ];
http.address = "0.0.0.0:3000";
};
};
}

View file

@ -14,17 +14,12 @@
};
services.resolved = {
enable = true;
# dnssec = "allow-downgrade";
fallbackDns = [
"9.9.9.9"
"149.112.112.112"
"2620:fe::fe"
"2620:fe::9"
];
extraConfig = ''
[Resolve]
DNSStubListener=no
'';
};
systemd.network = {
enable = true;
@ -38,6 +33,7 @@
DHCP = "yes";
LLDP = true;
EmitLLDP = "nearest-bridge";
DNSSEC = false;
};
};
};