From 31c36f5ca90edb2e5ac396390536f30480df46bd Mon Sep 17 00:00:00 2001 From: Kristopher Date: Sat, 28 Jun 2025 23:40:17 -0700 Subject: [PATCH] ndc: add page (#17011) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/ndc.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/ndc.md diff --git a/pages/common/ndc.md b/pages/common/ndc.md new file mode 100644 index 0000000000..f63dd33cc2 --- /dev/null +++ b/pages/common/ndc.md @@ -0,0 +1,37 @@ +# ndc + +> Name daemon control service for name servers. +> If a command isn't provided, NDC will prompt for one until EOF. +> More information: . + +- Set the [c]ontrol channel rendezvous point: + +`ndc -c {{channel}} {{command}}` + +- Bind the client side to a specific [l]ocalsock address: + +`ndc -l {{localsock}} {{command}}` + +- Set path to [p]idfile for UNIX signal control: + +`ndc -p {{path/to/pidfile}} {{command}}` + +- Enable [d]ebugging: + +`ndc -d {{command}}` + +- Enable [q]uiet mode: + +`ndc -q {{command}}` + +- Enable nonfatal error [s]uppression: + +`ndc -s {{command}}` + +- Enable [t]racing for protocol and system debugging: + +`ndc -t {{command}}` + +- List built-in commands: + +`ndc /help`