forked from Snifer/security-cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
dig
30 lines (24 loc) · 682 Bytes
/
dig
1
#To run dig (domain information groper)dig domain]#To just get the ip addressdig [domain] +nocomments +noauthority +noadditional +nostats ORdig [domain] +noall +answerORdig [domain] +short#To use a specific query typedig -t [query type] [domain] [options]ORdig [domain] [query type] [options]#To view ALL DNS record types use query ANYdig -t ANY [domain] [options]ORdig [domain] ANY [options]#To do a DNS reverse look up dig -x [ip address] +short#To use a specific DNS serverdig @[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]ORdig -f file.txt [options]