equal
deleted
inserted
replaced
282 $field_count = count($fields); |
282 $field_count = count($fields); |
283 |
283 |
284 if ($field_count == 0 || $field_count > 7) { |
284 if ($field_count == 0 || $field_count > 7) { |
285 return false; |
285 return false; |
286 } else { |
286 } else { |
287 if (!is_valid_hostname_fqdn($fields[0]) || preg_match('/\.arpa\.?$/',$fields[0])) { |
287 if (!is_valid_hostname_fqdn($fields[0],0) || preg_match('/\.arpa\.?$/',$fields[0])) { |
288 return false; |
288 return false; |
289 } |
289 } |
290 $final_soa = $fields[0]; |
290 $final_soa = $fields[0]; |
291 |
291 |
292 if (isset($fields[1])) { |
292 if (isset($fields[1])) { |