andre 2 年 前
コミット
f38d91ea92
1 ファイル変更1 行追加1 行削除
  1. 1 1
      testdns.php

+ 1 - 1
testdns.php

@@ -54,6 +54,6 @@ function cwp7CheckSOA($domain, $nameserverIP = NS1) {
 
 $result = cwp7CheckSOA($domain);
 print_r($result);
-$host = cwp7CheckA($host, "5.226.148.139", $nameserverIP);
+$host = cwp7CheckA($host, "5.226.148.139", gethostbyname($result));