Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dig command failed #84

Open
ramonmodesto98 opened this issue Nov 10, 2023 · 0 comments
Open

dig command failed #84

ramonmodesto98 opened this issue Nov 10, 2023 · 0 comments

Comments

@ramonmodesto98
Copy link

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

ramonmodesto98 added a commit to ramonmodesto98/dnsperftest that referenced this issue Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant