mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Use NextDNS and always use DNSSEC and DoT
This commit is contained in:
parent
7459ee2ce1
commit
e367cfdd22
1 changed files with 17 additions and 3 deletions
|
@ -1,14 +1,28 @@
|
||||||
{ self, lib, ... }: with lib;
|
{ lib, ... }: with lib;
|
||||||
|
|
||||||
systemConfiguration {
|
systemConfiguration {
|
||||||
services.resolved = enabled {
|
services.resolved = enabled {
|
||||||
domains = [ self.cube.networking.domain ];
|
dnssec = "true";
|
||||||
|
dnsovertls = "true";
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
DNS=45.90.28.0#7f2bf8.dns.nextdns.io
|
||||||
|
DNS=2a07:a8c0::#7f2bf8.dns.nextdns.io
|
||||||
|
DNS=45.90.30.0#7f2bf8.dns.nextdns.io
|
||||||
|
DNS=2a07:a8c1::#7f2bf8.dns.nextdns.io
|
||||||
|
'';
|
||||||
|
|
||||||
dnsovertls = "opportunistic";
|
|
||||||
fallbackDns = [
|
fallbackDns = [
|
||||||
"1.1.1.1#one.one.one.one"
|
"1.1.1.1#one.one.one.one"
|
||||||
"2606:4700:4700::1111#one.one.one.one"
|
"2606:4700:4700::1111#one.one.one.one"
|
||||||
|
|
||||||
|
"1.0.0.1#one.one.one.one"
|
||||||
|
"2606:4700:4700::1001#one.one.one.one"
|
||||||
|
|
||||||
"8.8.8.8#dns.google"
|
"8.8.8.8#dns.google"
|
||||||
|
"2001:4860:4860::8888#dns.google"
|
||||||
|
|
||||||
|
"8.8.4.4#dns.google"
|
||||||
"2001:4860:4860::8844#dns.google"
|
"2001:4860:4860::8844#dns.google"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue