Knowledge Base ISC Main Website Ask a Question/Contact ISC
How do I share a dynamic zone between multiple views?
Author: ISC Support Reference Number: AA-00295 Views: 14232 Created: 2011-05-13 20:18 Last Updated: 2017-03-08 17:06 0 Rating/ Voters

Running BIND versions prior to 9.9?

The method presented here is the recipe to follow.

Running BIND 9.9 or greater?

An alternate method, requiring BIND 9.9.0 or greater, is presented as example 4 in Understanding views in BIND 9, by example.

Running BIND 9.10 or greater?

If you're running BIND 9.10.0 or greater, there is a new zone option "in-view" that allows multiple views to refer to the same instance of the zone in memory.  See the ARM for your release for more details.

You choose one view to be master and the second a slave and transfer the zone between views.


key "external" {
  algorithm hmac-md5;
  secret "xxxxxxxx";
key "mykey" {
  algorithm hmac-md5;
  secret "yyyyyyyy";
view "internal" {
  match-clients { !key external; 10.0.1/24; };
  server {
    /* Deliver notify messages to external view. */
    keys { external; };
  zone "" {
    type master;
    file "internal/example.db";
    allow-update { key mykey; };
    also-notify {; };
view "external" {
  match-clients { key external; any; };
  zone "" {
    type slave;
    file "external/example.db";
    masters {; };
    transfer-source {; };
    // allow-update-forwarding { any; };
    // allow-notify { ... };

© 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.

  • There is no feedback for this article
Quick Jump Menu