Replaced getByName/getAllByName

This commit is contained in:
M66B
2024-01-01 22:30:34 +01:00
parent b5f19f9e2d
commit 94c6fca5dc
6 changed files with 46 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ public class IPInfo {
Log.i(ex);
}
InetAddress address = InetAddress.getByName(host);
InetAddress address = DnsHelper.getByName(context, host);
return new Pair<>(address, getOrganization(address, context));
}