commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
resolveip -s 216.34.181.xxx
There are 2 alternatives - vote for the best!
The host command comes with the bind-utils package, which is has a better chance to be installed than resolveip from mysql. The last word of the query result is displayed, which is the last result host got.
This works with CNAMEs.
You get "3(NXDOMAIN)" in case of failure.
If you can do better, submit your command here.
You must be signed in to comment.