nixos: resolved: use cfg.dnsovertls
This commit is contained in:
parent
de0b5c7dc3
commit
a0e4dcd93f
1 changed files with 7 additions and 7 deletions
|
@ -6,6 +6,12 @@
|
||||||
"223.6.6.6"
|
"223.6.6.6"
|
||||||
"2400:3200::1"
|
"2400:3200::1"
|
||||||
"2400:3200:baba::1"
|
"2400:3200:baba::1"
|
||||||
|
|
||||||
|
### Google DNS
|
||||||
|
#"8.8.8.8#dns.google"
|
||||||
|
#"8.8.4.4#dns.google"
|
||||||
|
#"2001:4860:4860::8888#dns.google"
|
||||||
|
#"2001:4860:4860::8844#dns.google"
|
||||||
];
|
];
|
||||||
|
|
||||||
### systemd-resolved
|
### systemd-resolved
|
||||||
|
@ -13,13 +19,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
domains = ["~."];
|
domains = ["~."];
|
||||||
dnssec = "true";
|
dnssec = "true";
|
||||||
extraConfig = "DNSOverTLS=yes";
|
dnsovertls = "true";
|
||||||
fallbackDns = [
|
|
||||||
#"8.8.8.8#dns.google"
|
|
||||||
#"8.8.4.4#dns.google"
|
|
||||||
#"2001:4860:4860::8888#dns.google"
|
|
||||||
#"2001:4860:4860::8844#dns.google"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
### https://wiki.archlinux.org/title/Sysctl#Improving_performance
|
### https://wiki.archlinux.org/title/Sysctl#Improving_performance
|
||||||
|
|
Loading…
Reference in a new issue