Introduction
When migrating a domain, it is crucial to check and update DNS configurations, especially MX records that handle email routing. This video explains how to properly configure these records, especially for Google Workspace (formerly G Suite) users.
Key steps
1) Checking previous configurations :
After migration, one should connect to the old server and note the existing DNS configurations, especially the MX records.
2) Adding an MX record
In the DNS management of the new server, add a new MX record.
- Name : Leave blank or enter your domain.
- Value :
ASPMX.L.GOOGLE.COM.
(check the exact value with Google, as it may change). - Priority : 1 (indicates that this is the main server for receiving emails).
- TTL : 3600 (time in seconds before changes are replicated).
3) Configuring SPF Records
Sender Policy Framework (SPF) allows you to specify which servers are allowed to send emails on your behalf.
- Add a TXT record with Google SPF value:
v=spf1 include:_spf.google.com include:spf.infomaniak.ch ~all
- You can also include other servers if necessary, for example that of Infomaniak.
- Attention : If you are using an external email sending service, make sure to include it in your SPF.
4) Other security configurations
- DKIM (DomainKeys Identified Mail) : Adds a digital signature to your emails to authenticate the sender and prevent identity theft.
- DMARC (Domain-based Message Authentication, Reporting & Conformance) : Allows you to define policies to handle emails that fail SPF and DKIM checks.
- BIMI (Brand Indicators for Message Identification) : Displays your brand logo in recipients’ inboxes, building trust.
Key points to remember
- DNS configurations may vary depending on the host. Check your host's documentation for specific instructions.
- MX records are essential for receiving emails.
- SPF is crucial to protect your domain from spoofing and improve your email deliverability.
- DKIM and DMARC add additional layers of security.
- BIMI improves your brand recognition.
Don't forget : DNS configuration may take some time to propagate. Please be patient and check back regularly to see if the changes are effective.