resolveHost

abstract fun resolveHost(host: String, options: ResolveHostOptions = definedExternally): Promise<ResolvedHost>(source)

Resolves with the resolved IP addresses for the host.

This method will resolve hosts from the default session. To resolve a host from another session, use ses.resolveHost().