how to lookup dns in command line code example Example: nslookup all dns entries nslookup -q=any example.com