DNS内置命令rndc用法

rndc:

      rndc --> rndc (953/tcp)

      rndc COMMAND

      

      COMMAND:

             reload:重载主配置文件和区域解析库文件

             reload zone:重载区域解析库文件

             retransfer zone:手动启动区域传送过程,而不管序列号是否增加

             notify zone:重新对区域传送发通知

             reconfig:重载主配置文件和区域解析库文件

             querylog:开启或关闭查询日志;

             trace:递增debug级别

             trace LEVEL:指定使用的级别

 

[root@www slaves]# rndc -h

Usage: rndc [-b address] [-c config] [-s server][-p port]

       [-k key-file ] [-y key] [-V] command

 

command is one of the following:

 

  reload       Reload configuration file and zones.

  reload zone [class[view]]

               Reload a single zone.

  refresh zone [class[view]]

               Schedule immediate maintenance for a zone.

  retransfer zone [class[view]]

               Retransfer a single zone without checking serial number.

  freeze       Suspend updates to all dynamic zones.

  freeze zone [class[view]]

               Suspend updates to a dynamic zone.

  thaw         Enable updates to all dynamic zones and reload them.

  thaw zone [class[view]]

               Enable updates to a frozen dynamic zone and reload it.

  notify zone [class[view]]

               Resend NOTIFY messages for the zone.

  reconfig     Reload configuration file and new zones only.

  sign zone [class[view]]

               Update zone keys, and sign as needed.

  loadkeys zone [class[view]]

               Updatekeys without signing immediately.

  stats        Write server statistics to the statistics file.

  querylog     Toggle query logging.

  dumpdb[-all|-cache|-zones] [view ...]

               Dump cache(s) to the dump file (named_dump.db).

  secroots [view...]

               Write security roots to the secroots file.

  stop         Save pending updates to master files and stop theserver.

  stop -p      Save pending updates to master files and stop the server

               reporting process id.

  halt         Stop the server without saving pending updates.

  halt -p      Stop the server without saving pending updates reporting

               process id.

  trace        Increment debugging level by one.

  tracelevel  Change the debugging level.

  notrace      Set debugging level to 0.

  flush        Flushes all of the server's caches.

  flush[view] Flushes the server's cache for a view.

  flushname name[view]

               Flush the given name from the server's cache(s)

  status       Display status of the server.

  recursing    Dump the queries that are currently recursing(named.recursing)

  tsig-list    List all currently active TSIG keys, including bothstatically

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值