Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
dig [2014/07/25 10:43] 127.0.0.1 external edit |
dig [2015/12/16 11:43] steve |
||
---|---|---|---|
Line 19: | Line 19: | ||
dig mx example.com | dig mx example.com | ||
</code> | </code> | ||
+ | |||
+ | See also [[dnsmx]], which provides less verbosity. | ||
+ | |||
+ | == Find the TXT records == | ||
+ | |||
+ | Can be used to display SPF entries. | ||
+ | |||
+ | <code> | ||
+ | dig txt example.com | ||
+ | </code> | ||
+ | |||
+ | See also [[dnstxt]]. | ||
== Check if DNS records match == | == Check if DNS records match == | ||
Line 48: | Line 60: | ||
<code> | <code> | ||
dig ANY +noall +answer domain.com | dig ANY +noall +answer domain.com | ||
+ | </code> | ||
+ | |||
+ | == Set defaults == | ||
+ | |||
+ | You can use ''.digrc'' and store the same command line options in there to use as defaults | ||
+ | |||
+ | <code> | ||
+ | @8.8.8.8 | ||
</code> | </code> |