Reloading a dynamic zone

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: In this example, I make manual changes to a dynamic zone named 230.205.10.in-addr.arpa. All operations below are performed on the master name server for the zone. To make manual changes t...)
Line 17: Line 17:
# '''rndc reload 230.205.10.in-addr.arpa'''
# '''rndc reload 230.205.10.in-addr.arpa'''
rndc: 'reload' failed: dynamic zone
rndc: 'reload' failed: dynamic zone
 +
 +
=== BIND 9 ARM ===
 +
 +
Relevant sections from the [http://www.isc.org/index.pl?/sw/bind/arm93/ BIND 9 ARM].
 +
 +
<pre>freeze [zone [class [view]]]
 +
 +
Suspend updates to a dynamic zone. If no zone is specified then all zones are suspended. This allows manual edits to be made to a zone normally updated by dynamic update. It also causes changes in the journal file to be synced into the master and the journal file to be removed. All dynamic update attempts will be refused while the zone is frozen.
 +
thaw [zone [class [view]]]
 +
 +
Enable updates to a frozen dynamic zone. If no zone is specified then all frozen zones are enabled. This causes the server to reload the zone from disk, and re-enables dynamic updates after the load has completed. After a zone is thawed, dynamic updates will no longer be refused.</pre>

Revision as of 18:25, 1 August 2008

In this example, I make manual changes to a dynamic zone named 230.205.10.in-addr.arpa. All operations below are performed on the master name server for the zone.

To make manual changes to a dynamic zone:

  • Freeze (i.e., prevent dynamic updates to) the zone using rndc freeze
# rndc freeze 230.205.10.in-addr.arpa
  • Make your zone file changes.
  • Reload the zone.
  • Unthaw (i.e., allow dynamic updates to) the zone using rndc thaw
# rndc thaw 230.205.10.in-addr.arpa

Note: You cannot reload a dynamic zone that is not frozen.

# rndc reload 230.205.10.in-addr.arpa
rndc: 'reload' failed: dynamic zone

BIND 9 ARM

Relevant sections from the BIND 9 ARM.

freeze [zone  [class  [view]]]

    Suspend updates to a dynamic zone. If no zone is specified then all zones are suspended. This allows manual edits to be made to a zone normally updated by dynamic update. It also causes changes in the journal file to be synced into the master and the journal file to be removed. All dynamic update attempts will be refused while the zone is frozen.
thaw [zone [class [view]]]

    Enable updates to a frozen dynamic zone. If no zone is specified then all frozen zones are enabled. This causes the server to reload the zone from disk, and re-enables dynamic updates after the load has completed. After a zone is thawed, dynamic updates will no longer be refused.
Personal tools