manual editing of dynamic zones files

Dan Foster usenet at evilphb.org
Fri Dec 23 06:19:24 UTC 2005


In article <dog41h$h9m$1 at sf1.isc.org>, Roman Mashak <romez777 at gmail.com> wrote:
>
> I suppose there's some restriction prohibiting to manually edit
> dynamic DNS zone files: since I tried to do that and after restart of
> named there were no new entries in zone file, is it normal and
> standard behavior? (it happened with bind-8.2.3REL).

Yes, there are restrictions. It relates to technical reasons involving
dynamic DNS-related incremental transfers and journalling.

Yes, the behavior you described is expected, because that's not the
right way to do it before BIND 9.3.1.

Starting with BIND 9.3.1, you can do it without stopping the nameserver by:

	# rndc freeze <zone>
	# vi <zone>
	# rndc unfreeze <zone>

With BIND 9.2.x:

	# rndc stop
	# rm <.jnl files>
	# vi <zone>
	# <start named>

I do not know how to do it for BIND v8 because I have not run that in a
long time. :) Sorry.

I would strongly recommend that if possible, you upgrade to at least
BIND 8.4.7 if you must stay at v8 because earlier is insecure, or
upgrade to BIND 9.3.2 for v9.

-Dan



More information about the bind-users mailing list