Setup guide
Set up business email on Cloudflare
This guide connects a domain whose DNS is at Cloudflare to Farthin, so you can use an address like [email protected]. Farthin costs £1 ($1) a year per address, and you only pay once your domain is connected.
Before you start
- Choose your address on Farthin and keep its setup page open in another tab. It shows the exact values for your domain and checks each record as you add it. If it says Add these records in Cloudflare, this guide is for you.
- Sign in to the Cloudflare account that has your domain.
- If you use Cloudflare Email Routing, its MX, SPF and DKIM records are locked. Cloudflare says they can’t be edited or deleted from the DNS records page until you unlock them. Go to Compute, then Email Service, then Email Routing, then Settings, and choose Unlock. Older dashboards show this under Email, then Email Routing. Leave Email Routing on for now, so forwarded email keeps arriving.
Add the records
Farthin’s setup page lists the records your domain needs:
| Type | Host | Value | Priority |
|---|---|---|---|
| TXT | farthin._domainkey | Copy it from your setup page. It’s different for every domain. | |
| TXT | @ | v=spf1 include:_spf.farthin.com ~allAlready have an SPF record? Add our part to it instead of a second record. | |
| TXT | _dmarc | v=DMARC1; p=none;Already have one? Keep it. | |
| MX | @ | mx.farthin.comAdd this last, when you’re ready to switch. | 10 |
Your setup page shows the exact values for your domain, checks each one and tells you when it’s worked.
If you’d rather not copy anything, Farthin can add them for you with a Cloudflare token. On the setup page, choose Or let us add them for you (advanced).
Let us add them for you
On your setup page, choose to connect Cloudflare. We open Cloudflare’s page for making a token that can only edit DNS; you paste it back, and we add the records. We use the token once and never keep it.
To add them yourself:
- In the Cloudflare dashboard, select your domain.
- Go to DNS, then Records.
- Choose Add record and set the type to TXT.
- For the name, type
farthin._domainkey. Paste the signing key from Farthin’s page as the value. Use the copy button, as it’s long. - Choose Save.
- Add the DMARC record the same way: name
_dmarc, valuev=DMARC1; p=none;. If you already have a DMARC record, keep it and skip this one. Farthin accepts the policy you have. - For SPF, look for a TXT record on your domain itself whose value starts with
v=spf1.- If there is one, edit it and replace the value with the one Farthin shows. Farthin’s version keeps everything already in it and adds
include:_spf.farthin.com. - If there isn’t, add a TXT record with name
@and valuev=spf1 include:_spf.farthin.com ~all. Cloudflare uses@for the domain itself.
- If there is one, edit it and replace the value with the one Farthin shows. Farthin’s version keeps everything already in it and adds
If Farthin’s page shows a list called Delete these old records, remove those too.
Switch your email over
The MX record decides where new email arrives. If your domain already gets email somewhere else, Farthin holds this record back until your mailbox is ready. Create your mailbox first, then:
- In DNS, then Records, choose Add record and set the type to MX.
- Set Name to
@, Mail server tomx.farthin.comand Priority to10. Leave TTL on Auto. - Choose Save.
- Delete the other MX records that Farthin’s page lists.
If you used the token, you can do this from your Farthin account instead. Tick Move my email here, and Farthin adds its MX record before removing the old ones.
If you use Email Routing, go back to its Settings once Farthin’s MX record is in, and choose Disable Email Routing. Cloudflare says this removes every MX, SPF and DKIM record that Email Routing added. Afterwards, check that Farthin’s SPF row still has its tick, and add the SPF record again if it doesn’t.
Keep your old email account for a few days to catch anything sent late.
Check it worked
Go back to Farthin’s setup page. Each record gets a green tick once Farthin can see it. Farthin says changes usually show within a few minutes but can take up to a day. When every record is ticked, Farthin tells you your domain is connected.
Troubleshooting
You can’t edit or delete a record. It probably belongs to Email Routing. Unlock it in Email Routing’s Settings first.
Farthin says “Cloudflare didn’t accept that token”. Check you copied all of it, or make a new one. If it says the token can’t change DNS records, make a new one from the token page Farthin opens, which asks for the right permission.
Farthin can’t find your domain in that Cloudflare account. Make the token while signed in to the account that has your domain.
Two SPF records. A domain can only have one. If there are two, neither works. Keep only the one Farthin shows, which already includes your other services.
The name repeats your domain. If a record’s name shows as farthin._domainkey.example.com.example.com, the domain was typed into the name. Edit it so the name is just farthin._domainkey.
Questions
Is it safe to give Farthin a token?
Farthin uses it once to add the records and never keeps it. Afterwards you can delete it in Cloudflare under My Profile, then API Tokens.
Will I lose email while I switch?
No. Email keeps arriving where it does now until you change the MX record. Keep the old account for a few days after.
When do I pay?
Only once your domain is connected. Then you choose a password and open your inbox.
