Search code examples
dnssmtpsendmailmx-record

need to route two domain mail servers using MX record


I have two domains in GoDaddy(default one mail account only - not hosted any where)

  1. example1.com
  2. example2.com

My requirement is to set MX record in example1.com, to send mail to these two domains. Depending on domain name I need to send to my SMTP in example1.com.

Please give me exact flow what I need to follow, I am new to this MX records stuff.

Thank you


Solution

  • "requirement ... example1.com to send mail to these two domains"

    add two MX records with identical priority to example1 zone

    "depending on domain name I need to send to my SMTP in example1.com"

    add one MX record, which specifies example1 mail server, to those other domains.