Dns
Capability for an effect
F[_]
which can do DNS lookups.An instance is available for any effect which has a
Sync
instance.- Companion
- object
class Object
trait Matchable
class Any
Value members
Methods
Resolves the supplied hostname to an ip address using the platform DNS resolver.
If the hostname cannot be resolved, the effect fails with a
java.net.UnknownHostException
.Resolves the supplied hostname to an ip address using the platform DNS resolver.
If the hostname cannot be resolved, a
None
is returned.