The nslookup command was created to query DNS records. It is a command line tool and is available on all operating systems that connect to a network.