macOS / binaries /

host

/usr/bin/host
DNS lookup utility

host is a simple utility for performing DNS lookups. It is normally used to convert names to IP addresses and vice versa.

source: man