function promises.resolve4
Usage in Deno
import { promises } from "node:dns"; const { resolve4 } = promises;
resolve4(hostname: string,options: ResolveWithTtlOptions,): Promise<RecordWithTtl[]>
options: ResolveWithTtlOptions
Promise<RecordWithTtl[]>
resolve4(hostname: string,options: ResolveOptions,): Promise<string[] | RecordWithTtl[]>
options: ResolveOptions
Promise<string[] | RecordWithTtl[]>