inc/dns.inc.php
changeset 122 2e2cc9cfa115
parent 121 90cab8725693
child 136 c795dd75a77e
equal deleted inserted replaced
121:90cab8725693 122:2e2cc9cfa115
   426 	if($return->numRows() > 1) {
   426 	if($return->numRows() > 1) {
   427 		return -1;
   427 		return -1;
   428 	}
   428 	}
   429 
   429 
   430 	$soacontent = preg_split("/\s+/", $content);
   430 	$soacontent = preg_split("/\s+/", $content);
   431 	debug_print($soacontent);
       
   432 	
   431 	
   433 	if(is_valid_hostname($soacontent[0])) {
   432 	if(is_valid_hostname($soacontent[0])) {
   434 
   433 
   435 		$totalsoa = $soacontent[0];
   434 		$totalsoa = $soacontent[0];
   436 		// It doesnt matter what field 2 contains, but lets check if its there
   435 		// It doesnt matter what field 2 contains, but lets check if its there