1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

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'])) {