Share via


MxRecord Class

An MX record.

Constructor

MxRecord(*, preference: int | None = None, exchange: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
preference
int

The preference value for this MX record.

Default value: None
exchange
str

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

Default value: None

Variables

Name Description
preference
int

The preference value for this MX record.

exchange
str

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