MxRecord Class

An MX record.

Inheritance
MxRecord

Constructor

MxRecord(*, preference: Optional[int] = None, exchange: Optional[str] = None, **kwargs)

Parameters

preference
int
Required

The preference value for this MX record.

exchange
str
Required

The domain name of the mail host for this MX record.