/ Published in: Bash
If you pass the +short option to dig, it will give you a really short and sweet answer - just the IP address.
$ dig fosswire.com +short
208.113.149.33
$ dig fosswire.com +short
208.113.149.33
URL: http://fosswire.com/tag/cli/page/18/