Nslookup is a command-line DNS client. It’s often used to diagnose name resolution and other problems with negotiating domain names and IP address as well as email records.