Comments (13)
Try to run it as:
sh ./dnstest.sh
To force the "sh" shell instead of zsh. It seems to be missing the expr command on zsh.
from dnsperftest.
it's not the expr
that's failing, it's the dig
.
Trying to dig www.google.com @1.1.1.1
results in:
; <<>> DiG 9.8.3-P1 <<>> www.google.com @1.1.1.1
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
I believe in my case this may be due to my company's firewall blocking external DNS, but I've not verified this yet
from dnsperftest.
Yeah I just verified that my company is blocking external DNS traffic (and the same command works when I hard-code my local DNS), I'll try the tool out when I get home and verify that it works on zsh
from dnsperftest.
@dgirgenti the dig
command is working fine. I believe it is the expr
command on zsh.
from dnsperftest.
so dig www.google.com @1.1.1.1
works fine for you? for me the expr
works fine when given a valid result from dig
which is failing for me
from dnsperftest.
Yea I'm seeing the same issue as @dgirgenti
$ dig google.com @1.1.1.1
; <<>> DiG 9.8.3-P1 <<>> google.com @1.1.1.1
;; global options: +cmd
;; connection timed out; no servers could be reached
from dnsperftest.
Stange this works on my MacBook Pro running zsh, but not on my iMac running zsh.
What version of dig are you running? On my MacBook Pro I am running:
MacBook-Pro ➜ ~ dig -v
DiG 9.10.6
from dnsperftest.
I'm on macOS 10.12.6 and dig is 9.8.3-P1. Are either of those machines on high sierra?
from dnsperftest.
I think I figured out the issue, it seems my home ISP (AT&T fiber) is blocking the dig request for some strange reason even though I am using 1.1.1.1
successfully at home.
From my office:
MacBook-Pro ➜ ~ dig google.com @1.1.1.1
; <<>> DiG 9.10.6 <<>> google.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50804
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1536
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 39 IN A 172.217.0.78
;; Query time: 4 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Mon Apr 02 14:39:35 CDT 2018
;; MSG SIZE rcvd: 55
VPNing into my home:
MacBook-Pro ➜ ~ dig google.com @1.1.1.1
; <<>> DiG 9.10.6 <<>> google.com @1.1.1.1
;; global options: +cmd
;; connection timed out; no servers could be reached
from dnsperftest.
Looks like some ISPs are having problems with 1.1.1.1
. You can change that line in the script to 1.0.0.1
(the alternate ip for Cloudflare) and it may work.
from dnsperftest.
Yes, 1.1.1.1
is not accessible from a bunch of locations due to mis-configured ISPs and routers.
Unfortunately, many people can't use it right now.
from dnsperftest.
Works fine for me on macOS 10.13.4 and zsh 5.3.
from dnsperftest.
Works correctly for me on macOs 10.13.3 and zsh 5.3
from dnsperftest.
Related Issues (20)
- IPv6 addresses result in misaligned columns HOT 4
- Cloudflare test fails if default IP of 1.1.1.1 is consumed by other devices HOT 1
- Dockerise dnsperftest HOT 1
- What does "google" mean? HOT 2
- README: add links or descriptions about each DNS service HOT 1
- How to submit results? HOT 2
- Add a License HOT 1
- Question - on result HOT 1
- Perform a DNSSEC resolver test HOT 2
- How to a make it work in DSM (Synology) HOT 10
- Mack Pro 2010 vs MacBook Air (2020, M1) HOT 6
- Please add NextDNS to the list of tested servers HOT 2
- Change sort by fastest example
- Add ability to rank themed DNS servers
- Dig vs Dog time differences
- fail on drill 1.8.3 HOT 4
- Issue with dig HOT 1
- dual stack ipv4 & ipv6 HOT 1
- dig command failed
- does not work if `resolv.conf` uses tabs instead of spaces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnsperftest.