Knowledge Base ISC Main Website Ask a Question/Contact ISC
Why does named log an error '3bf305731dd26307.nzf: file not found' when starting up?
Author: Michael McNally Reference Number: AA-00903 Views: 5319 Created: 2013-05-04 03:14 Last Updated: 2013-05-06 16:56 0 Rating/ Voters

When named starts under some configurations it may log a message like:

03-May-2013 18:42:02.807 open: 3bf305731dd26307.nzf: file not found

Why does it do that?  What is an .nzf file and what happens if named can't find one?

Most BIND operators are familiar with the concept of Dynamic DNS, the BIND feature that allows you to add or remove records from existing zones using UPDATE messages.  

There is a similar mechanism by which BIND can also allow entirely new zones to be created (or removed) while a server is running (although it does not  operate using UPDATE messages but uses the rndc command to pass zone creation and deletion commands to the server.)

If the server is configured to allow new zones with the option:

allow-new-zones yes;

then using the command "rndc addzone" a nameserver operator can add a zone to the running server without requiring a restart, reload, or reconfig.  The corresponding command "rndc delzone" can remove a zone, but only if it was added using "rndc addzone"

To allow dynamically added zones to persist across a server restart or reconfigure, BIND keeps track of these dynamically added zones in files, one file per view that you are using (note that even if you have not explicitly configured views your zones exist within a view, just the default one, "_default".)  The names of the files used to store these lists of dynamically added zones are constructed from a SHA256 hash of the view name, plus the extension .nzf.  So a .nzf is a per-view list of zones that have been added with "rndc addzone".

If the "allow-new-zones" option is set, upon startup named looks for a file called {viewname hash}.nzf for each view in the configuration.  If it finds such a file it load the zones that are listed in the .nzf file into the appropriate view.  If it does not find a .nzf file for the view it emits a log message such as the one at the top of this article and continues normal operation.  If you have set "allow-new-zones yes;" in your configuration but have not yet added any dynamically created zones it is normal for there to be no .nzf file for named to find and the log message can be safely disregarded.



© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Quick Jump Menu