macOS / binaries /

ahost

/usr/local/bin/ahost
Print record associated with a hostname or IP address

ahost look up the DNS A or AAAA record associated with HOST (a hostname or an IP address).