LinuxCommandLibrary

knotc

control utility for Knot DNS server

TLDR

Check server status

$ knotc status
copy
Reload server configuration
$ knotc reload
copy
Stop DNS server
$ knotc stop
copy
Force zone transfer
$ knotc zone-retransfer [zone]
copy
Sign zone with DNSSEC
$ knotc zone-sign [zone]
copy
Flush zone to file
$ knotc zone-flush [zone]
copy

SYNOPSIS

knotc [options] action [args...]

DESCRIPTION

knotc is the control utility for Knot DNS server. It communicates with the running knotd daemon through a control socket to manage zones, check status, and trigger operations. Supports interactive mode with command completion.

PARAMETERS

status

Check if server is running.
reload
Reload configuration and zones.
stop
Stop the server.
zone-retransfer zone
Force zone transfer from master.
zone-sign zone
Trigger DNSSEC re-signing.
zone-flush zone
Flush zone journal to file.
-c file
Configuration file path.
-s path
Control socket path.
-t seconds
Control timeout.

SEE ALSO

knotd(1), kdig(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community