migration revision 1593eff60a5efda85f97f819c3b1ed8aafc56c60
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelCopyright (C) 2000, 2001 Internet Software Consortium.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel BIND 8 to BIND 9 Migration Notes
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelBIND 9 is designed to be mostly upwards compatible with BIND 8, but
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelthere is still a number of caveats you should be aware of when
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelupgrading an existing BIND 8 installation to use BIND 9.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1. Configuration File Compatibility
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1.1. Unimplemented Options and Changed Defaults
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelBIND 9.1 supports most, but not all but not of the named.conf options
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelof BIND 8. For a complete list of implmented options, see
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelIf your named.conf file uses an unimplemented option, named will log a
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelwarning message. A message is also logged about each option whose
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedeldefault has changed unless the option is set explicitly in named.conf.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelIn particular, if you see a warning message about the default for the
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel"auth-nxdomain" option having changed, you can suppress it by adding
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelone of the following lines to the named.conf options { } block:
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel auth-nxdomain no; # conform to RFC1035
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel auth-nxdomain yes; # do what BIND 8 did by default
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1.2. Handling of Configuration File Errors
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelIn BIND 9, named refuses to start if it detects an error in
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelnamed.conf. Earlier versions would start despite errors, causing the
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelserver to run with a partial configuration. Errors detected during
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelsubsequent reloads do not cause the server to exit.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelErrors in master files never cause the server to exit.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelThe set of logging categories in BIND 9 is different from that
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelin BIND 8. If you have customized your logging on a per-category
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelbasis, you need to modify your logging statement to use the
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelnew categories.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelAnother difference is that the "logging" statement only takes effect
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelafter the entire named.conf file has been read. This means that when
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelthe server starts up, any messages about errors in the configuration
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelfile are always logged to the default destination (syslog) when the
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelserver first starts up, regardless of the contents of the "logging"
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelstatement. In BIND 8, the new logging configuration took effect
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelimmediately after the "logging" statement was read.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1.4. Case sensitivity
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelIn BIND 9, ACL names are case sensitive. In BIND 8 they were case
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1.5. Notify messages and Refesh queries
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelThe source address and port for these is now controlled by
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel"notify-source" and "transfer-source", respectively, rather that
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedelquery-source as in BIND 8.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel1.6. Multiple Classes.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan FriedelMultiple classes have to be put into explicit views for each class.
f89940742f5d14dde79b69b98a414dd7b7f585c7Jan Friedel2. Zone File Compatibility
no-check-names" in resolv.conf. BIND 9 provides no such protection;