Encrypted dns
This commit is contained in:
parent
d3b5fc04f4
commit
263574ce35
1 changed files with 11 additions and 0 deletions
11
modules/common-desktop/dns.nix
Normal file
11
modules/common-desktop/dns.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
services.dnsproxy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
upstream = ["https://base.dns.mullvad.net/dns-query"];
|
||||
bootstrap = ["1.1.1.1"];
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."resolv.conf".text = "nameserver 0.0.0.0";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue