Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
dig [2015/11/24 13:57]
steve
dig [2017/07/05 19:41]
steve
Line 4: Line 4:
  
   * [[http://​alvinalexander.com/​linux-unix/​dig-commands-examples-tcp-ip-mx-record-dns|dig commands and examples]]   * [[http://​alvinalexander.com/​linux-unix/​dig-commands-examples-tcp-ip-mx-record-dns|dig commands and examples]]
 +
 +== Set defaults ==
 +
 +You can use ''​.digrc''​ and store the same command line options in there to use as defaults.
 +
 +Here, query Google'​s DNS server for lookups:
 +
 +<​code>​
 +@8.8.8.8
 +</​code>​
 +
 +Enable short output for all commands:
 +
 +<​code>​
 ++short
 +</​code>​
  
 == Lookup DNS records using nameservers == == Lookup DNS records using nameservers ==