Skip to content

Commit f806a69

Browse files
committed
Added criteria for valid MX domain record name and target entries
1 parent 81bb93e commit f806a69

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

openapi.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20732,7 +20732,11 @@ components:
2073220732
`NS`: The subdomain, if any, to use with the Domain of the Record. Wildcard NS records (`*`) are not supported.
2073320733

2073420734
`MX`: The mail subdomain. For example, `sub` for the address `[email protected]` under the `example.com`
20735-
Domain. Must be an empty string (`""`) for a Null MX Record.
20735+
Domain.
20736+
* Must have less than 256 total characters.
20737+
* The left-most subdomain component may be an asterix (`*`) to designate a wildcard subdomain.
20738+
* Other subdomain components must only contain letters, digits, and hyphens, start with a letter, end with a letter or digit, and contain less than 64 characters.
20739+
* Must be an empty string (`""`) for a Null MX Record.
2073620740

2073720741
`CNAME`: The hostname. Must be unique. Required.
2073820742

@@ -20759,10 +20763,11 @@ components:
2075920763

2076020764
`NS`: The name server. Must be a valid domain. Required.
2076120765

20762-
`MX`: The mail server. Must be a valid domain unless creating a Null MX Record. To create a
20763-
[Null MX Record](https://datatracker.ietf.org/doc/html/rfc7505), first
20764-
[remove](/docs/api/domains/#domain-record-delete) any additional MX records, create an MX record with empty strings
20765-
(`""`) for the `target` and `name`. If a Domain has a Null MX record, new MX records cannot be created. Required.
20766+
`MX`: The mail server. Must be a valid domain unless creating a Null MX Record. Required.
20767+
* Must have less than 256 total characters.
20768+
* The left-most domain component may be an asterix (`*`) to designate a wildcard domain.
20769+
* Other domain components must only contain letters, digits, and hyphens, start with a letter, end with a letter or digit, and contain less than 64 characters.
20770+
* To create a [Null MX Record](https://datatracker.ietf.org/doc/html/rfc7505), first [remove](/docs/api/domains/#domain-record-delete) any additional MX records, then create an MX record with empty strings (`""`) for the `target` and `name`. If a Domain has a Null MX record, new MX records cannot be created.
2076620771

2076720772
`CNAME`: The alias. Must be a valid domain. Required.
2076820773

0 commit comments

Comments
 (0)