Added support for .co, which has the same layout as .cc

This commit is contained in:
Guillaume Barbe 2015-12-07 13:24:32 -05:00
parent 3b6d527349
commit 9a4594fd82
1 changed files with 8 additions and 0 deletions

View File

@ -987,6 +987,14 @@ class m_dom {
}
}
break;
case "co":
if (preg_match("#Name Server:#", $ligne)) {
$found = true;
$tmp = strtolower(str_replace(chr(10), "", str_replace(chr(13), "", str_replace(" ", "", str_replace("Name Server:", "", $ligne)))));
if ($tmp)
$serveurList[] = $tmp;
}
break;
case "cx":
$ligne = str_replace(chr(10), "", str_replace(chr(13), "", str_replace(" ", "", $ligne)));
if ($ligne == "" && $state == 1) {