• anarcat's avatar
    change the data structure storage to be more logical and efficient · a1d319bd
    anarcat authored
    a complete zonefile can now be described like this:
    
    $zonefile = array('www' => array('a' => array('1.2.3.3', '1.2.3.4')),
                      '@' => array('SOA' => array('hostmaster' => 'localhost', 'email' => 'admin.localhost', 'serial' => '2010082301', 'refresh' => 21600 3600 604800 86400 )'),
                                  'A' => array('1.2.3.3'),
                                  'MX' => array('mail.localhost'),
                                  'NS' => array('localhost', 'ns2.localhost'),
                                  )
                     );
    
    i had to change the provision storage class to merge with existing
    records in some cases for that to work.
    a1d319bd
provision.service.inc 8.11 KB