khost [options] name [server]
This utility sends a DNS query for the name to the server and prints a reply in more user-readable form. For more advanced DNS queries use kdig instead.
If no arguments are provided, khost prints a short help.
Missing features with regard to ISC dig:
Options -C, -i, -l, -m and -N.
Differences with regard to ISC host:
Option -d is not equivalent to -v, but enables debug messages.
The number of retries can be set to zero.
Verbose mode has slightly different format (same as kdig).
Get the A, AAAA and MX records for example.com:
$ khost example.com
Get the reverse record for address 192.0.2.1:
$ khost 192.0.2.1
Perform a verbose zone transfer for zone example.com:
$ khost -t AXFR -v example.com
/etc/resolv.conf
kdig(1), knsupdate(1).