Deno.MXRecord - Deno documentation
interface Deno.MXRecord

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.