View on GitHub
Tristan Hill
Blog about IT related stuff
Best way to do a dns lookup in bash?
So far:
getent hosts bbc.co.uk | sed -n '1s/\([^ ]*\).*/\1/p'