1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-09-05 21:16:03 +08:00
parent 2b1a626ff3
commit 61a425c898
6 changed files with 8 additions and 8 deletions

View file

@ -216,7 +216,7 @@ _dns() {
+time="$OMR_TRACKER_TIMEOUT" \
+tries=1 \
one.one.one.one
) && echo "$ret" | grep -sq "1.1.1.1" && {
) && echo "$ret" | grep -sq "223.5.5.5" && {
OMR_TRACKER_LATENCY=$(echo "$ret" | awk '/Query time/{print $4}')
_update_rto "$OMR_TRACKER_LATENCY"
return

View file

@ -59,7 +59,7 @@ timeout=${OMR_TRACKER_TIMEOUT:-5}
interval=${OMR_TRACKER_INTERVAL:-10}
retry=${OMR_TRACKER_TRIES:-4}
proxy=${OMR_TRACKER_PROXY:-127.0.0.1:1111}
hosts=${OMR_TRACKER_HOSTS:-1.1.1.1 1.0.0.1}
hosts=${OMR_TRACKER_HOSTS:-223.5.5.5 1.0.0.1}
wait_test=${OMR_TRACKER_WAIT_TEST:-0}
nodns=0