function resolve4
Jump to headingresolve4(hostname: string): Promise<string[]>Uses the DNS protocol to resolve IPv4 addresses (A records) for the hostname. On success, the Promise is resolved with an array of IPv4
addresses (e.g. ['74.125.79.104', '74.125.79.105', '74.125.79.106']).
Parameters Jump to heading
Jump to headinghostname: stringHost name to resolve.
Return Type Jump to heading
Promise<string[]>Jump to headingresolve4(hostname: string,options: ResolveWithTtlOptions,): Promise<RecordWithTtl[]>Parameters Jump to heading
Jump to headinghostname: stringJump to headingoptions: ResolveWithTtlOptionsReturn Type Jump to heading
Promise<RecordWithTtl[]>Jump to headingresolve4(hostname: string,options: ResolveOptions,): Promise<string[] | RecordWithTtl[]>Parameters Jump to heading
Jump to headinghostname: stringJump to headingoptions: ResolveOptionsReturn Type Jump to heading
Promise<string[] | RecordWithTtl[]>