← 返回命令列表

Linux command

rndc 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Reload BIND configuration

rndc reload

Reload specific zone

rndc reload [example.com]

Show server status

rndc status

Flush cache

rndc flush

Stop server

rndc stop

说明

rndc (Remote Name Daemon Control) administers the BIND DNS server. It sends commands to named to reload zones, flush cache, and perform other management tasks.

参数

-s _server_
Server address.
-p _port_
Port number.
-k _keyfile_
Key file.
-c _config_
Config file.

FAQ

What is the rndc command used for?

rndc (Remote Name Daemon Control) administers the BIND DNS server. It sends commands to named to reload zones, flush cache, and perform other management tasks.

How do I run a basic rndc example?

Run `rndc reload` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s _server_ do in rndc?

Server address.