Please explain how BIND 9 uses memory to store DNS zones. Sometimes it seems to use several times the amount it needs.
- Updated on 28 Dec 2016
- 1 minute to read
When reloading a zone named may have multiple copies of the zone in memory at one time. The zone it is serving and the one it is loading. If reloads are ultra fast it can have more still. e.g. Ones that are transferring out, the one that it is serving and the one that is loading.
BIND 8 destroyed the zone before loading and also killed off outgoing transfers of the zone.
The new strategy allows slaves to get copies of the new zone regardless of how often the master is loaded compared to the transfer time. The slave might skip some intermediate versions but the transfers will complete and it will keep reasonably in sync with the master.
The new strategy also allows the master to recover from syntax and other errors in the master file as it still has an in-core copy of the old contents.
© 2001-2018 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.