From 0ca9b7fb75533ed0e05b7d429e2ec25d16fbe97c Mon Sep 17 00:00:00 2001 From: sova Date: Wed, 14 Dec 2022 21:11:39 +0000 Subject: [PATCH] changes to quad9 upstream resolvers --- nixos-infect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos-infect b/nixos-infect index 349eed6..9102960 100755 --- a/nixos-infect +++ b/nixos-infect @@ -135,8 +135,8 @@ EOF readarray nameservers < <(grep ^nameserver /etc/resolv.conf | sed -r \ -e 's/^nameserver[[:space:]]+([0-9.a-fA-F:]+).*/"\1"/' \ - -e 's/127[0-9.]+/8.8.8.8/' \ - -e 's/::1/8.8.8.8/' ) + -e 's/127[0-9.]+/9.9.9.9/' \ + -e 's/::1/9.9.9.9/' ) if [[ "$eth0_name" = eth* ]]; then predictable_inames="usePredictableInterfaceNames = lib.mkForce false;"