commit 62a931e3171471442e829fe4b820c0bac9370c24
parent 4d1e6123a25d886ee22836a7ff575f48073b2771
Author: William Casarin <jb55@jb55.com>
Date: Sat, 27 Mar 2021 08:56:29 -0700
network: dont use cloudflare dns
their caching behavior is annoying
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nix-config/machines/monad/default.nix b/nix-config/machines/monad/default.nix
@@ -129,7 +129,7 @@ in
services.dnsmasq.resolveLocalQueries = true;
#services.dnsmasq.servers = ["127.0.0.1#43"];
# services.dnsmasq.servers = ["127.0.0.1#43" "1.1.1.1" "8.8.8.8"];
- services.dnsmasq.servers = ["1.1.1.1" "8.8.8.8"];
+ services.dnsmasq.servers = ["8.8.8.8" "8.8.4.4" ];
services.dnsmasq.extraConfig = ''
cache-size=10000
addn-hosts=/var/hosts
diff --git a/nix-config/misc/dnsmasq-adblock.nix b/nix-config/misc/dnsmasq-adblock.nix
@@ -12,7 +12,7 @@ in
{
services.dnsmasq.enable = true;
services.dnsmasq.resolveLocalQueries = false;
- services.dnsmasq.servers = ["1.1.1.1" "8.8.8.8"];
+ services.dnsmasq.servers = ["8.8.8.8" "1.1.1.1"];
services.dnsmasq.extraConfig = ''
addn-hosts=${adblock-hosts}
conf-file=${dnsmasq-adblock}