Run a reverse DNS lookup
Get the PTR record for an IP address.
dig +short -x 8.8.8.8
- tool
- linux133 commands
More linux commands
-
dig +trace example.comFollow the full DNS resolution chain, starting from the root servers.
-
ss -tnp state establishedList all established TCP connections with process info.
-
ss -tan | awk 'NR>1{print $1}' | sort | uniq -c | sort -rnShow how many TCP connections are in ESTABLISHED, TIME_WAIT and other states.
-
mtr --report --tcp --port 443 example.commtr combines traceroute and ping. TCP mode on port 443 gets through networks that block ICMP.
-
ping -M do -s 1472 -c 3 8.8.8.8Send 1500-byte packets with the DF bit set to find MTU problems on the path.