DIG = Domain Information Groper. Dig is a flexible tool for interrogating DNS name servers. It performs DNS lookup and displays the answers that are returned from the name servers that were queried.
To install dig command bind-utils package required
dig hostname
dig domainName
dig @DNServerName HostName
dig -x hostname