nslookup all records for domain code example Example: nslookup all dns entries nslookup -q=any example.com