Tor: Difference between revisions
imported>Keyholder fixing outdated binary filename |
Write about DNS over Tor. |
||
| Line 104: | Line 104: | ||
KMail respects KDE-wide proxy settings, and the "safe" SOCKS port offers good isolation between mailboxes. | KMail respects KDE-wide proxy settings, and the "safe" SOCKS port offers good isolation between mailboxes. | ||
= DNS over Tor = | |||
<syntaxhighlight lang="nix"> | |||
services = { | |||
tor = { | |||
enable = true; | |||
client.dns.enable = true; | |||
settings.DNSPort = [{ | |||
addr = "127.0.0.1"; | |||
port = 53; | |||
}]; | |||
}; | |||
resolved = { | |||
enable = true; # For caching DNS requests. | |||
fallbackDns = [ "" ]; # Overwrite compiled-in fallback DNS servers. | |||
}; | |||
}; | |||
networking.nameservers = [ "127.0.0.1" ]; | |||
</syntaxhighlight> | |||
Please refer [https://wiki.archlinux.org/title/Tor#TorDNS ArchWiki] for details. | |||
= Tips and tricks = | = Tips and tricks = | ||