How to set up DNS records with Bluehost

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 our regular @protonmail.com, @protonmail.ch, or @pm.me domains.

To set up a custom email address with a domain hosted by Bluehost so that you can use it to send and receive emails with ProtonMail, you need to change your domain’s DNS records.

If you use a different domain registrar, we have set up guides for Amazon Web Services, GoDaddy, Namecheap, OVH, Cloudflare, Gandi, and Google Domains. If you own a domain from a registrar not listed here, please see our DNS Records for custom domains and Anti-spoofing for Custom Domains (SPF, DKIM & DMARC) guides.

Add your custom domain to ProtonMail

1. Log in to your ProtonMail account and go to SettingsOverviewManage account (in sidebar to right of page) → OrganizationCustom domainsAdd domain.

2. Enter your domain name and click Next.

4. Enter your ProtonMail password (and two-factor authorization code, if enabled) and click Submit. You are now on the first page of our domain setup wizard. 

Verify that you own the domain

1. Log in to your Bluehost account and select the domain you would like to use.

Select your domain

2. Go to ManageDNS and select Type: TXT.  Enter the following values:

  • Name/Host Record: @ (If the @ value is not accepted, enter your domain instead)
  • TXT Value: Go back to the Verify tab in ProtonMail custom domain setup window. Copy the text from the VALUE / DATA / POINTS TO column to the TXT Value field in your Bluehost console.
  • TTL: Select the lowest possible value to update your DNS record faster.

Click Save when you are done.

Add TXT record

3. Go back to the ProtonMail domain setup console and click Next to verify your domain. Although usually fairly instant, this process can take up to 24 hours. You can only move onto the next step once we have verified your domain.

Create MX records in Bluehost

1. Open your Bluehost domain console, go to Type: MX, and enter the following values:

  • Priority: 10
  • Host Record: @ (If the @ value is not accepted, enter your domain instead)
  • Points to: mail.protonmail.ch
  • TTL: Select the lowest possible value to update your DNS records faster.

Click Save when you are done.

2. Create a second MX record using these values:

  • Type: MX
  • Priority: 20
  • Host Record: @ (If the @ value is not accepted, enter your domain instead)
  • Points to: mailsec.protonmail.ch
  • TTL: Select the lowest possible value to update your DNS records faster.

Click Save when you are done.

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

Before you start, open your ProtonMail domain console (AccountSettingsOverviewManage account (in sidebar to right of page) → OrganizationCustom Domains → [your domain] → ActionReview). Leave this page open.

SPF and DMARC records are set up in a similar way to TXT records, using the DNS option for your domain in the Bluehost console. 

1. To create the SPF record, go to TXT typeAdd record and enter and Save the following values:

  • Host Record: @ (If the @ value isn’t accepted, enter your domain instead)
  • TXT Value: v=spf1 include:_spf.protonmail.ch mx ~all
  • TTL: Select the lowest possible value to update your DNS record faster.
Add SPF record

2. To create the DKIM record, go to Type: CNAME and enter the following values:

  • Host Record: protonmail._domainkey
  • Points to: Copy and paste in the text string from the VALUE / DATA / POINTS TO column of the DKIM tab of your ProtonMail domain console.
  • TTL: Select the lowest possible value to update your DNS record faster.

Note: The registrar might not accept the record if there is a dot (.) at the end of the Points to entry. If you receive a warning/error message, simply remove the dot from the end of the record.

You should also add a second and third DKIM record.  Repeat the above steps with the appropriate record names “protonmail2._domainkey” and “protonmail3._domainkey”.

Create DKIM record

3. To create the DMARC record, go to Type: TXT and enter the following values:

  • Host Record: _dmarc
  • TTL: Select the lowest possible value to update your DNS record faster.
  • TXT Value: Copy and paste in the text string in the VALUE / DATA / POINTS TO column of  the DMARC tab of your ProtonMail domain console.

Choose your email address

Add your new custom 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.

About The Author