A TXT record is a flexible type of DNS entry that stores plain text information about your domain. Originally intended for human-readable notes, TXT records are now used mostly by machines to verify ownership and to authenticate email. If you have ever been asked to “add a TXT record to prove you own the domain”, this is what that means.
What TXT records are used for today #
Although a TXT record can technically hold any text, in practice you will see them used for a handful of important jobs. Understanding these helps you know why a service is asking you to add one.
- Domain verification: services like Google, Microsoft, and many SaaS tools ask you to add a unique TXT value to confirm the domain is yours.
- SPF: the record that lists which servers may send email for your domain is a TXT record.
- DKIM: the public key that validates your email signatures is published as a TXT record.
- DMARC: your email authentication policy is a TXT record on the _dmarc host.
How to add a TXT record #
- Faça login no seu gerenciador de DNS ou no seu painel de controle.
- Abra o DNS ou Zone Editor section.
- Create a new TXT record.
- Enter the host or name the service specifies (often “@” for the root domain, or a specific name for DKIM).
- Paste the exact text value provided, including any quotes if required.
- Salve e aguarde o tempo necessário para a propagação.
Tips for getting it right #
TXT values are unforgiving, so accuracy is everything. Copy and paste rather than typing by hand, and do not add extra spaces or line breaks. For verification records you can usually remove the TXT entry once the service confirms ownership, though it is often safest to leave it in place. For SPF, remember the rule that you should have only one SPF TXT record, combining multiple senders into a single line.
Checking your TXT records #
After propagation, you can confirm a TXT record using a free online DNS lookup tool by searching for the TXT records on your domain or on the specific host. The value you added should appear exactly as entered.
Solução de problemas #
- Verification failing: confirm the value is exact and on the correct host.
- Record not visible: allow time for propagation before re-checking.
- Multiple SPF issues: merge separate SPF entries into one record.
Precisa de ajuda? #
If a service’s verification is not passing, our support team can confirm the TXT record is placed correctly over live chat.