Setting DNS records in Namecheap

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

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

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 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 and log into your Namecheap account.

2) Go to your Domain List and click on “Manage” next to the chosen domain.

3) Click on the Advanced DNS tab and scroll to the “Host Records” section.

4) Then click on “Add New Record” and create the following record:

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

5) Click on the checkmark on the right to save the record.

6) In the ProtonMail setup wizard, click on “Verify”. (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, as well as the display name and email signature.

2) Click on “Save”.

4. Set MX records in Namecheap

1) In the same Advanced DNS tab in Namecheap, go to “Mail Settings” and choose “Custom MX” from the drop-down list.

2) Enter the values for the first MX record as described below:

Host: @ (If the “@” value is not accepted, enter your domain instead.)
Priority: 10

3) Click “Save All Changes” after you have entered the MX record values. Please allow 30 minutes for the records to be updated.

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) In the Advanced DNS tab, scroll to the “Host Records” section.

2) Then click on “Add New Record” and create the SPF record according to the values shown in the ProtonMail wizard.

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


  1. Bob

    Above says – Host: @ (If the “@” value is not accepted, enter your domain instead.)

    I had this problem NameCheap Support told me to switch browser …that fixed to problem of failure when I was unable to use @ on any records that required

Leave A Comment?