Setting DNS records in Google Domains

You can create new email addresses in ProtonMail using domains that you own. For example, if you own mydomain.com, you can create a custom domain email address in ProtonMail like me@mydomain.com.

This article describes the steps to set up a custom domain for domains registered through Google Domains. We also provide step-by-step guides for other major registrars: Namecheap, Amazon Web Services and GoDaddy.

You can also read our Support article about DNS records generally, as well as this guide to anti-spoofing measures (SPF, DKIM, and DMARC). These articles can help you if you bought a domain from a registrar not listed above.

Once your custom domain is set up, you can use it to add custom domain email addresses.

1. Add your custom domain

1) Log into your ProtonMail account at mail.protonmail.com and go to Settings -> Domains.

2) Click on “Add Custom Domain”. This will take you to step 1 of the setup wizard.

3) Type in your domain name and click “Next”.

4) Enter your ProtonMail password (and 2FA code, if enabled) and click “Submit”.

2. Verify that you own the domain

1) Go to https://domains.google.com/registrar and log into your account.

2) Go to the Domains page. In the Domain section, choose “Configure DNS” for your domain.

3) Under “Custom resource records”, enter the following information:

Name: @ (If the “@” value is not accepted, enter your domain instead.)
Type: TXT
TTL: 1H
Data: (Copy and paste the unique text string under “VALUE / DATA / POINTS TO” in the ProtonMail setup wizard)

4) Then click on “Add”. (Depending on your registrar, you may have to wait up to 24 to verify before you can move on to the next steps.)

3. Choose your email address

1) Click on “Add Address” and create your new email address in the modal. You can choose the text that appears before @yourdomain.com, as well as the display name and email signature.

2) Click on “Save”.

4. Set MX records in Google Domains

1) Go to the Domains page. In the Domain section, choose “Configure DNS” for your domain.

2) Under “Custom resource records”, enter the following information:

Name: @ (If the “@” value is not accepted, enter your domain instead.)
Type: MX
TTL: 1H
Data: mail.protonmail.ch
Priority: 10

3) Click on “Add”.

5. Set SPF, DKIM, and DMARC

We recommend also adding SPF and DKIM records. Setting DMARC is an optional, advanced feature. You can learn more about what each of these additional security settings do here.

SPF, DKIM, and DMARC are set the same way as TXT records.

1) Go to the Domains page. In the Domain section, choose “Configure DNS” for your domain.

2) Under “Custom resource records”, click the + button to create a new TXT record.

3) Enter the SPF value shown in the ProtonMail wizard.

4) Click on “Save”.

3) Repeat these steps for DKIM and, if desired, for DMARC.

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 Comment?