Resolving DNS Domain Names using dig Command on Linux
This tutorial shows how to resolve domain names on the Linux shell and how to query a name server for various kinds of DNS records like A, MX and NS records. To resolve a domain name on the shell, we will use the command dig.
Source: Howtoforge Linux Howtos und Tutorials