Learn how to use the command-line utilities nslookup and dig to test the speed of DNS queries on Linux and Windows. This step-by-step guide will show you how to measure the time it takes for a DNS server to respond and retrieve information about a domain or IP address.