frontend/.pnpm-store/v3/files/0d/4453afc47d522830e2f33f2a05a0f39e6d62bf5be59f666487f5229c7c05a798bed3c22d2d425f2f865d4636d2b009e61b1d9688ced360e1a215c6f1f14d1b

16 lines
397 B
Plaintext

/**
* Resolves the given DNS hostname into an IP address, and returns it in the dot
* separated format as a string.
*
* Example:
*
* ``` js
* dnsResolve("home.netscape.com")
* // returns the string "198.95.249.79".
* ```
*
* @param {String} host hostname to resolve
* @return {String} resolved IP address
*/
export default function dnsResolve(host: string): Promise<string | null>;