Skip to main content
Module

std/node/dns/promises.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.139.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.