Fix dns
This commit is contained in:
parent
ef831f36d6
commit
61bf7ec053
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@
|
|||
enable = true;
|
||||
settings = rec {
|
||||
upstream = ["https://base.dns.mullvad.net/dns-query"];
|
||||
listen-addrs = ["127.0.0.1"];
|
||||
fallback = ["1.1.1.1"];
|
||||
bootstrap = fallback;
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."resolv.conf".text = "nameserver 0.0.0.0";
|
||||
environment.etc."resolv.conf".text = "nameserver 127.0.0.1";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue