diff --git a/modules/common/dns.nix b/modules/common/dns.nix index 17c3c85..910bf43 100644 --- a/modules/common/dns.nix +++ b/modules/common/dns.nix @@ -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"; }