DNS lookup
Query A records via a specific DNS server
dig +short A example.com @8.8.8.8
- tool
- linux133 commands
More linux commands
-
dig +short -x 8.8.8.8PTR record for an IP address
-
dig +trace example.comFollow full DNS resolution chain from root nameservers
-
ss -tnp state establishedAll established TCP connections with process info
-
ss -tan | awk 'NR>1{print $1}' | sort | uniq -c | sort -rnHow many connections are in ESTABLISHED, TIME_WAIT, etc.
-
mtr --report --tcp --port 443 example.comCombine traceroute and ping; TCP mode to bypass ICMP blocks