Deno.MXRecord

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

interface MXRecord {
exchange: string;
preference: number;
}

§Properties

§
exchange: string
[src]

The server that mail should be delivered to.

§
preference: number
[src]

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