How to set up DNS records with Google Domains

If you own a domain — for example, mydomain.com — ProtonMail allows you to create a custom email address that uses your domain name instead of the regular @protonmail.com, @protonmail.ch, or @pm.me. 

To set up a custom domain email address with Google Domains and use it to exchange emails, you need to change your domain DNS records.

If you are interested in other domain registers, you can read our guides for Amazon Web ServicesNameCheapCloudflareOVHGandi, Bluehost, and GoDaddy.

If you own a domain from a different registrar, set your custom email address with the help of our guides for DNS records setup and anti-spoofing measures (SPF, DKIM, and DMARC).

Add your custom domain in ProtonMail

1. Log into your Proton Account at account.protonmail.com and go to Settings -> Organization -> Custom Domains.

2. Select Add Domain. This will take you to step 1 of the setup wizard.

3. Type in your domain name and Next.

4. Enter your Proton password and Submit.

Verify that you own the domain

1. Log in to your Google Domains account, select your Domain, and go to the DNS section.

2. Scroll down to the Custom resource records and create the following record:

Name: @ (If the @ value isn’t accepted, enter your domain instead)
Type: TXT
TTL: Select a low value to update your DNS record faster.
Data: Go back to the ProtonMail custom domain setup window. Copy the text in the VALUE / DATA / POINTS TO column and paste it in the Data field.

4. Save the record and go back to the ProtonMail setup window and Verify your domain.

Please note that you may have to wait up to 24 before you can move on to the next step.

Create MX records in Google Domains

1. Similar to the steps above, access the DNS section, scroll down to Custom resource records and create the following record:

Name: @ (If the @ value isn’t accepted, enter your domain instead)
Type: MX
TTL: Select a low value to update your DNS record faster.
Data: 10 mail.protonmail.ch

3. Create a second MX record using these values:

Name: @ (If the @ value isn’t accepted, enter your domain instead)
Type: MX
TTL: Select a low value to update your DNS record faster.
Data: 20 mailsec.protonmail.ch

Create SPF, DKIM, and DMARC records

For security reasons, we recommend adding SPF and DKIM records. Setting up DMARC is an optional, advanced feature.

Read more about SPF, DKIM, and DMARC

SPF and DMARC records are set up similarly to TXT records.

1. Access the DNS section and scroll down to Custom resource records.

2. To create the SPF record, locate the verification TXT and select Edit.

Once selected, click on the + icon and enter and save this SPF value:

v=spf1 include:_spf.protonmail.ch mx ~all

3. To create the DKIM record, enter the following values:

Name: protonmail._domainkey
Type: CNAME Record
TTL: Select a low value to update your DNS record faster.
Data:  Go back to the ProtonMail custom domain setup window. Copy the text in the VALUE / DATA / POINTS TO column and paste it in the Data field.

To add a second and third DKIM record, repeat these steps with the appropriate record names “protonmail2._domainkey” and “protonmail3._domainkey”.

4. To create the DMARC record, repeat the steps and enter these values

Name: _dmarc
Type: TXT
TTL: Select a low value to update your DNS record faster.
Data: v=DMARC1; p=none; rua=mailto:address@yourdomain.com

Choose your email address

Add your new address in the ProtonMail window by choosing your username, the display name, and your email signature.

You should now be able to use your new custom domain email address.

Post Comment

7 comments

  1. Blake Kuehn

    My domain was registered through Squarespace and in the settings panel where I would create a new MX record, I’m only given the option of choosing G Suite or Zohomail. Does Protonmail need to be an available option or can I delete the current MX records and re-enter under G Suite using the Protonmail info?

  2. ProtonMail Support

    If there’s no option to set a custom MX record, please contact Squarespace support for assistance.

  3. Sylvain

    Hey guys,

    Point 4, it tells me the record is already in use and I am not able to validate the MX,

    Any tips

  4. ProtonMail Support

    Hi, please contact our support team: https://protonmail.com/support-form.

  5. Damon

    I got this a lot with Google and while I hope your issue has been fixed, this could help others.

    A lot of times, Google already has MX records set up for your domain to be used for its own email forwarding capabilities. You need to remove those first before trying to enter custom MX records. They don’t display them under the “Custom Resource Records” section, but rather under the “Synthetic Records” section. You’ll see a line for “Email forward” which you need to expand. There you will see the custom MX records Google has set up. Delete those and then try to add your own MX records and that should work.

  6. Arthur G Broadhurst

    My custom domain (redacted) was set up and working but I had problems with getting mail in August so I moved it to zoho. I came back today and nothing seems to work the way it is supposed to. It told me I had to verify that I owned the domain, which I obviously do, but I tried to enter the required txt and google told me it was already there. But “verify” keeps telling me to try again. WHAT IS WRONG? The first time was easy but now nothing seems to work. The DKIM record is already set by the DNS points to Zoho and I can’t get past verify, which has to be an error.

  7. ProtonMail Support

    To add multiple TXT records in Google Domains, click on the + icon next to the existing TXT record and a new field will open where you can enter the new record.

Leave a Reply to Sylvain Click here to cancel reply.