Module

std/node/dns/promises.ts

Deno standard library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.146.0/node/dns/promises.ts";

Functions

Sets the IP address and port of servers to be used when performing DNS resolution. The servers argument is an array of RFC 5952 formatted addresses. If the port is the IANA default DNS port (53) it can be omitted.