mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-29 06:31:28 +00:00
changes to quad9 upstream resolvers
This commit is contained in:
parent
be3a8485f6
commit
0ca9b7fb75
|
@ -135,8 +135,8 @@ EOF
|
||||||
|
|
||||||
readarray nameservers < <(grep ^nameserver /etc/resolv.conf | sed -r \
|
readarray nameservers < <(grep ^nameserver /etc/resolv.conf | sed -r \
|
||||||
-e 's/^nameserver[[:space:]]+([0-9.a-fA-F:]+).*/"\1"/' \
|
-e 's/^nameserver[[:space:]]+([0-9.a-fA-F:]+).*/"\1"/' \
|
||||||
-e 's/127[0-9.]+/8.8.8.8/' \
|
-e 's/127[0-9.]+/9.9.9.9/' \
|
||||||
-e 's/::1/8.8.8.8/' )
|
-e 's/::1/9.9.9.9/' )
|
||||||
|
|
||||||
if [[ "$eth0_name" = eth* ]]; then
|
if [[ "$eth0_name" = eth* ]]; then
|
||||||
predictable_inames="usePredictableInterfaceNames = lib.mkForce false;"
|
predictable_inames="usePredictableInterfaceNames = lib.mkForce false;"
|
||||||
|
|
Loading…
Reference in a new issue