Networking cheatsheet
Get DNS records
nslookup google.comnslookup google.com 1.1.1.1Setup HTTP server with netcat
while :; do echo -e "HTTP/1.1 200 OK\nContent-Length: 3\n\n ok" | nc -l -p 5555; donecurl localhost:5555
# or
wget -qO - localhost:5555Verifying port connectivity
nc -zv google.com 443Last updated