DoT
This commit is contained in:
parent
8d40191a93
commit
aab3016621
|
@ -4,7 +4,7 @@
|
||||||
allowedTCPPorts = [ 1234 1337 8000 8080 ];
|
allowedTCPPorts = [ 1234 1337 8000 8080 ];
|
||||||
allowedUDPPorts = [ 1234 1337 8000 8080 ];
|
allowedUDPPorts = [ 1234 1337 8000 8080 ];
|
||||||
};
|
};
|
||||||
nameservers = [ "159.69.4.2#dns.caspervk.net" ];
|
nameservers = [ "127.0.0.53" ]; # resolved stub resolver
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dns = lib.mkForce "none";
|
dns = lib.mkForce "none";
|
||||||
|
@ -14,9 +14,9 @@
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "true";
|
dnssec = "true";
|
||||||
fallbackDns = [ "159.69.4.2#dns.caspervk.net" ];
|
fallbackDns = [ "159.69.4.2#dns.caspervk.net" "2a01:4f8:1c0c:70d1::1#dns.caspervk.net" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
DNS=159.69.4.2#dns.caspervk.net
|
DNS=159.69.4.2#dns.caspervk.net 2a01:4f8:1c0c:70d1::1#dns.caspervk.net
|
||||||
DNSOverTLS=yes
|
DNSOverTLS=yes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue