mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix dns
This commit is contained in:
parent
2b1a626ff3
commit
61a425c898
6 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue