bind9/bin/dig
Julia Evans 8972ed9424 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.
2026-02-22 11:03:10 -05:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c switch to RETERR where it wasn't being used 2025-12-03 13:45:43 -08:00
dig.rst Add examples to the dig man page 2026-02-22 11:03:10 -05:00
dighost.c cfg_parse_ API doesn't need memory context 2025-12-04 16:09:40 +01:00
dighost.h Add +[no]showtruncated to dig 2025-12-02 09:34:13 +11:00
host.c switch to RETERR where it wasn't being used 2025-12-03 13:45:43 -08:00
host.rst Do HTTPS record query from host in addition 2025-02-18 14:56:08 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00
nslookup.c add dns_message API to add EDNS options 2025-11-21 11:13:18 -08:00
nslookup.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00