[feladat @ 254]
Allow the use of SRV records, allthough there is no validation of this type (yet). Requested by Philipp Hellmich.
--- 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
--- 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) {