Fig.02: Host command outputs in a Linux and Unix-like systems

Fig.02: Host command outputs in a Linux and Unix-like systems

Fig.02: Host command outputs in a Linux and Unix-like systems

Use host command as follows to query DNS system:

host [options] domain
host [options] IP-address
host -t type domain
host -t mx google.com
host -t ns yahoo.com
host -t a cyberciti.com
host -t aaaa slashdot.org
host -a -v redhat.com
host 75.126.153.206

Examples and usage: How To Look Up DNS on a Linux and Unix Systems