Getting dynamic entries into their db files

Mark Andrews marka at isc.org
Fri Jun 26 23:37:57 UTC 2009


In message <708178298B2B4B448E70B9686E60AC860391FF43 at ct11exm61.ds.mot.com>, "Ch
erney John-CJC030" writes:
> Is there a way to get dynamic DNS entries out of the jnl files and into
> the zone data file? My understanding is that the two usual ways are to
> run "rndc stop", or to wait a certain period of time. I'm running BIND
> 9.3.5-P1 on Solaris 10. What I am trying to do is to stop DNS, make a
> backup of all of the db files and then restart DNS. I don't want to make
> backups of the jnl files.
>
> To complicate matters, I am doing this on Solaris 10, which uses SMF for
> starting and stopping DNS. The command svcadm disable
> svc:/network/dns/server:default does stop DNS, but it doesn't appear to
> write the dynamic data to the zone data file.=20
> 
> So:
> Is there a better BIND related way of getting that dynamic data into the
> zone data file?
> Is there a better SUN related way of getting that dynamic data into the
> zone data file?
> 
> Originally, I had changed the SUN SMF stop method from ":kill" to "rndc
> stop", and that worked fine, except in some cases, it was noticed that
> named was not restarting on reboot. Changing the stop method back to
> ":kill" seems to care of that problem, but opens up that dynamic update
> commit problem.=20
>
> Thoughts? Suggestions?
> Thanks in advance!
> jwc
> 

	Have you really thought about this?  The correct way to
	backup the DNS is to use slaves.  If all is going well you
	will only loose a minute or two of changes.  You really
	don't want to roll back to what is in backup tapes.

	If you need to keep snapshots then use dig to extract a
	copy of the zone from the nameserver.

	Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list