Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function resolve
import { resolve } from "https://deno.land/std@0.142.0/node/internal/dns/promises.ts";

Parameters

hostname: string

Returns

Promise<void>

Parameters

hostname: string
rrtype: "A"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "AAAA"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "ANY"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "CNAME"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "MX"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "NAPTR"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "NS"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "PTR"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "SOA"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "SRV"

Returns

Promise<void>

Parameters

hostname: string
rrtype: "TXT"

Returns

Promise<void>

Parameters

hostname: string
rrtype: string

Returns

Promise<void>

Parameters

hostname: string
optional
rrtype: string

Returns

Promise<void>