Nslookup is a program to query Internet domain name servers. Nslookup is used to print just the name and requested information for a host or domain.