pjhtech Tools
Command references

Network Troubleshooting Commands and Protocol References

Test one layer at a time. A DNS answer, a TCP connection, a valid TLS certificate and an application response are separate observations. These references help you choose a test that answers the current question and understand what remains untested.

How to use these references

Use tcpdump and Wireshark to follow packets at a known observation point. Use dig or PowerShell to make a reproducible DNS or port test. Linux ip and ss show the local route, neighbor and socket state. OpenSSL and curl help separate certificate, HTTP and application-facing failures.

Throughput testing needs a different approach from checking connectivity. The iperf3 guide explains test direction, load and result interpretation. Optical-power, VLAN, DHCP and BGP references connect protocol and physical-layer evidence to the next useful check.

The examples are designed to be repeatable with your own addresses and interfaces. Active probes and load tests are identified separately from reading local state. When a calculation is needed, use the related subnet, MTU, bandwidth or optical-budget tool rather than estimating from memory.

Network tools · Network tools

dig Commands for DNS Troubleshooting

Diagnose DNS with dig: choose a resolver, compare A and AAAA answers, test TCP, inspect response codes and distinguish NXDOMAIN from an empty answer.