]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add examples to the dig man page
authorJulia Evans <julia@jvns.ca>
Fri, 20 Feb 2026 15:43:26 +0000 (10:43 -0500)
committerJulia Evans <julia@jvns.ca>
Sun, 22 Feb 2026 16:03:10 +0000 (11:03 -0500)
commit8972ed94242e8de67d7b35c2fa0015dee85a4e5d
tree06ebb6591a7e4b187cd20d1f9b988c281fbfce39
parent92d3c7d011e0218faed7e74735a116a758301aa3
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.
bin/dig/dig.rst