cleanbrowsing / dnsperftest

DNS Performance test
Other
2.33k stars 279 forks source link

dig command failed #84

Open ramonmodesto98 opened 1 year ago

ramonmodesto98 commented 1 year ago

Error

Captura de tela de 2023-11-10 17-04-16

My solution

I changed the code below $dig +short +tries=1 +time=2 +stats @2a0d:2a00:1::1 www.google.com |grep 216.239.38.120 >/dev/null 2>&1 $dig +tries=1 +time=2 +stats @$pip $d |grep "Query time:" | cut -d : -f 2- | cut -d " " -f 2

to

dig +short +tries=1 +time=2 +stats @2a0d:2a00:1::1 www.google.com |grep 216.239.38.120 >/dev/null 2>&1 dig +tries=1 +time=2 +stats @$pip $d |grep "Query time:" | cut -d : -f 2- | cut -d " " -f 2

Result

Captura de tela de 2023-11-10 17-03-10