MxRecord Class

An MX record.

Constructor

MxRecord(*args: Any, **kwargs: Any)

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.

Attributes

exchange

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

exchange: str | None

preference

The preference value for this MX record.

preference: int | None