Beginner
Package: bind9-dnsutils / bind-utils
host
Simple DNS lookup utility.
Syntax
host [options] name [server]
Description
host performs a quick, human-readable DNS lookup and is a lighter-weight alternative to dig when you just need a fast answer rather than the full protocol detail.
Examples
host example.com
Return the A/AAAA records for a hostname
host -t MX example.com
Look up mail exchanger records specifically
host 192.0.2.10
Reverse-resolve an IP address to a hostname
Applies to
Put it into practice