When a domain fails to resolve or latency spikes, dig inspects DNS and traceroute/mtr show where packets go.
Steps
Install the tools if missing:
sudo apt updatesudo apt install -y dnsutils traceroute mtr-tinyBasic DNS lookups:
dig yourdomain.com Adig yourdomain.com NS +shortdig @1.1.1.1 yourdomain.com ATrace the path to a host:
traceroute -n 1.1.1.1mtr -rwz 1.1.1.1
Tips
- Compare dig @1.1.1.1 with the local resolver — if only local fails, check cache/resolv.conf.
- Many hops with * often mean ICMP filtering, not always real loss.
ext step
Debug from a clean-IP VPS: Deploy your Cloud VPS.