fix(luna): properly configure systemd-resolved
This commit is contained in:
parent
4e0f171a2e
commit
e9bfb11137
@ -69,15 +69,16 @@ in
|
|||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "true";
|
dnssec = "allow-downgrade";
|
||||||
domains = [ "~." ];
|
domains = resolved_nameservers;
|
||||||
fallbackDns = resolved_fallback_nameservers;
|
fallbackDns = resolved_fallback_nameservers;
|
||||||
llmnr = "true";
|
llmnr = "resolve";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
MulticastDNS=yes
|
MulticastDNS=yes
|
||||||
DNSOverTLS=yes
|
DNSOverTLS=yes
|
||||||
CacheFromLocalhost=no
|
CacheFromLocalhost=no
|
||||||
Cache=yes
|
Cache=yes
|
||||||
|
Domains=~.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
|
Loading…
Reference in New Issue
Block a user