macOS / binaries /

nslookup

/usr/bin/nslookup
Query internet name servers interactively

nslookup is a program to query Internet domain name servers. nslookup has two modes: interactive and non-interactive.

source: man