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