Here is what a system administrator would type: dig @server type. Here, “server” is the name or IP address of the server to query—an IPv4 or an IPv6 address. When the server argument is a hostname, the Domain Internet Groper (Dig) resolves that name first and then queries the name server. If no server argument is given, the Domain Internet Groper goes to /etc/resolv.conf and queries the listed name servers. The response from the name server that reacts is displayed. “Name” is the name of the resource record to be looked up, and “type” indicates what kind of query is required.
See Also: BIND (Berkeley Internet Name Daemon); Domain Name System (DNS); Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6); Server.