migration revision 47871e33fb84e286e8e938caa1fccd18deee0d0d
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaCopyright (C) 2000, 2001 Internet Software Consortium.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica BIND 8 to BIND 9 Migration Notes
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaBIND 9 is designed to be mostly upwards compatible with BIND 8, but
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricathere is still a number of caveats you should be aware of when
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaupgrading an existing BIND 8 installation to use BIND 9.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica1. Configuration File Compatibility
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica1.1. Unimplemented Options and Changed Defaults
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaBIND 9 supports most, but not all of the named.conf options of BIND 8.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaFor a complete list of implemented options, see doc/misc/options.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaIf your named.conf file uses an unimplemented option, named will log a
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricawarning message. A message is also logged about each option whose
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricadefault has changed unless the option is set explicitly in named.conf.
5d3b8cb7141cfa596d20cdc5043b8a6df635938dBill SommerfeldThe default of the "transfer-format" option has changed from
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica"one-answer" to "many-answers". If you have slave servers that do not
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaunderstand the many-answers zone transfer format (e.g., BIND 4.9.5 or
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaolder) you need to explicitly specify "transfer-format one-answer;" in
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaeither the options block or a server statement.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica1.2. Handling of Configuration File Errors
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaIn BIND 9, named refuses to start if it detects an error in
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricanamed.conf. Earlier versions would start despite errors, causing the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaserver to run with a partial configuration. Errors detected during
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricasubsequent reloads do not cause the server to exit.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaErrors in master files do not cause the server to exit, but they
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricado cause the zone not to load.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica1.3. Logging
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaThe set of logging categories in BIND 9 is different from that
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricain BIND 8. If you have customized your logging on a per-category
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricabasis, you need to modify your logging statement to use the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricanew categories.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaAnother difference is that the "logging" statement only takes effect
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaafter the entire named.conf file has been read. This means that when
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricathe server starts up, any messages about errors in the configuration
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricafile are always logged to the default destination (syslog) when the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaserver first starts up, regardless of the contents of the "logging"
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricastatement. In BIND 8, the new logging configuration took effect
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaimmediately after the "logging" statement was read.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica1.4. Notify messages and Refesh queries
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaThe source address and port for these is now controlled by
5d3b8cb7141cfa596d20cdc5043b8a6df635938dBill Sommerfeld"notify-source" and "transfer-source", respectively, rather that
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaquery-source as in BIND 8.
5d3b8cb7141cfa596d20cdc5043b8a6df635938dBill Sommerfeld1.5. Multiple Classes.
no-check-names" in resolv.conf. BIND 9 provides no such protection;