Skip to content

Instantly share code, notes, and snippets.

@djburdick
Last active August 29, 2015 14:08
Show Gist options
  • Save djburdick/ee9888c4346a97e87731 to your computer and use it in GitHub Desktop.
Save djburdick/ee9888c4346a97e87731 to your computer and use it in GitHub Desktop.
Network lookup tools. #linux
curl -I fixed.com - show header info
host fixed.com
host www.fixed.com
whois fixed.com
nslookup fixed.com
nslookup -query=mx fixed.com
nslookup -type=ns fixed.com
ping fixed.com
dig +trace http://fixed.com
curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null http://www.fixed.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment