1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Basic networking operations ## Find process binding a port # specifically tcp lsof -i tcp:8000 # any protocol lsof -i :8000 ## DNS DNS lookup: drill <hostname> [record type] So to lookup TXT records, drill host.com TXT