inc/toolkit.inc.php
changeset 193 6a87ca695244
parent 192 3d18290ac993
equal deleted inserted replaced
192:3d18290ac993 193:6a87ca695244
    82 
    82 
    83 // Array of the available zone types
    83 // Array of the available zone types
    84 $server_types = array("MASTER", "SLAVE", "NATIVE");
    84 $server_types = array("MASTER", "SLAVE", "NATIVE");
    85 
    85 
    86 // $rtypes - array of possible record types
    86 // $rtypes - array of possible record types
    87 $rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'SRV', 'TXT');
    87 $rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'SPF', 'SRV', 'SSHFP', 'TXT');
    88 
    88 
    89 // If fancy records is enabled, extend this field.
    89 // If fancy records is enabled, extend this field.
    90 if($dns_fancy) {
    90 if($dns_fancy) {
    91         $rtypes[12] = 'URL';
    91         $rtypes[14] = 'URL';
    92         $rtypes[13] = 'MBOXFW';
    92         $rtypes[15] = 'MBOXFW';
    93 }
    93 }
    94 
    94 
    95 // $template - array of records that will be applied when adding a new zone file
    95 // $template - array of records that will be applied when adding a new zone file
    96 $template = array(
    96 $template = array(
    97                 array(
    97                 array(