tor: use uncensored dns.caspervk.net

This commit is contained in:
Casper V. Kristensen 2024-10-07 23:46:06 +02:00
parent a323eb77b9
commit f773b81dbd
2 changed files with 12 additions and 2 deletions

View file

@ -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 = {
networks."10-lan" = {
# IPv4 settings are from `sudo dhcpcd --test`.

View file

@ -10,7 +10,10 @@
# Do not spam dmesg/journalctl with refused connections
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"];
};