bind9/bin/dig
Julia Evans ee0ae18a13 Add examples to the dig man page
The goal here is to help new or infrequent users figure out the most
basic ways to use dig.

Notes on the choice of examples:

* I wrote examples that users can copy and paste exactly as is, without
  having to come up with an appropriate IP address or domain name to use.
  The one exception is the `dig -x` example which uses an IP from the
  example range.
* `dig +noall +answer` here is because learning about `+noall +answer`
  was lifechanging for me when I learned about it, I've heard from
  others that they find it helpful too, and it's pretty hard to infer
  from the man page as is that it might be useful
* I thought about adding `+trace` but left it out because 5 examples was
  already starting to feel like a lot.

(cherry picked from commit 8972ed9424)
2026-02-22 16:21:13 +00:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
dig.rst Add examples to the dig man page 2026-02-22 16:21:13 +00:00
dighost.c avoid retrying a server if its address is unusable 2025-11-04 19:05:52 +00:00
dighost.h Add CO support to dig 2025-06-13 20:31:31 +10:00
host.c Do HTTPS record query from host in addition 2025-02-18 14:58:14 +00:00
host.rst Do HTTPS record query from host in addition 2025-02-18 14:58:14 +00:00
Makefile.am Add OpenSSL includes as needed 2024-11-15 14:03:44 +00:00
nslookup.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nslookup.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
readline.h Remove redundant semicolons after the closing braces of functions 2024-11-19 14:26:56 +01:00