nslookup specify dns server code example Example: nslookup all dns entries nslookup -q=any example.com