{"id":28721,"date":"2022-07-13T08:12:41","date_gmt":"2022-07-13T08:12:41","guid":{"rendered":"https:\/\/easydmarc.com\/blog\/?p=28721"},"modified":"2026-03-18T14:16:37","modified_gmt":"2026-03-18T14:16:37","slug":"how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns","status":"publish","type":"post","link":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/","title":{"rendered":"How to Create a TXT Record and How to Add a TXT Record to DNS?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Among the <\/span><a href=\"https:\/\/easydmarc.com\/blog\/top-8-most-common-types-of-dns-records\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">types of DNS records<\/span><\/a> <span style=\"font-weight: 400;\">available, TXT records are widely used among administrators. In this article, we\u2019ll look into <\/span><b>what a TXT record is<\/b><span style=\"font-weight: 400;\"> and how you can create it. We\u2019ll also show you its format and <\/span><b>how to add a TXT record to DNS. <\/b><span style=\"font-weight: 400;\">Let\u2019s get started!<\/span><\/p>\n<h2><b>What is a DNS TXT Record?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Most DNS records contain machine-readable language. But with a <\/span><span style=\"font-weight: 400;\">TXT record<\/span><span style=\"font-weight: 400;\">, an administrator can add both human- and machine-readable languages to the <a href=\"https:\/\/easydmarc.com\/blog\/glossary\/dns\/\">Domain Name System (DNS)<\/a>.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">While TXT records were originally intended to store human-readable notes, they\u2019re often used for email security and domain verification purposes.<\/span><\/p>\n<h2><b>What Goes into a TXT Record?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">A TXT RR is used to hold descriptive texts, which go into the value field of the TXT record. The text semantics depends on what the administrator wants to attach to the domain. More often than not, the DNS server restricts the size of a TXT record and the amount of text it can store. That\u2019s why you can\u2019t use a TXT record for an enormous amount of data.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are several use cases and reasons why you should <\/span><b>add a TXT record to the DNS<\/b><span style=\"font-weight: 400;\"> server of your domain. First, TXT records help to verify domain ownership. With a TXT record, the DNS provider requesting verification can query your server and confirm your ownership.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Another reason to use TXT records is email security. Adding a TXT record can help prevent <\/span><span style=\"font-weight: 400;\">DNS spoofing<\/span> <span style=\"font-weight: 400;\">and phishing by verifying whether an email is from an authorized domain name.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Below is an example of a TXT record:<\/span><\/p>\n<table style=\"height: 163px;\" width=\"831\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">myserver.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">record type:<\/span><\/td>\n<td><span style=\"font-weight: 400;\">value:<\/span><\/td>\n<td><span style=\"font-weight: 400;\">TTL<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">@<\/span><\/td>\n<td><span style=\"font-weight: 400;\">TXT<\/span><\/td>\n<td><span style=\"font-weight: 400;\">This site is for project purposes!\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">3600<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><b>TXT Record Formatting<\/b><\/h2>\n<p><b>What does a TXT record look like<\/b><span style=\"font-weight: 400;\">? Well, the Internet Engineering Task Force (IETF) defines a globally acceptable format for storing variables within the value field of a TXT record. The TXT formatting consists of the attribute and value separated by an equal to, all enclosed in a quotation mark as seen below:<\/span><\/p>\n<p><b><i>\u201cattribute=value\u201d<\/i><\/b><\/p>\n<p><span style=\"font-weight: 400;\">The below examples are included in the Request for Comment (RFC) 1464 document that defines this format:<\/span><\/p>\n<table style=\"height: 151px;\" width=\"830\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">host.widgets.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">record type<\/span><\/td>\n<td><span style=\"font-weight: 400;\">value<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">@<\/span><\/td>\n<td><span style=\"font-weight: 400;\">TXT<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u201cprinter=lpr5\u201d<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"height: 162px;\" width=\"831\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">sam.widgets.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">record type<\/span><\/td>\n<td><span style=\"font-weight: 400;\">value<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">@<\/span><\/td>\n<td><span style=\"font-weight: 400;\">TXT<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u201cFavorite drink=orange juice\u201d<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">However, administrators don\u2019t often adopt the above format as they can use their own unique formats to create TXT records. You can also define TXT records in a specific way for purposes like email authentication.<\/span><\/p>\n<h2><b>How to Lookup TXT DNS Records<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Performing a <a href=\"https:\/\/easydmarc.com\/tools\/txt-record-lookup\">txt record lookup<\/a> is essential to know if the changes made to your TXT record have been published globally. In addition, it verifies whether your domain\u2019s email sender policies (such as SPF or DMARC records) are returned correctly.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">TXT records are configured in the DNS servers, but <\/span><b>how do you look up a TXT DNS record? <\/b><span style=\"font-weight: 400;\">There are two primary ways to do this: Online and locally. You can use online tools like our <\/span><a href=\"https:\/\/easydmarc.com\/tools\/dns-record-checker\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">EasyDMARC DNS Checker<\/span><\/a><span style=\"font-weight: 400;\"> to check various DNS records of your domain, including the following types:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">TXT Record<\/span><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/a-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">A Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/aaaa-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">AAAA Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/mx-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">MX Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/cname-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">CNAME Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/ptr-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">PTR Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/ns-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">NS Record<\/span><\/a><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/blog\/zoho-mail-spf-and-dkim-setup\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">SOA Record<\/span><\/a><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Our EasyDMARC DNS Checker is incredibly easy to use. Input your domain name and server provider, then check the TXT box. After that, click the \u201cLookup Record\u201d to check your TXT records. The results then display as per the below example:<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-28722\" title=\"1 pic\" src=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/1-pic.png\" alt=\"1 pic\" width=\"1025\" height=\"354\" srcset=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/1-pic.png 1025w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/1-pic-300x104.png 300w, https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/1-pic-768x265.png 768w\" sizes=\"(max-width: 1025px) 100vw, 1025px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You can also look up your TXT records locally on your computer. However, the process depends on your operating system.\u00a0<\/span><\/p>\n<h3><b>Lookup TXT Records on Windows<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Here\u2019s <\/span><b>how to look up TXT DNS records<\/b><span style=\"font-weight: 400;\"> on your Windows computer:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Go to your command prompt.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Type <\/span><b><i>nslookup -q=TXT myserver.com<\/i><\/b><span style=\"font-weight: 400;\"> then hit \u201cEnter.\u201d<\/span><\/li>\n<li><span style=\"font-weight: 400;\">You\u2019ll see the list of TXT records under the \u201c<\/span><b>Non Authoritative answer<\/b><span style=\"font-weight: 400;\">\u201d<\/span> <span style=\"font-weight: 400;\">heading.<\/span><\/li>\n<\/ul>\n<h3><b>Lookup TXT Records on MacOS<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">If you have an Apple computer, look up your <\/span><b>DNS TXT records<\/b><span style=\"font-weight: 400;\"> by following these steps:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Go to your terminal.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Type <\/span><b><i>dig myserver.com TXT<\/i><\/b><span style=\"font-weight: 400;\">, and hit \u201cEnter.\u201d<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The TXT records are listed under the \u201c<\/span><b>Answer Section<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u201d heading.<\/span><\/span><\/li>\n<\/ul>\n<h2><b>How to Add a TXT Record to DNS<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">To add a TXT record to your DNS server, you need to identify your domain provider. If you don\u2019t know your provider, use Who is to find out.\u00a0<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Go to <\/span><a href=\"https:\/\/www.whois.com\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/www.whois.com\/<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Click on \u201cWHOIS\u201d and enter your domain name in the box.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Then click the \u201cSEARCH\u201d button.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">In the results, locate the nameserver to get the domain provider.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Once you confirm your domain provider, follow the guide below to add your TXT record.\u00a0\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Log in to your control panel.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Locate the section for updating your DNS records\u2014it could be <\/span><b><i>Managed DNS, Name Server Management,\u00a0 DNS Management, <\/i><\/b><span style=\"font-weight: 400;\">or<\/span><b><i> Advanced Settings.<\/i><\/b><\/li>\n<li><span style=\"font-weight: 400;\">On the page, click the <\/span><b>TXT record<\/b><span style=\"font-weight: 400;\"> option and add the text for your DNS using the format provided earlier.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Save the settings and wait until they propagate. This can take a few minutes, up to 72 hours.<\/span><\/span><\/li>\n<\/ul>\n<h2><b>TXT Records and Email Authentication Protocols<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Scammers are always out to spoof your domain name and send malicious emails to steal sensitive data. The TXT record is an integral part of <\/span><a href=\"https:\/\/easydmarc.com\/tools\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">email authentication protocols<\/span><\/a><span style=\"font-weight: 400;\"> that helps servers validate whether a message is legitimate or not.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A TXT record can hold public keys and different email security policies, such as <\/span><a href=\"https:\/\/easydmarc.com\/blog\/understanding-spf-sender-policy-framework-to-improve-email-delivery\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Sender Policy Framework (SPF)<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/easydmarc.com\/blog\/what-is-dmarc-overview\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Domain-based Message Authentication<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/easydmarc.com\/blog\/understanding-dmarc-reports\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Reporting &amp; Conformance (DMARC)<\/span><\/a><span style=\"font-weight: 400;\">, and <\/span><a href=\"https:\/\/easydmarc.com\/blog\/what-is-dkim\/\"><span style=\"font-weight: 400;\">Domain Keys Identified Email (DKIM)<\/span><span style=\"font-weight: 400;\">.\u00a0<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">By configuring these DNS TXT records, server administrators can make it challenging for hackers to spoof an organization\u2019s domain while monitoring malicious activities.<\/span><\/p>\n<h3><b>SPF<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Configuring the SFT TXT record will list all the servers authorized to send messages on behalf of a domain.<\/span><\/p>\n<h3><b>DKIM<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">This authentication method gives each email a digital signature using public and private keys, which helps receivers confirm if the owner of the domain sent a message. The public key is stored in the <\/span><b>TXT record <\/b><span style=\"font-weight: 400;\">of the domain.<\/span><\/p>\n<h3><b>DMARC<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">You can use the DMARC TXT record to reference the domain\u2019s SPF and DKIM policies. The purpose of the DMARC record is to inform servers to allow, reject, or quarantine emails to be delivered.<\/span><\/p>\n<h2><b>Summary<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">This article has provided the essentials about TXT records. The DNS TXT record can contain a mix of human- and computer-readable language and offers several benefits, including domain ownership verification, DNS spoofing prevention, and email security. Additionally, you can include any information necessary for your domain. Now you can proceed to <\/span><b>add a txt record to the DNS<\/b><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Among the types of DNS records available, TXT &#8230;<\/p>\n","protected":false},"author":1,"featured_media":32639,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[306,205],"tags":[],"class_list":["post-28721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dns-records","category-knowledge-base"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Create a TXT Record , How to Add a TXT Record to DNS?<\/title>\n<meta name=\"description\" content=\"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a TXT Record and How to Add a TXT Record to DNS?\" \/>\n<meta property=\"og:description\" content=\"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/\" \/>\n<meta property=\"og:site_name\" content=\"EasyDMARC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EasyDMARC\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-13T08:12:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-18T14:16:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"911\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"EasyDMARC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:site\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EasyDMARC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/\"},\"author\":{\"name\":\"EasyDMARC\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\"},\"headline\":\"How to Create a TXT Record and How to Add a TXT Record to DNS?\",\"datePublished\":\"2022-07-13T08:12:41+00:00\",\"dateModified\":\"2026-03-18T14:16:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/\"},\"wordCount\":1093,\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg\",\"articleSection\":[\"DNS Records\",\"Knowledge Base\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/\",\"name\":\"How to Create a TXT Record , How to Add a TXT Record to DNS?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg\",\"datePublished\":\"2022-07-13T08:12:41+00:00\",\"dateModified\":\"2026-03-18T14:16:37+00:00\",\"description\":\"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#primaryimage\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg\",\"width\":1440,\"height\":911,\"caption\":\"Blue cover\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DNS Records\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/dns-records\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Create a TXT Record and How to Add a TXT Record to DNS?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"name\":\"EasyDMARC\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/#organization\",\"name\":\"EasyDMARC\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/img\\\/logo.png\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EasyDMARC\\\/\",\"https:\\\/\\\/x.com\\\/easydmarc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/easydmarc\\\/mycompany\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\",\"name\":\"EasyDMARC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"caption\":\"EasyDMARC\"},\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/author\\\/easydmarc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create a TXT Record , How to Add a TXT Record to DNS?","description":"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a TXT Record and How to Add a TXT Record to DNS?","og_description":"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.","og_url":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/","og_site_name":"EasyDMARC","article_publisher":"https:\/\/www.facebook.com\/EasyDMARC\/","article_published_time":"2022-07-13T08:12:41+00:00","article_modified_time":"2026-03-18T14:16:37+00:00","og_image":[{"width":1440,"height":911,"url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","type":"image\/jpeg"}],"author":"EasyDMARC","twitter_card":"summary_large_image","twitter_creator":"@easydmarc","twitter_site":"@easydmarc","twitter_misc":{"Written by":"EasyDMARC","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#article","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/"},"author":{"name":"EasyDMARC","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97"},"headline":"How to Create a TXT Record and How to Add a TXT Record to DNS?","datePublished":"2022-07-13T08:12:41+00:00","dateModified":"2026-03-18T14:16:37+00:00","mainEntityOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/"},"wordCount":1093,"publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","articleSection":["DNS Records","Knowledge Base"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/","url":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/","name":"How to Create a TXT Record , How to Add a TXT Record to DNS?","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#primaryimage"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","datePublished":"2022-07-13T08:12:41+00:00","dateModified":"2026-03-18T14:16:37+00:00","description":"A TXT record is a DNS record originally intended for human-readable data. TXT records offer protection against email spam and spoofing.","breadcrumb":{"@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#primaryimage","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","width":1440,"height":911,"caption":"Blue cover"},{"@type":"BreadcrumbList","@id":"https:\/\/easydmarc.com\/blog\/how-to-create-a-txt-record-and-how-to-add-a-txt-record-to-dns\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easydmarc.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"DNS Records","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/dns-records\/"},{"@type":"ListItem","position":4,"name":"How to Create a TXT Record and How to Add a TXT Record to DNS?"}]},{"@type":"WebSite","@id":"https:\/\/easydmarc.com\/blog\/#website","url":"https:\/\/easydmarc.com\/blog\/","name":"EasyDMARC","description":"Blog","publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easydmarc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easydmarc.com\/#organization","name":"EasyDMARC","url":"https:\/\/easydmarc.com\/","logo":{"@type":"ImageObject","url":"https:\/\/easydmarc.com\/img\/logo.png"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EasyDMARC\/","https:\/\/x.com\/easydmarc","https:\/\/www.linkedin.com\/company\/easydmarc\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97","name":"EasyDMARC","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","caption":"EasyDMARC"},"url":"https:\/\/easydmarc.com\/blog\/author\/easydmarc\/"}]}},"jetpack_featured_media_url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/How-to-Create-txt-Record-and-How-to-Add-a-txt-Record-to-DNS_-1.jpg","_links":{"self":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/comments?post=28721"}],"version-history":[{"count":12,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28721\/revisions"}],"predecessor-version":[{"id":60012,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28721\/revisions\/60012"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media\/32639"}],"wp:attachment":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media?parent=28721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/categories?post=28721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/tags?post=28721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}