resolveDns
resolveDns(hostname
): Promise
<string
[]>
Performs a DNS lookup to resolve a hostname to an array of IP addresses.
Parameters
Parameter | Type |
---|---|
hostname | string |
Returns
Promise
<string
[]>
resolveDns(hostname
): Promise
<string
[]>
Performs a DNS lookup to resolve a hostname to an array of IP addresses.
Parameter | Type |
---|---|
hostname | string |
Promise
<string
[]>