linux dig command all dns records 1

linux dig command all dns records

> dig google.com ANY

Here is what the above code is Doing:
1. We’re creating a new DNS query object.
2. We’re setting the DNS server to 8.8.8.8 (Google’s public DNS server).
3. We’re setting the DNS query type to ANY.
4. We’re sending the query.
5. We’re printing the response.

Similar Posts