From 4254f4925aa0f517605fd51dfab01ccaff255c72 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Wed, 15 Sep 2021 22:10:57 +0800 Subject: [PATCH] update: increase dnsproxy cache size --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index c0042b1..6baed57 100755 --- a/init.sh +++ b/init.sh @@ -15,14 +15,14 @@ while read -r raw do cmd="$cmd -u $raw" done < /etc/cleardns/upstream/domestic -eval "$cmd --cache --all-servers > /dev/null 2>&1 &" +eval "$cmd --cache --cache-size=4194304 --all-servers > /dev/null 2>&1 &" cmd="dnsproxy -p 6053" while read -r raw do cmd="$cmd -u $raw" done < /etc/cleardns/upstream/foreign -eval "$cmd --cache --all-servers > /dev/null 2>&1 &" +eval "$cmd --cache --cache-size=4194304 --all-servers > /dev/null 2>&1 &" rm -f /etc/cleardns/upstream/domestic rm -f /etc/cleardns/upstream/foreign