Use Google Workspace
Receive Gmail for your domain in one click.
- Sign up for Google Workspace and add your domain there. Google asks you to verify it: add the verification code as a TXT record in our DNS manager.
- On the domain's DNS page, click Add DNS setup, choose Google Workspace and click Insert DNS setup. This sets Google's MX record and the SPF record.
- Finish the setup in Google's admin console. Add the DKIM record it shows as a TXT record for better delivery.
The setup replaces the domain's current MX and SPF records, so mail starts going to Google straight away.