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
gefragt vor 2 Jahren2118 Aufrufe
1 Antwort
5
Akzeptierte Antwort

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
EXPERTE
Toni_S
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Chris_G
überprüft vor 2 Jahren
  • Thank you!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen