So, here's a summary of the commands supported in BIND (named) — the DNS server. All commands are entered like this:
$ sudo rndc command
where you substitute the command in place of command.
reloadReloads all DNS zones managed by this server, and the configuration from the configuration files. Should be run after changing the config or DNS zones.
reload zone mydomain.ruReloads only the specified zone from the configs.
refresh zone mydomain.ruForce-run maintenance operations for a secondary zone.
retransfer zone mydomain.ruForce, without checking the serial number, loading of a secondary zone from the master server.
freezeStop automatic update operations for all zones.
freeze zone mydomain.ruStop automatic update operations for the specified zone.
thawThe opposite of freeze — resume automatic update operations for all zones.
thaw zone mydomain.ruThe opposite of freeze — resume automatic update operations for the specified zone.
notify zone mydomain.ruResend information (NOTIFY) about the specified zone to all slave DNS servers.
reconfigReload the configuration file and load only new zones that weren't previously declared.
statsWrite server statistics to the statistics file.
dumpdb [-all|-cache|-zones] [mydomain.ru]Dump data from the cache and zones (or just one of them), all zones or only the specified one, to the named_dump.db file.
stop and stop -pWrite out unfinished update data and stop the server. When the -p flag is specified, also write out the server process's PID.
halt and halt -pThe same as stop, but without writing out update data — i.e. an instant emergency stop of the server.
flushFlush the entire cache of the DNS server.
flush mydomain.ruFlush the DNS server's cache regarding the specified zone.
statusShow the server's status on screen.
recursingCreate a dump of current recursive queries into the named.recursing file.
Applies to: BIND (named)
Comments