From a4d93ca175f244188ebde86608e28db41de5fdc2 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 14 Oct 2023 17:34:50 +0200 Subject: [PATCH] chore: more command examples --- knowledge base/dig.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/knowledge base/dig.md b/knowledge base/dig.md index ee53693..2777a46 100644 --- a/knowledge base/dig.md +++ b/knowledge base/dig.md @@ -22,6 +22,19 @@ dig -x '172.217.14.238' # Only show the IP from the result. dig 'google.com' '+short' +# Do not echo the executed command. +# This is a global flag, notice the position. +dig +nocmd 'google.com' + +# Clear display flags. +dig 'google.com' +noall + +# Do not display the answer section of replies. +dig 'google.com' +noanswer + +# Print records in a verbose multi-line format with human-readable comments. +dig 'google.com' +multiline + # See resolution trace. dig 'google.com' '+trace'