inc/dns.inc.php
changeset 173 6d0e4e6bedad
parent 167 0b992665ac4d
child 182 049347a649e0
--- a/inc/dns.inc.php	Mon May 19 10:20:44 2008 +0000
+++ b/inc/dns.inc.php	Mon May 19 19:01:58 2008 +0000
@@ -284,7 +284,7 @@
 	if ($field_count == 0 || $field_count > 7) {
 		return false;
 	} else {
-		if (!is_valid_hostname_fqdn($fields[0]) || preg_match('/\.arpa\.?$/',$fields[0])) {
+		if (!is_valid_hostname_fqdn($fields[0],0) || preg_match('/\.arpa\.?$/',$fields[0])) {
 			return false;
 		}
 		$final_soa = $fields[0];