Domain / Point your domain at Cloudflare
Point your domain at Cloudflare
What it’s for
Section titled “What it’s for”If your domain’s DNS is on Cloudflare, that’s where you create Banxmail’s six records. This is the most complete guide, because the process was carried out and checked end to end on a real Cloudflare zone on 2026-10-30. What changes in Cloudflare’s panel over time may differ; the screenshots will be redone.
Before you start
Section titled “Before you start”- The domain uses Cloudflare’s nameservers (the zone appears in your account).
- You added the domain in the Banxmail panel and you’re on step 2 How to set up (First steps). The panel recognizes that the DNS is on Cloudflare.
- The values to use are always the panel’s:
| # | Type | Name | Value |
|---|---|---|---|
| 1 | MX | @ |
mail.banxmail.com, priority 10 |
| 2 | TXT | @ |
v=spf1 include:_spf.banxmail.com ~all |
| 3 to 5 | CNAME | bx1._domainkey, bx2._domainkey, bx3._domainkey |
the three values the panel shows (<account>.bxN.dkim.banxmail.com) |
| 6 | CNAME | _dmarc |
the value the panel shows (<account>.dmarc.banxmail.com) |
Path A: import a file (fastest)
Section titled “Path A: import a file (fastest)”- In the Banxmail panel, choose Import a file and download the zone file (BIND format).
- In Cloudflare, open the domain and go to DNS › Registros (Records).
- Click Importar (Import) and choose the file.
- Leave unchecked the option to turn on the proxy for imported records (“Registros de DNS importados do proxy”, imported DNS records from the proxy), and click Carregar (Upload). It comes unchecked by default.
- Cloudflare shows what will be added. Confirm.
The file brings only what is missing. If there is already an MX from somewhere else, an SPF or a _dmarc in TXT, adjust those by hand (see the problems below), so you don’t end up with two.
Path B: create them one by one
Section titled “Path B: create them one by one”- In Cloudflare, go to DNS › Registros (Records) and click Adicionar registro (Add record).
- In Tipo (Type), choose the type (MX, TXT or CNAME). In Nome (Name), type the name without the domain:
@for the root,bx1._domainkey,_dmarc. Cloudflare adds the domain by itself. In Conteúdo (Content), paste the value (use Copy in the Banxmail panel). In TTL, leave Automático (Auto). - For the MX, also fill in the Prioridade (Priority) (10).
- On the CNAMEs, turn the proxy off: click the orange cloud so it turns gray (“DNS only”).
- Click Salvar (Save). Repeat for each record.
How to check
Section titled “How to check”- In the list of records, the six email CNAMEs show the gray cloud and “DNS only”.
- In the Banxmail panel, step 3 Check changes to “6 of 6 records correct”. On Cloudflare, the change takes effect in seconds or a few minutes; the panel checks every 15 seconds. Use Check now.
Common problems
Section titled “Common problems”- The panel says “this name answers with an address instead of a CNAME”. That’s the proxy on. Click Editar (Edit) on the record and change it to Somente DNS (DNS only).
- “This name already has an A or AAAA record”. A CNAME can’t coexist with another record at the same name. Delete the A/AAAA at that name and create the CNAME.
- There is already an MX from somewhere else. Edit or delete it. New messages start arriving at Banxmail from the moment of the change: only do it with the mailboxes ready (migration).
- There is already an SPF. Edit the existing TXT record and add
include:_spf.banxmail.com; don’t create another. - There is already a
_dmarcin TXT. A CNAME can’t coexist with it. Delete the TXT and create the CNAME, or keep yours and talk to us about the reports. - I changed the name and now it’s
_dmarc.yourcompany.com.yourcompany.com. On Cloudflare, type only_dmarc.