Skip to content

Commit 1cf26e0

Browse files
authored
Merge pull request #876 from bbiggerr/mx-domain-record-update
Updated criteria for MX domain records
2 parents 81bb93e + c8331fb commit 1cf26e0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

openapi.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20732,7 +20732,10 @@ 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+
* The left-most subdomain component may be an asterix (`*`) to designate a wildcard subdomain.
20737+
* 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.
20738+
* Must be an empty string (`""`) for a Null MX Record.
2073620739

2073720740
`CNAME`: The hostname. Must be unique. Required.
2073820741

@@ -20759,10 +20762,11 @@ components:
2075920762

2076020763
`NS`: The name server. Must be a valid domain. Required.
2076120764

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.
20765+
`MX`: The mail server. Must be a valid domain unless creating a Null MX Record. Required.
20766+
* Must have less than 254 total characters.
20767+
* The left-most domain component may be an asterix (`*`) to designate a wildcard domain.
20768+
* 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.
20769+
* 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.
2076620770

2076720771
`CNAME`: The alias. Must be a valid domain. Required.
2076820772

0 commit comments

Comments
 (0)