All queries can be appended with @NAMESERVER where NAMESERVER is the DNS server you wish to interrogate.

DNS Forward Lookup


DNS Reverse Lookup

dig -x

DNS Specific Record Lookup

dig TYPE

Replace TYPE with the type of record you want, for example a, mx or txt.

DNS Zone Transfer

Very useful when trying to enumerate hosts on a domain. Usually disabled but very handy if enabled when pentesting.

dig axfr