• Basic DNS resolution using getaddrinfo(3).

    Parameters

    • host: string

      Hostname to be looked up.

    • Optionaloptions: LookupOptions

      Criteria for selecting the results.

    Returns Promise<Addr | Addr[]>