Merge pull request #2 from Decicus/at/traceroute6-hostnames
Fix: Resolve AAAA record from hostname
This commit is contained in:
commit
d7adcfae3f
@ -110,7 +110,7 @@ class LookingGlass
|
||||
if ($type == 'ipv4' && isset(dns_get_record($host, DNS_A)[0]['ip'])) {
|
||||
return $host;
|
||||
}
|
||||
if ($type == 'ipv6' && isset(dns_get_record($host, DNS_AAAA)[0]['ip'])) {
|
||||
if ($type == 'ipv6' && isset(dns_get_record($host, DNS_AAAA)[0]['ipv6'])) {
|
||||
return $host;
|
||||
}
|
||||
return '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user