Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.MXRecord

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.MXRecord
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { MXRecord } = Deno;

If Deno.resolveDns is called with "MX" record type specified, it will return an array of objects with this interface.

Properties

preference: number

A priority value, which is a relative value compared to the other preferences of MX records for the domain.

exchange: string

The server that mail should be delivered to.