• Retrieves the IP address associated with a given domain.

    Returns

    A Promise that resolves to the IP address.

    Throws

    If no IP address is found or if the domain name is invalid.

    Parameters

    • domain: string

      The domain for which to retrieve the IP address.

    Returns Promise<string>

Generated using TypeDoc