LinuxCommandLibrary

ndc

BIND name daemon controller

TLDR

Reload BIND configuration

$ ndc reload
copy
Show BIND status
$ ndc status
copy
Stop BIND server
$ ndc stop
copy
Start BIND server
$ ndc start
copy
Flush cache
$ ndc flush
copy
Restart BIND
$ ndc restart
copy

SYNOPSIS

ndc [command]

DESCRIPTION

ndc is the BIND name daemon controller. It manages the BIND DNS server.
The tool sends commands to named. Legacy tool, replaced by rndc.

PARAMETERS

COMMAND

Control command.
reload
Reload configuration.
status
Show server status.
stop
Stop server.
start
Start server.
flush
Flush DNS cache.
restart
Restart server.
--help
Display help information.

CAVEATS

Legacy tool. Use rndc instead. Requires running named.

HISTORY

ndc was the original BIND control utility, now deprecated in favor of rndc.

SEE ALSO

rndc(1), named(1), bind(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community