nslookup use specific dns server You may choose to use a DNS server other than your primary DNS server. To do this, type nslookup, followed by the name of the domain you wish to query, and then the name or IP address of the DNS server you wish to use.