You get a bonus - 1 coin for daily activity. Now you have 1 coin

BIND (named) DNS server management commands - rndc. Reload, zone transfer, cache flush.

Practice



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.


reload

Reloads 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.ru

Reloads only the specified zone from the configs.

refresh zone mydomain.ru

Force-run maintenance operations for a secondary zone.

retransfer zone mydomain.ru

Force, without checking the serial number, loading of a secondary zone from the master server.

freeze

Stop automatic update operations for all zones.

freeze zone mydomain.ru

Stop automatic update operations for the specified zone.

thaw

The opposite of freeze — resume automatic update operations for all zones.

thaw zone mydomain.ru

The opposite of freeze — resume automatic update operations for the specified zone.

notify zone mydomain.ru

Resend information (NOTIFY) about the specified zone to all slave DNS servers.

reconfig

Reload the configuration file and load only new zones that weren't previously declared.

stats

Write 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 -p

Write 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 -p

The same as stop, but without writing out update data — i.e. an instant emergency stop of the server.

flush

Flush the entire cache of the DNS server.

flush mydomain.ru

Flush the DNS server's cache regarding the specified zone.

status

Show the server's status on screen.

recursing

Create a dump of current recursive queries into the named.recursing file.
Applies to: BIND (named)

Comments

Баба на баннере справа 02-12-2020
так как перегрузить сервер с сохранением кеша, ало?

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)