Dig

Intro

The dig command (Domain Information Groper) is a powerful command-line tool used for querying Domain Name System (DNS) servers. It is commonly used by network administrators and developers to troubleshoot DNS-related issues, verify DNS records, and understand how DNS resolution works.

Command

dig [server] [name] [type] [options]
dig google.com