# HG changeset patch # User rejo # Date 1209846991 0 # Node ID 362a952b0a1234cb8e0ea074df58c27c7cfcdbae # Parent df8ec400e5a33223899e1af958259d7f281d355f [feladat @ 254] Allow the use of SRV records, allthough there is no validation of this type (yet). Requested by Philipp Hellmich. diff -r df8ec400e5a3 -r 362a952b0a12 inc/dns.inc.php --- a/inc/dns.inc.php Sat May 03 20:22:46 2008 +0000 +++ b/inc/dns.inc.php Sat May 03 20:36:31 2008 +0000 @@ -75,6 +75,7 @@ case "MBOXFW": case "NAPTR": + case "SRV": case "URL": // These types are supported by PowerDNS, but there is not // yet code for validation. Validation needs to be added diff -r df8ec400e5a3 -r 362a952b0a12 inc/toolkit.inc.php --- a/inc/toolkit.inc.php Sat May 03 20:22:46 2008 +0000 +++ b/inc/toolkit.inc.php Sat May 03 20:36:31 2008 +0000 @@ -84,7 +84,7 @@ $server_types = array("MASTER", "SLAVE", "NATIVE"); // $rtypes - array of possible record types -$rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'TXT'); +$rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'SRV', 'TXT'); // If fancy records is enabled, extend this field. if($dns_fancy) {