Understand and troubleshoot computer networks with TCP/IP, DNS, routing, and diagnostic tools.
dig and nslookup query DNS directly — bypass local cache for accurate resultsping tests reachability — but ICMP may be blocked, no response doesn't mean downtraceroute/tracert shows path — identifies where packets stop or slow downnetstat -tulpn or ss -tulpn shows listening ports — find what's using a portcurl -v shows full HTTP transaction — headers, timing, TLS negotiationtcpdump and Wireshark capture packets — last resort for deep debuggingssh -L local:remote:port creates secure tunnel