Originally published at: https://www.cyberciti.biz/faq/linux-unix-dig-command-examples-usage-syntax/
I am a new Linux/Unix command line user. How do I use dig command line utility to query DNS (Domain Name System) servers on Linux and Unix-like operating systems? How do I use dig command to find the IP address of a host name or host Name of an IP address?