How many MX type Records can you have?

1

My current DNS provider shows 5 MX type Records. I am in the process of trying to make Route 53 my DNS. When I create Records in the Hosted Zone, I get an error. How many MX type Records can I have?

A record with the specified name already exists. (InvalidChangeBatch 400: Tried to create resource record set [name='minnovation.io.', type='MX'] but it already exists)

profile picture
newbie
demandé il y a 2 ans2091 vues
1 réponse
5
Réponse acceptée

There can be only one MX record per name. But each record can have multiple values. So if you have multiple email servers able to receive traffic for your domain name, then just add those as multiple lines in the record. If you are using web console your record name should be the domain (example.com) so leave subdomain empty. Select MX record type. For value write for example:

10 mailserver1.example.com
20 mailserver2.example.com
50 backupserver.example.net

If you are doing this via infrastructure as code, CLI or API then just make sure you have the value on separate lines. Quote from web console:

Enter multiple values on separate lines. Format: [priority] [mail server host name]

profile pictureAWS
EXPERT
Toni_S
répondu il y a 2 ans
profile pictureAWS
EXPERT
Chris_G
vérifié il y a 2 ans
  • Thank you!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions