A Whois query can be used to retrieve information on domain names or IP addresses. Whois queries can also be used to determine whether a domain is already taken.