Fixed switch in getIpForDomain()

Fixed switch in getIpForDomain()
This commit is contained in:
cp6 2022-07-18 14:51:25 +10:00
parent db9c82f9db
commit 38fe21bbef

View File

@ -309,6 +309,7 @@ class ApiController extends Controller
if (isset($data['0']['ip'])) {
return response(array('ip' => $data['0']['ip']), 200);
}
break;
case "AAAA":
$data = dns_get_record($domainname, DNS_AAAA);
if (isset($data['0']['ipv6'])) {