DNS TXT Record

The TXT record lets a domain admin leave notes on a DNS server.

Share facebook icon linkedin icon twitter icon email icon

DNS TXT Record

Learning Objectives

After reading this article you will be able to:

  • Understand the purpose of an TXT record.

What is a DNS TXT record?

The ‘text’ record let’s a domain administrator enter text into the DNS record, as it was originally intended as a place for human-readable notes. However now it is also possible to put some machine-readable code into TXT records as well. One domain can have many TXT records and they are commonly used for Sender Policy Framework (SPF) codes that help an email server determine if a message is from a trusted source, as well as ownership verification of a domain. For example some webmaster tools will ask you to add a TXT record to your domain to prove you are that domain’s real owner.

Example of a TXT record:

example.com record type: value: TTL
@ TXT This is an awesome domain! Definitely not spammy. 32600