Monday, December 6th, 2021 | System
Reference: https://www.makeuseof.com/how-to-use-terminal-as-network-utility-replacement/
The Lookup tool in Network Utility allowed you to identify the IP addresses associated with a domain name and vice versa. In Terminal, the nslookup command effectively replicates this feature.
An example Terminal command on a Mac looks like this:
nslookup apple.com
For a reverse lookup, use the IP address of the domain:
nslookup 17.253.144.10