# dig command syntax; only $DOMAIN is required
#
dig @$NAME_SERVER $DOMAIN $QUERY_TYPE
 
# Examples
#
dig @8.8.8.8 microsoft.com A
dig @1.1.1.1 tryhackme.com
dig          google.com    MX
 
# If the DNS server allows the request of zone transfer
# information, then it's possible to quickly enumerate *all*
# DNS information associated with a given domain
#
dig @$NAME_SERVER $DOMAIN -t AXFR