5

Report network latency issue

If you are experiencing some latency issue or non-ideal routing, please use our diagnostic tool to report it. The tool can run on your computer or router. It gathers and submit network measurements that will help us improve our network.

Please follow the instruction for your platform below:

MacOS, Linux, *BSD, Linux based routers

Open a terminal, run the following command and follow the instructions:

sh -c 'sh -c "$(curl -s https://nextdns.io/diag)"'

Windows

  1. Download and run this program.
  2. If you get a virus alert, you can disregard it, see note below.
  3. Follow the instructions

If you find bugs in the tool itself, please log an issues on the Github repository.

105replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • On Mac, I see this notice:

    ```

    ➜ ~ sh -c 'sh -c "$(curl -s https://nextdns.io/diag)"'

    zsh: no such file or directory: sh -c sh -c "$(curl -s https://nextdns.io/diag)

    ```

    Is there something specific that I must do to run this snippet?

    Like
    • arun can you please try to type it manually instead of copy paste? I suspect some non-ascii spaces are being used here.

      Like
      • Josh Bowen
      • Josh_Bowen
      • 5 mths ago
      • Reported - view

      arun Try this on Mac OS X...

      sudo /bin/sh -c "$(curl -s https://nextdns.io/diag)"

      This will prompt you to enter your sudo password. 

      Like
      • S M
      • S_M
      • 5 mths ago
      • Reported - view

      Olivier Poitrey 

      Somewhat off topic, but just to point out that I think the ‘copy’ button (which is a nice feature of the template you’re using) seems to introduce those problematic characters, at least on iOS. If I copy manually by selecting the characters on screen it works fine, but if I use the copy button to the right of the code block I get the same error as above. Not sure if the template is at fault or just the page. 

      Like
  • cant run on windows 10 64 bit

    Like
    • ray toth Please try the download link again.

      Like
  • a bit strange, when i download this program, windows defender blocks it because it detects a virus / trojan ...

    Like
    • Alpha Beta windows virus scanners don't link it because it is contacting a lot of different IPs. You can safely execute it.

      Like 1
  • I tried running the tool, but this is what I got after I entered the sudo password.

    /tmp/nextdns-diag-1798: line 1: Not: command not found
    Like
    • Preshit which platform?

      Like
      • Preshit
      • Preshit
      • 5 mths ago
      • Reported - view

      Olivier Poitrey macOS Big Sur 11.1

      Like
    • Preshit no other error or warning before that? Did you try several times?

      Like
      • Preshit
      • Preshit
      • 5 mths ago
      • Reported - view

      Olivier Poitrey Yes, I've tried multiple times, even after your last reply. I keep getting the same error, with one change. The number in the /tmp/nextdns-diag-nnnn keeps changing on every try.

      Like
    • Preshit What do you get for uname -a

      Like
      • Preshit
      • Preshit
      • 5 mths ago
      • Reported - view

      Olivier Poitrey 

      Darwin redacted.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64
      
      Like
    • Preshit that's a M1, it's not yet supported. You have to run the shell in Rosetta 2 mode.

      Like
      • Preshit
      • Preshit
      • 5 mths ago
      • Reported - view

      Olivier Poitrey Hi, I ran the test using an Intel Mac and while the test completed, it gave a bunch of errors within and towards the end.

      Fetching PoP name for primary IPv4 (45.90.28.0)
      Fetch error: Get "https://dns.nextdns.io/info": dial tcp 45.90.28.0:443: connect: operation timed out
      Fetching PoP name for secondary IPv4 (45.90.30.0)
        anexia-ams: 130.003ms
      Fetching PoP name for primary IPv6 (2a07:a8c0::)
      Fetch error: Get "https://dns.nextdns.io/info": dial tcp [2a07:a8c0::]:443: connect: operation timed out
      Fetching PoP name for secondary IPv6 (2a07:a8c1::)
        anexia-ams: 135.585ms
      

       

      and towards the end

      Post unsuccessful: status 400
      {"error":"0: instance requires property \"Primary\"\n"}%
      
      Like
      • Gaurav
      • iamtheanon
      • 5 mths ago
      • Reported - view

      Olivier Poitrey Hi, any plans on adding native support for the official app (on the Appstore) and to the diag tool for M1 architecture. Currently, to enable system wide DNS I am using the CLI of NextDNS on my M1 Mac which seems to be working without a hitch! :)

      Like
      • ray toth
      • ray_toth
      • 1 mth ago
      • 1
      • Reported - view

      Olivier Poitrey thansk for great service and foudn myh slow down it was with myh network switch got new one works great now with you and i send, you a email think yhou need to look at it right a way not for forums at all thanks ray toth it came from my gmail email thansk

      Like 1
  • Hi 
    When running the command sh -c 'sh -c "$(curl -s https://nextdns.io/diag)"' on an Edgeouter I see this message " environment: line 85: detect_endiannes: command not found "
    Looks like not complete...

    Fetching https://test.nextdns.io
    status: unconfigured

    See attached file...

    Steen

     

    Like
  • Hi  Olivier Poitrey  , this is an issue I have been facing for a long time now. I am connecting continuously to very far away servers thereby increasing ping by around 240 ms on average. 

    I have posted my diag results here: https://nextdns.io/diag/990f9f00-49b8-11eb-aaee-adbaa1733145

    Request you to please look into the same. 

    Like
  • Can you help me? I have been getting very high latency for a few days and therefore cannot access sites. 

    https://nextdns.io/diag/a4409560-491c-11eb-b38e-c1ae9e6f6c08

    Like
  • I am unable to post:

     

    Do you want to send this report? [Y/n]: y
    Optional email in case we need additional info: xxxxx
    Post unsuccessful: status 400
    {"error":"0: instance.Test requires property \"Client\"\n"}%
    yeri-macbookpro1 ~ $ uname -a
    Darwin yeri-macbookpro1.roam.corp.xxxx 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

    Like
  • Experiencing high latency in India, seems to pick up far away servers due to bad routing? Logs of different ISPs are pasted below.

     

    Airtel 4G:

    https://nextdns.io/diag/9b05fb40-4cee-11eb-b1e7-537a0e39f0e9

    BSNL 3G:

    https://nextdns.io/diag/86309e40-4cef-11eb-b1e7-537a0e39f0e9

    Jio 4G

    https://nextdns.io/diag/679370b0-4cf0-11eb-b1e7-537a0e39f0e9

    Like
  • Yesterday, 2021/1/1 some of my amazon echoes (2/5) didn't connect due to excessive latency nextdns reply...spent many time to factory reset the echos before I figuring out the problem was your dns :( 

    today, some hops are missing

    https://nextdns.io/diag/4fec72f0-4d3a-11eb-b1e7-537a0e39f0e9

    Like
  • on 1/26/2021 THE NEXT DFNS IS SLOW HERE WHAT GETTING


    Tracing route to dns1.nextdns.io [45.90.28.27]
    over a maximum of 30 hops:

      1   
    2 21 ms 7 ms 9 ms d47-69-1-72.try.wideopenwest.com [69.47.72.1]
    3 17 ms 9 ms 10 ms dynamic-76-73-171-37.knology.net [76.73.171.37]
    4 11 ms 10 ms 10 ms 76-73-170-110.knology.net [76.73.170.110]
    5 10 ms 10 ms 19 ms 76-73-164-154.knology.net [76.73.164.154]
    6 10 ms 11 ms 12 ms static-75-76-101-196.knology.net [75.76.101.196]
    7 11 ms 11 ms 13 ms static-76-73-191-232.knology.net [76.73.191.232]
    8 11 ms 11 ms 11 ms chi-b2-link.telia.net [62.115.63.86]
    9 13 ms 11 ms 13 ms chi-b2-link.telia.net [62.115.122.195]
    10 13 ms 11 ms 13 ms vultr-ic-318445-chi-b2.c.telia.net [62.115.148.197]
     11     *        *        *     Request timed out.
     12
    PS C:\Users\ray> tracert 45.90.30.27

    Tracing route to dns2.nextdns.io [45.90.30.27]
    over a maximum of 30 hops:

      1
    2 11 ms 8 ms 10 ms d47-69-1-72.try.wideopenwest.com [69.47.72.1]
    3 10 ms 8 ms 9 ms dynamic-76-73-171-37.knology.net [76.73.171.37]
    4 11 ms 8 ms 9 ms 76-73-170-110.knology.net [76.73.170.110]
    5 10 ms 11 ms 30 ms 76-73-164-154.knology.net [76.73.164.154]
    6 12 ms 11 ms 10 ms static-75-76-101-196.knology.net [75.76.101.196]
    7 18 ms 12 ms 10 ms static-76-73-191-232.knology.net [76.73.191.232]
    8 12 ms 12 ms 13 ms chi-b2-link.telia.net [62.115.63.86]
    9 25 ms 24 ms 24 ms atl-b24-link.ip.twelve99.net [62.115.113.18]
    10 26 ms 24 ms 24 ms dcr02.anx57.atl.us.anexia-it.net [62.115.165.226]
    11 36 ms 33 ms 35 ms ae0.dcr01.anx57.atl.us.anexia-it.net [188.172.247.32]
    12 33 ms 33 ms 32 ms dns2.nextdns.io [45.90.30.27] FIRST ONE END WITH ALL START ONLY SHOWING SOME AND TOOK OUT FIRST HOP DEW TO MY DEVICE AND DONT WANT IT PINGED

    Like
  • Script worked fine on my MacBook Air running macOS Big Sur (not M1). Ran the script on 30/01/2021.

    It reported a higher latency of 99ms on the IPv6 link to gsl-per (Perth, Australia) which I think is normal from Sydney, Australia. Latency to local gsl-syd and vltr-syd was 6-7 ms  on both IPv4 and IPv6 which is very good.

    I have uploaded the test results via the script.

    Like
  •   serverwala-buh    8 ms  (ultralow2)

      zepto-sof        16 ms

      estnoc-buh       19 ms  (ultralow1)

    ■ zepto-fra        33 ms  (anycast1)

      anexia-fra       36 ms  (anycast2)

      anexia-vie       48 ms

      exoscale-vie     48 ms

      anexia-waw       51 ms

      zepto-waw        66 ms

      anexia-sof       66 ms

      edgeuno-ist      75 ms

      premiumrdp-ist   76 ms

     

    FRUSTRATING !!!

    Like
    • mihai use DoH with a compatible client to get the ultralow latency pops. We'll give more info on that soon.

      Like
  • Am in Australia... getting 5-10s page load times. DNS is sooooo slow with NextDNS enabled it's like being on dialup. Tool run and diag sent.

    Like
  • https://nextdns.io/diag/08cc6110-7372-11eb-a511-27729ee6adcd

    I'm using DoH on my phone which is routed to router-pit (220 ms) and teraswitch-pit (226 ms). Please fix this. Thanks

    Like
    • Khairul Are you using a DNS server (either on your phone or at the router level) that's in the US?

      Like
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas I'm using both DoT (Private DNS for Android 9+) and Android below than Android 9, I'm using DoH in Chrome. Ya that's from US server. My ISP is AS4788 (Malaysia). I'll put result from test.nextdns.io for your reference.

      Like
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas and this result from ping.nextdns.io

      Like
    • Khairul The reason you're being sent to US servers with NextDNS is that the DNS server in your network (what's used to first resolve dns.nextdns.io) is something hosted on Amazon AWS in the US (3.18.127.41). My guess is down the line on your network, a custom US DNS server is set?

      Like 1
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas oh i see, you right!.. I don't know thats my dns on my router affect nextdns ultralow route, because I just want to use nextdns on my portable devices but not on my home router. Thank for your support 👍

      Like
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas for your information when I change back to cloudflare dns and enable IPv6, ultralow changed.. not US anymore... 👍

      Like
    • Khairul Can I ask what DNS server you use on your router, and why is it in the US when you are in Malaysia?

      Like 1
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas https://alternate-dns.com/ they just upgraded their infrastructure, hosted by Amazon AWS (I guess) which is fast in my country (routed to Amazon Singapore). Idk thats affect my NextDNS DoT and DoH on my phone. So I changed back to Cloudflare.

      Like
    • Khairul is NextDNS routing better when using Cloudflare on the router?

      Like
      • Khairul
      • Khairul
      • 3 mths ago
      • Reported - view

      Romain Cointepas https://nextdns.io/diag/ab23db60-7394-11eb-8d0e-4bbc5409628a

      Yeah all route to Singapore (IPv4 & IPv6), except anycast2 route to London (IPv4 & IPv6). I think it would be nice if you can fix anycast2 route maybe? But I don't think it will be used in my case because I'm using DoT and DoH which is NextDNS using ultralow I guess. Maybe some other user from my ISP use unencrypted DNS from NextDNS. It would be good if anycast2 (both IPv4 & IPv6) are faster too. 😉

      Like
  • https://nextdns.io/diag/c605daf0-752e-11eb-a7ae-9f6e888a83a3

    dns2.nextdns.io routes to

    Johannesburg  ZA

    AS 37179 

    Africa Independent Network Exchange (Pty) LTD (AfricaINX)

     

    Tracing route to ipv4-anycast.dns2.nextdns.io [45.90.30.0] with TTL of 32:

     1  2ms    2ms    5ms    SynologyRouter.local [192.168.1.1]
     2  23ms   20ms   10ms   142.254.213.149
    3 27ms 36ms 39ms agg63.drfdnyad02h.northeast.rr.com [24.58.240.165]
    4 22ms 16ms 14ms agg93.esyrnyaw02r.northeast.rr.com [24.58.52.116]
    5 16ms 15ms 16ms agg27.rcr01rochnyei.netops.charter.com [24.58.32.76]
    6 31ms 31ms 30ms bu-ether13.tustca4200w-bcr00.tbone.rr.com [66.109.6.2]
     7  33ms   31ms   31ms   66.109.5.137
    8 37ms 29ms 34ms ae-13.edge2.Chicago10.Level3.net [4.68.37.137]
     9   *      *      *     Request timed out.
    10 118ms 127ms 121ms EOH-MTHOMBO.ear2.Amsterdam1.Level3.net [213.19.192.134]
    11   *      *      *     Request timed out.
    12 301ms 304ms 298ms xe-0-1-6-0.dcr01.anx67.jnb.za.anexia-it.net [41.66.181.79]
    13 301ms 297ms 299ms ipv4-anycast.dns2.nextdns.io [45.90.30.0]

    Traceroute complete.

    Like 1
      • TheGreat1G
      • TheGreat1G
      • 3 mths ago
      • 1
      • Reported - view

      John DeCarlo you and me both have same Anycast DNS issue. Hopefully it gets fixed soon! 

      Like 1
      • TheGreat1G
      • TheGreat1G
      • 3 mths ago
      • 1
      • Reported - view

      John DeCarlo 

      Consistent  with mine: 

      i am also on TWC-11351-NORTHEAST

      Secondary: anexia-jnb (297 ms)

      Secondary IPv6: anexia-jnb (270 ms)
       

      Like 1
      • TheGreat1G
      • TheGreat1G
      • 3 mths ago
      • 2
      • Reported - view

      TheGreat1G  it’s fixed now, thank you! No more pings to Africa Johannesburg

      Like 2
  • Usene tons on Android cell phone with Android private dns turned like dite tells how love nextdns but here my ping  

    heficed-chi (IPv6)      32 ms  (ultralow1)

      heficed-chi             33 ms  (ultralow1)

      vultr-chi               39 ms  (anycast1, ultralow2)

      vultr-chi (IPv6)        39 ms  (anycast1, ultralow2)

      teraswitch-pit          50 ms

      zepto-iad               52 ms

      zepto-mci (IPv6)        54 ms

      teraswitch-pit (IPv6)   57 ms

      zepto-iad (IPv6)        68 ms

      zepto-xrs (IPv6)        73 ms

      router-pit              74 ms

      anexia-mnz              77 ms

      zepto-xrs               78 ms

      hydron-clt              78 ms

      hydron-clt (IPv6)       79 ms

      anexia-mnz (IPv6)       80 ms

      smarthost-mci (IPv6)    81 ms

      smarthost-mci           97 ms

      zepto-mci               98 ms

      anexia-ams (IPv6)      114 ms  (anycast2)

      anexia-ams             132 ms  

    I'm in desplaines il USA use on my home router also but ping on android cell phone for now showing here

    Like
  • figured I'd share my results too! I'm "guessing" it looks good? ;)

    https://nextdns.io/diag/742bc560-82b1-11eb-abe8-11b40072f372

    Like
  • Waste of time reporting your statistics if they don't bother to reply. 

    Wasted money subscribing to NextDNS due to repeated instances of high latency or no connection (in between it been very good)

     

    There's a reason NextDNS don't have a "Service status" page.

    Like 4
  • Absolutely agree....

    Like