Skip to main content

🗓️ 04102025 0025
📎

Networking Tools Overview

Quick reference hub for networking command-line tools.


Tool Categories

PurposeToolsDetail Notes
DNS lookupdig, nslookup, hostnetworking_dns_tools
Test connectivityping, traceroutenetworking_connectivity
HTTP/APIscurl, wgetnetworking_http_tools
Ports/connectionsnetstat, ss, lsofnetworking_ports_connections
Network configip, ifconfignetworking_interfaces
Advanced debuggingtcpdump, nmapnetworking_advanced_debugging
DNS overrides/etc/hostsnetworking_etc_hosts

Quick Command Reference

# Connectivity
ping example.com # Test if host is reachable
traceroute example.com # See network path

# DNS
dig example.com # DNS lookup
dig @8.8.8.8 example.com # Query specific DNS server

# HTTP
curl https://example.com # Test HTTP
curl -I https://example.com # Headers only

# Ports
netstat -tuln # Listening ports
lsof -i :8080 # What's using port 8080?

# Network Info
ip addr show # Show IPs (Linux)
ifconfig # Show IPs (Mac)

Troubleshooting Flow

Website not loading?

1. ping google.com → Network working?

2. dig example.com → DNS resolving?

3. ping example.com → Host reachable?

4. curl -I example.com → Web server responding?

References