andre 2 년 전
부모
커밋
0e642cd881
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", gethostbyname($result));
+$host = cwp7CheckA($host, "5.226.148.139", gethostbyname($result) ? gethostbyname($result) : NS1);