nslookup commands get dns info code example Example: nslookup all dns entries nslookup -q=any example.com