≡ Menu

host command: Query any type of DNS recoreds

Fig.01: The -a option displays any type of dns records

The -a (all) option to the host command is equivalent to setting the -v option and asking host to make a query of type ANY. The syntax is:

host -a example.com
host -a google.com
host -v cyberciti.biz

Sysadmin because even developers need heroes!!!

Share this tutorial on:

Examples and usage: Linux and Unix host Command Examples

{ 0 comments… add one }
Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: