Home | History | Annotate | Line # | Download | only in dns
      1  1.1  christos # This value should be increased whenever changing the structure of
      2  1.1  christos # any object that will appear in a type 'map' master file (which
      3  1.1  christos # contains a working memory image of an RBT database), as loading 
      4  1.1  christos # an incorrect memory image produces an inconsistent and probably
      5  1.1  christos # nonfunctional database.  These structures include but are not
      6  1.1  christos # necessarily limited to dns_masterrawheader, rbtdb_file_header,
      7  1.1  christos # rbt_file_header, dns_rbtdb, dns_rbt, dns_rbtnode, rdatasetheader.
      8  1.1  christos #
      9  1.1  christos # Err on the side of caution: if anything in the RBTDB is changed,
     10  1.1  christos # bump the value.  Making map files unreadable protects the system
     11  1.1  christos # from instability; it's a feature not a bug.
     12  1.1  christos #
     13  1.1  christos # Whenever releasing a new major release of BIND9, set this value
     14  1.1  christos # back to 1.0 when releasing the first alpha.  Map files are *never*
     15  1.1  christos # compatible across major releases.
     16  1.1  christos MAPAPI=4.0
     17