Registro.br (DNS)
How to set up SPF, DKIM and DMARC in Registro.br DNS
Turn on Registro.br advanced DNS mode and add SPF, DKIM and DMARC for your .br domain, including what to do with values already published.
Check your current setup:
Before you start
This guide is for .br domains that use Registro.br's own DNS servers. The examples use example.com, so replace it with your .br domain. To see which servers answer for your domain, run:
nslookup -type=NS example.com 1.1.1.1
Domains on Registro.br DNS return a.auto.dns.br and b.auto.dns.br. If you see other nameservers, create the records at that company instead. See the Cloudflare guide or the Locaweb guide if one of them hosts your DNS.
Registro.br does not offer its DNS servers for gov.br, leg.br, jus.br, mp.br, edu.br, def.br, b.br, emp.br, tc.br and bet.br.
Registro.br has two DNS modes. Basic mode (modo básico) only takes a website address and one mail server. Email authentication needs advanced mode (modo avançado), which accepts up to 40 DNS records of types A, AAAA, CNAME, MX, TXT and TLSA.
Step 1: Enable advanced mode
- Log in at registro.br and open your domain.
- In the DNS section, click Configurar endereçamento.
- Click Modo avançado, then Confirmar in the warning.
- Wait for the change. Registro.br says a switch between modes can take up to 3 hours. Locaweb tells its customers to allow 2 to 5 hours before adding TXT entries.
- Open Configurar zona DNS and check that the Nova entrada (new entry) button appears.
Registro.br offers the domain redirect in basic mode only. If your domain forwards to another address, set that forward up at a web host before you switch.
Step 2: Check what is already published
Look through the entry list first. If a TXT entry already starts with v=spf1, or an entry is named _dmarc, edit that entry. Then query public DNS:
nslookup -type=TXT example.com 1.1.1.1
nslookup -type=TXT _dmarc.example.com 1.1.1.1
Registro.br's pages do not describe default email records. On 2026-11-09 we queried 56 generically named .br domains on its servers, and 55 published v=spf1 -all and v=DMARC1; p=reject;. Those values say the domain sends no mail: -all authorizes no server, and p=reject asks receivers to refuse anything that fails DMARC.
Authenticate your intended senders first and preserve an intentional DMARC policy. For a confirmed new/unused default that blocks legitimate mail, the owner may choose temporary monitoring with reduced protection. If a published default cannot be edited or duplicates appear, contact Registro.br support; do not create competing policies.
Step 3: Publish SPF
SPF (Sender Policy Framework) lists the servers allowed to send mail for your domain. Click Nova entrada, choose type TXT, leave the name empty so the entry applies to the domain itself, and paste the value from your email provider. For Google Workspace it is:
v=spf1 include:_spf.google.com ~all
Click Adicionar (add). Keep a single SPF record and add any new include: to it. RFC 7208 section 4.5 says more than one SPF record produces a permanent error.
Step 4: Publish DKIM
DKIM (DomainKeys Identified Mail) signs with a private key; receivers verify using the public key in DNS. Your email provider gives you the exact entries. Two common forms:
- TXT: Google Workspace uses the name
google._domainkeyby default, with a value that starts withv=DKIM1;. - CNAME: Microsoft 365 uses
selector1._domainkeyandselector2._domainkey, and each points to a target shown in its admin portal.
Type only the part before your domain. Locaweb's instructions say the panel adds the domain automatically. A CNAME cannot have an empty name, which Registro.br explains by citing RFC 2181 section 10.1.
Step 5: Publish DMARC
Check _dmarc first. Edit the existing TXT while preserving policy, alignment and report addresses. Only if absent, create one TXT named _dmarc:
Use this starter value only if no DMARC policy exists at this name. Otherwise edit the existing record, preserving its p=, alignment settings and report addresses; add your monitored rua destination there. Never create a second policy record.
v=DMARC1; p=none; rua=mailto:dmarc@example.com
Replace the address with your DMARC Pulse reporting address. p=none requests reports without asking receivers to act on failures. RFC 9989 section 5.1.4 says domain owners usually start there. Click Adicionar, then Salvar alterações (save changes) to publish everything.
Step 6: Confirm the result
Registro.br says changes can take up to 1 hour to become visible across the internet. After that, run the SPF checker, the DKIM checker and the DMARC checker on your domain.
Preserve any existing policy and report destinations. For a first deployment, monitor at p=none. After every legitimate sender passes with alignment, assess p=quarantine. Consider p=reject separately, including mailing-list and forwarding risks; it is optional. Receivers decide how to handle individual messages.
Common problems
- The editor refuses
_dmarcor a_domainkeyname. Registro.br's technical page lists letters, digits, the hyphen and some accented letters as valid name characters. The underscore is not on that list, although Locaweb's Registro.br instructions do use_dmarc. If the editor rejects the name, contact Registro.br support or host your DNS at a provider that accepts it. - The Nova entrada button does not appear. Advanced mode is not active yet. Allow up to 3 hours and reload the page.
- The name is doubled. A full name such as
_dmarc.example.comcan publish as_dmarc.example.com.example.com. Type only_dmarc. - Two DMARC records. A default
_dmarcplus yours is a failure. RFC 9989 section 4.10 says that when a name returns several DMARC records, all of them are discarded. - Your entries do not show up in queries. Check that you clicked Salvar alterações, and that the domain still uses
a.auto.dns.brandb.auto.dns.br. - You cannot edit the zone. If a service provider (provedor de serviços) is linked to the domain, Registro.br says changes go through that provider. Registro.br also lets you move the domain back to its own administration.
- The DKIM key will not save. Registro.br does not publish a maximum TXT length in the pages we read. Locaweb says to wrap the content in quotation marks if an entry fails. Google offers a 1024-bit key when a DNS host does not support 2048-bit keys.
- The website redirect stops. Advanced mode has no redirect. Going back to basic mode brings it back in 2 hours or more, and Registro.br says full visibility can take up to 27 hours.
- You reach the 40-record limit, or need names the editor refuses. Move the zone to another DNS provider and copy every entry first. Registro.br requires at least 2 servers with authority over the domain. It says publishing them takes at least 2 hours and the full transition can take up to 3 hours.