tor: use uncensored dns.caspervk.net
This commit is contained in:
parent
8a5cf2e819
commit
608fb67b91
2 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,11 @@
|
||||||
{...}: {
|
{lib, ...}: {
|
||||||
|
networking = {
|
||||||
|
# Use dns.caspervk.net IPv6 address ::2 for uncensored DNS
|
||||||
|
nameservers = lib.mkForce [
|
||||||
|
"2a01:4f8:1c0c:70d1::2#dns.caspervk.net"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
networks."10-lan" = {
|
networks."10-lan" = {
|
||||||
# IPv4 settings are from `sudo dhcpcd --test`.
|
# IPv4 settings are from `sudo dhcpcd --test`.
|
||||||
|
|
|
@ -10,7 +10,10 @@
|
||||||
# Do not spam dmesg/journalctl with refused connections
|
# Do not spam dmesg/journalctl with refused connections
|
||||||
logRefusedConnections = false;
|
logRefusedConnections = false;
|
||||||
};
|
};
|
||||||
nameservers = ["159.69.4.2#dns.caspervk.net" "2a01:4f8:1c0c:70d1::1#dns.caspervk.net"];
|
nameservers = [
|
||||||
|
"159.69.4.2#dns.caspervk.net"
|
||||||
|
"2a01:4f8:1c0c:70d1::1#dns.caspervk.net"
|
||||||
|
];
|
||||||
search = ["caspervk.net"];
|
search = ["caspervk.net"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue