Function resolveHostname

  • This will resolve a hostname to the first host. It could be an IPv6 address or IPv4 address. This uses the OS's DNS resolution system.

    Parameters

    • hostname: string

    Returns Promise<Host>

Generated using TypeDoc