nslookup list all dns servers code example Example: nslookup all dns entries nslookup -q=any example.com