From a08242c3afba6900659ca8a03ec56ee93bf54655 Mon Sep 17 00:00:00 2001 From: kissshot <4530897+kkkgo@users.noreply.github.com> Date: Sat, 18 May 2024 22:38:05 +0800 Subject: [PATCH] Update debug.sh --- src/debug.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/debug.sh b/src/debug.sh index 9253864..ac9ab45 100644 --- a/src/debug.sh +++ b/src/debug.sh @@ -150,6 +150,11 @@ else unbound -c /tmp/unbound_raw.conf -p -d & # fi dig www.jd.com @127.0.0.1 -p5301 + dig www.taobao.com @127.0.0.1 -p5301 + unbound_id=$(ps | grep -v "grep" | grep "unbound_raw" | grep -Eo "[0-9]+" | head -1) + kill "$unbound_id" + sed -i "s/verbosity: 2/verbosity: 0/g" /tmp/unbound_raw.conf + unbound -c /tmp/unbound_raw.conf -p blank fi #sleep 3