# DOMAIN INFORMATION GROPER (dig)

## Usage:

#### -axfr = Queries a complete listing of domain records. This attack is named DNS zone transfer.

#### dig DOMAIN\_NAME = Queries A records

#### +short cuts down the output

#### dig DOMAIN\_NAME MX/SOA/TTL = MX/SOA/TTL records

#### dig DOMAIN\_NAME ANY +noall +answer = Query ALL DNS records

#### dig -x IP +short = Reverse DNS lookup

#### dig @8.8.8.8 DOMAIN\_NAME.COM ns (Searches for all DNS servers for this domain via google dns)

#### dig @8.8.8.8 DOMAIN\_NAME.COM mx (Searches for all SMTP servers for this domain via google dns)

#### #### dig @8.8.8.8 DOMAIN\_NAME.COM (Similar to a whois search)

#### Other tools: nslookup, whois
