Linux command
ndc 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Reload BIND configuration
ndc reload
Show BIND status
ndc status
Stop BIND server
ndc stop
Start BIND server
ndc start
Flush cache
ndc flush
Restart BIND
ndc restart
说明
ndc is the BIND name daemon controller. It manages the BIND DNS server. The tool sends commands to named. Legacy tool, replaced by rndc.
参数
- reload
- Reload configuration.
- status
- Show server status.
- stop
- Stop server.
- start
- Start server.
- flush
- Flush DNS cache.
- restart
- Restart server.
- --help
- Display help information.
FAQ
What is the ndc command used for?
ndc is the BIND name daemon controller. It manages the BIND DNS server. The tool sends commands to named. Legacy tool, replaced by rndc.
How do I run a basic ndc example?
Run `ndc reload` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does reload do in ndc?
Reload configuration.