[feladat @ 254]
authorrejo
Sat, 03 May 2008 20:36:31 +0000
changeset 148 362a952b0a12
parent 147 df8ec400e5a3
child 149 0f9739c8db48
[feladat @ 254] Allow the use of SRV records, allthough there is no validation of this type (yet). Requested by Philipp Hellmich.
inc/dns.inc.php
inc/toolkit.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 
--- 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) {