------------------------------------------------------------------------------------- / _ \ \_\(_)/_/ _//"\\_ JOHLEM.net / \ https://johlem.net/V1/topics/cheatsheet.php ------------------------------------------------------------------------------------- --- CHEATSHEET DIG #To run dig (domain information groper) dig [domain] #To just get the ip address dig [domain] +nocomments +noauthority +noadditional +nostats OR dig [domain] +noall +answer OR dig [domain] +short #To use a specific query type dig -t [query type] [domain] [options] OR dig [domain] [query type] [options] #To view ALL DNS record types use query ANY dig -t ANY [domain] [options] OR dig [domain] ANY [options] #To do a DNS reverse look up dig -x [ip address] +short #To use a specific DNS server dig @[specific DNS] [domain] #To do a bulk DNS query (where file.txt has all the domains, one to a line) dig [domain1] [options] [domain2] [options] OR dit -f file.txt [options]