-
-
Save smaeda-ks/5997018d5fe5dce44d047299829288e1 to your computer and use it in GitHub Desktop.
network debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run these commands from the same (problematic) network/machine | |
# Make sure to capture timestamp | |
$ date | |
# This shows the reporter's global IP address | |
$ curl https://ipinfo.io/ | |
# Test reachability to 76.76.21.21 | |
$ ping -c 4 76.76.21.21 | |
# Test reachability to cname.vercel-dns.com | |
$ ping -c 4 cname.vercel-dns.com | |
# Dig your domain | |
# Do not include "https://" (e.g., just type "dig example.com") | |
$ dig ${replace-with-your-domain} | |
# Dig your domain via public DNS | |
# Do not include "https://" (e.g., just type "dig example.com @8.8.8.8") | |
$ dig ${replace-with-your-domain} @8.8.8.8 | |
# curl content | |
$ curl -sv https://${replace-with-your-domain} | |
# traceroute or mtr result | |
$ sudo mtr -wr -c 20 76.76.21.21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please don't forget to replace
${replace-with-your-domain}
with your domain (e.g.,${replace-with-your-domain}
->example.com
)For Windows PC (windows 10+), try the following instead:
Don't know how to open the Command Prompt window? See: https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/
You can also install WSL2 and run the original Linux commands above: https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10