13

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. You can then use the generated diagnostic link to report your issue on the Help Forum.

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.

124 replies

    • arun
    • 4 yrs ago
    • Reported - view

    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?

      • olivier
      • 4 yrs ago
      • Reported - view

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

      • Josh_Bowen
      • 4 yrs 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. 

      • S_M
      • 4 yrs 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. 

    • ray_toth
    • 4 yrs ago
    • Reported - view

    cant run on windows 10 64 bit

      • olivier
      • 4 yrs ago
      • Reported - view

      ray toth Please try the download link again.

    • Preshit
    • 4 yrs ago
    • Reported - view

    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
      • olivier
      • 4 yrs ago
      • Reported - view

      Preshit which platform?

      • Preshit
      • 4 yrs ago
      • Reported - view

      Olivier Poitrey macOS Big Sur 11.1

      • olivier
      • 4 yrs ago
      • Reported - view

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

      • Preshit
      • 4 yrs 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.

      • olivier
      • 4 yrs ago
      • Reported - view

      Preshit What do you get for uname -a

      • Preshit
      • 4 yrs 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
      
      • olivier
      • 4 yrs ago
      • Reported - view

      Preshit that's a M1, it's not yet supported. You have to run the shell in Rosetta 2 mode.

      • Preshit
      • 3 yrs 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"}%
      
      • iamtheanon
      • 3 yrs 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! :)

      • ray_toth
      • 3 yrs ago
      • 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

    • Steen_Hansen
    • 4 yrs ago
    • Reported - view

    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

     

      • olivier
      • 4 yrs ago
      • Reported - view

      Steen Hansen should be fixed, please try again

      • Steen_Hansen
      • 4 yrs ago
      • Reported - view

      Olivier Poitrey Yes the message " environment: line 85: detect_endiannes: command not found " is bow gone :) 

      https://nextdns.io/diag/f6c89670-42a5-11eb-9999-db30abba5b99

      Steen

    • iamtheanon
    • 3 yrs ago
    • Reported - view

    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. 

    • Sacrosanct
    • 3 yrs ago
    • Reported - view

    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

    • Yeri
    • 3 yrs ago
    • Reported - view

    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

    • Kola_Bang
    • 3 yrs ago
    • Reported - view

    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