@Immutable public final class DNSResolver extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
dnsResolve(String sHostName)
JavaScript callback function!
|
static String |
dnsResolveEx(String sHostName) |
static String |
getMyIpAddress() |
static InetAddress |
resolveByName(String sHostName) |
@Nullable public static InetAddress resolveByName(@Nonnull String sHostName)
@Nullable public static String dnsResolve(@Nonnull String sHostName)
sHostName - The host name.null if the host
name could not be resolved.Copyright © 2016–2019 Philip Helger. All rights reserved.