DnsLookup

interface DnsLookup

A domain name service that resolves IP addresses for host names. Implementations of this interface must be safe for concurrent use.

Functions

Link copied to clipboard
abstract fun lookup(hostname: String): List<InetAddress>

Returns the IP addresses of hostname.