inc/dns.inc.php
changeset 167 0b992665ac4d
parent 164 4c6adb48dcfd
child 173 6d0e4e6bedad
equal deleted inserted replaced
166:def8799ec0d7 167:0b992665ac4d
   252 			AND TYPE = 'CNAME'";
   252 			AND TYPE = 'CNAME'";
   253 
   253 
   254 	$response = $db->query($query);
   254 	$response = $db->query($query);
   255 	if (PEAR::isError($response)) { error($response->getMessage()); return false; };
   255 	if (PEAR::isError($response)) { error($response->getMessage()); return false; };
   256 	if ($response->numRows() > 0) {
   256 	if ($response->numRows() > 0) {
   257 		error(ERR_DNS_MX_NS_TO_CNAME); return false;
   257 		error(ERR_DNS_NON_ALIAS_TARGET); return false;
   258 	}
   258 	}
   259 	return true;
   259 	return true;
   260 }
   260 }
   261 
   261 
   262 function is_valid_rr_hinfo_content($content) {
   262 function is_valid_rr_hinfo_content($content) {