Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Additional MX record for subdomain

Please, help me with one problem - how to add a MX records for a subdomain (we use Route 53 as dns)?

Example: We have MX records for our domain.com with Gsuite servers as values - all works fine. Now we want add a MX records for subdomain news.domain.com to make it as alias to the main domain in Gsuite.

Question: How i should create MX records for subdomain? I should put same MX server values as main domain?

Thanks for Your support in advance!

like image 716
Zoe Keeper Avatar asked Aug 03 '26 02:08

Zoe Keeper


1 Answers

How i should create MX records for subdomain? I should put same MX server values as main domain?

Yes. The host value in an MX record points to another record (usually an A record).

Here's the example from Wikipedia:

Domain          TTL   Class    Type  Priority      Host
example.com.        1936    IN  MX  10         onemail.example.com
example.com.        1936    IN  MX  10         twomail.example.com

In your case, it would look something like this:

domain.com.             1936    IN  MX  10         gsuite-mail-server-here
news.domain.com.        1936    IN  MX  10         gsuite-mail-server-here
like image 131
kimbo Avatar answered Aug 05 '26 19:08

kimbo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!