Skip to content

Commit

Permalink
Update debug.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkgo committed May 18, 2024
1 parent db22001 commit a08242c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a08242c

Please sign in to comment.