Module

std/node/dns/promises.ts>lookup

Deno standard library
Go to Latest
function lookup
import { lookup } from "https://dotland.deno.dev/std@0.146.0/node/dns/promises.ts";

Parameters

hostname: string
family: number

Returns

Promise<void | LookupAddress | LookupAddress[]>

Parameters

hostname: string
options: LookupOneOptions

Returns

Promise<void | LookupAddress | LookupAddress[]>

Parameters

hostname: string
options: LookupAllOptions

Returns

Promise<void | LookupAddress | LookupAddress[]>

Parameters

hostname: string
options: LookupOptions

Returns

Promise<void | LookupAddress | LookupAddress[]>

Parameters

hostname: string
options: unknown

Returns

Promise<void | LookupAddress | LookupAddress[]>
import lookup
import { lookup } from "https://dotland.deno.dev/std@0.146.0/node/dns/promises.ts";