Skip to content
mxproxy

// guides

Custom domain email in Gmail, with DNS at Registro.br

Email to hello@yourdomain.com arriving in your Gmail (or another inbox), without paying for email hosting: you create a few records in Registro.br’s DNS zone and mxproxy forwards. It takes about 15 minutes.

· about 15 minutes · the free plan covers one domain

Before you start

  • Access to the panel where the domain’s DNS is edited. Usually it is at Registro.br, but if the domain uses another company’s DNS servers (nameservers), the zone is there and that is where you work.
  • If the domain already receives email somewhere else (a hosting mailbox, Google Workspace, Microsoft 365), changing the MX makes new email come through mxproxy. Old messages stay where they are.
  • An mxproxy account. Create yours for free, no card.

1. Add the domain to mxproxy

  1. Create the account (or sign in) and, under Domains, add your domain, for example yourdomain.com.
  2. Open the domain: the page shows the DNS records to create. Keep that tab open; you will copy the values from it.

The DKIM key and the code of the _mxproxy TXT are unique to each domain: copy them from the dashboard, not from this guide.

2. Open Registro.br’s DNS zone

  1. Sign in at registro.br and open the domain.
  2. In the domain’s DNS section, open the zone settings (the panel, in Portuguese, calls it “Configurar endereçamento” or “Configurar zona DNS”).
  3. If the zone is in basic mode (“modo básico”), switch to advanced mode (“modo avançado”): basic mode only takes the website address and one mail server, no TXT records.
  4. Add each record as a new entry and save the changes at the end.

How to fill in the name (host) at Registro.br

For the root of the domain (where other panels use @), leave the name field blank. For the others, type only the beginning: _mxproxy, _dmarc or the selector with ._domainkey; the panel adds the domain. The MX priority has its own field.

3. Create the MX, SPF, DKIM and verification records

Create these records in the domain’s zone. The first two are the same for everyone; the last two have values of their own, which you copy from the mxproxy dashboard.

DNS records for mxproxy to receive and send for your domain
Type Name (host) Value Priority
MX @ mx.mxproxy.dev 10
TXT @ v=spf1 include:spf.mxproxy.dev ~all —
TXT mx202610._domainkey
the selector the dashboard shows
v=DKIM1; k=rsa; p=…
copy from the mxproxy dashboard
—
TXT _mxproxy mxproxy-verify=…
copy from the mxproxy dashboard
—
  • One SPF only. If the domain already has a TXT starting with v=spf1 (from a host, Google, an online store), do not create another: add include:spf.mxproxy.dev to the existing one, before the ~all or -all. Two SPF records make both fail.
  • Delete the old MX records. Email goes to the answering MX with the lowest priority number: a leftover MX can receive part of the messages.
  • The whole DKIM. The value is long (it starts with v=DKIM1; k=rsa; p=). Copy it with the dashboard’s button and paste it without line breaks or extra spaces.
  • Domain in the name. If the panel adds the domain to the name by itself, type only _mxproxy; if you type _mxproxy.yourdomain.com, the record becomes _mxproxy.yourdomain.com.yourdomain.com.

Optional, but recommended

  • MTA-STS: CNAME mta-sts → mta-sts.mxproxy.dev and the two TXT records (_mta-sts and _smtp._tls) the dashboard shows. It makes the servers that send to you require TLS. We host the policy.
  • DMARC: TXT _dmarc with v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com to start by just watching. The reports arrive by email; the DMARC reader opens the files.

What is different at Registro.br

  • Registro.br DNS or external servers. The Registro.br zone only works if the domain uses Registro.br’s own DNS servers. If it points to a hosting company’s servers (Hostinger, Locaweb, HostGator, KingHost) or to Cloudflare, create the records there: follow that provider’s guide. To move to Registro.br’s DNS, the domain’s admin page has the option “Utilizar DNS do Registro.br”.
  • Domain managed by a service provider. If an agency or hosting company registered at Registro.br manages the domain, the DNS change has to be made by them.
  • Names with an underscore. DKIM, DMARC and the verification use names with _. Registro.br’s technical page does not list _ among the valid name characters, but hosting companies’ guides show _dmarc TXT records created in advanced mode. If the panel refuses the name, use another provider’s DNS (your host’s, or Cloudflare, which is free) and create the records there.
  • Up to 40 records in advanced mode: plenty of room for mxproxy’s.
  • Website redirect. Basic mode’s redirect does not exist in advanced mode. If the domain only redirects to another site, point it with an A or CNAME record before switching modes.
  • Timing. Registro.br publishes zones every few minutes and says a change takes effect within 1 hour.
  • Some categories (such as gov.br, edu.br and jus.br) do not use Registro.br’s DNS zone.

Registro.br’s official help

4. Check

Back in the mxproxy dashboard, click Verify now. Each record shows as ok or pending.

Want to check from the outside? Use the free checker, no sign-up:

Still pending? A DNS change usually takes minutes, but can take a few hours (until the old record’s TTL runs out). Wait and check again.

5. Choose where each address goes

  • Catch-all: all email to any address of the domain goes to the inbox you choose (your Gmail, for example). That is what the free plan offers: one domain, one destination, 10 messages a month.
  • Forwarders: one address per line (hello@ to you, billing@ to your accountant), with up to 10 destinations each, depending on the plan. From Personal up.

Send an email from another address to hello@yourdomain.com: it should arrive within seconds. The dashboard’s log shows each message.

6. Reply as the domain in Gmail

To reply as hello@yourdomain.com, and not as your personal address, Gmail needs an SMTP server: create a credential in the dashboard (paid plans, from Personal up) and add the address under Send mail as, with server smtp.mxproxy.dev, port 587. The step by step, for Gmail and Outlook, is in Reply from your domain.

If it does not work

  • MX pending: check that no old MX is left and that the name is the root (@ or blank, depending on the panel), not mx or www.
  • SPF pending: is there only one v=spf1 TXT, and does it contain include:spf.mxproxy.dev?
  • DKIM pending: the name is exactly the dashboard’s (with ._domainkey) and the value was pasted whole.
  • Nothing changes: where the domain is registered, look at its DNS servers (nameservers). If they are not Registro.br’s, the changes have to be made at the company of those servers.

Still stuck? Write to contato@mxproxy.dev.

Get your domain’s email in Gmail

Create the free account, add the domain and copy the records from the dashboard. The free plan covers one domain with a catch-all; replying as the domain comes with the paid plans.