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
preguntada hace 2 años2118 visualizaciones
1 Respuesta
5
Respuesta aceptada

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
EXPERTO
Toni_S
respondido hace 2 años
profile pictureAWS
EXPERTO
Chris_G
revisado hace 2 años
  • Thank you!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas