0
I have multiple domains that should point to the same server. I would prefer to use CNAME settings for the root domain.
Now I read that this is not a good idea, because MX records cannot be handled via CNAME, and the provider admin doesn't accept it. However, if I delete all other records for the CNAME domain, will that mean that all requests are properly processed?
If this are the original records for abcdomain:
# NON ROOT RECORDS
*.abc-domain.test AAAA 1c00:1234:17:0:4::16
admin.abc-domain.test CNAME admin.testserver.test
*.abc-domain.test A 12.34.56.78
localhost.abc-domain.test A 127.0.0.1
# ROOT RECORDS
abc-domain.test A 12.34.56.78
abc-domain.test AAAA 1c00:1234:17:0:4::16
abc-domain.test NS ns1.hostingxyz.test
abc-domain.test NS ns2.hostingxyz2.test
abc-domain.test NS ns3.hostingxyz3.test
abc-domain.test MX 100 mx15.testhoster.test
abc-domain.test MX 100 mx14.testhoster.test
abc-domain.test MX 200 fallback1.testserver.test
abc-domain.test MX 300 fallback2.testserver.test
abc-domain.test MX 100 mx1.testhoster.test
If I want to use a CNAME for the root record, that means I have to delete the complete list of root records (A ,AAA, NS, MX) and replace it with a single CNAME:
# NON ROOT RECORDS
*.abc-domain.test AAAA 1c00:1234:17:0:4::16
admin.abc-domain.test CNAME admin.testserver.test
*.abc-domain.test CNAME abc-domain.test
localhost.abc-domain.test A 127.0.0.1
# ROOT CNAME RECORD
abc-domain.test CNAME xyz-domain.test
Is this the way to use CNAME root records?
Are there downsides to this?