{"id":1054,"date":"2024-06-03T19:02:31","date_gmt":"2024-06-03T13:32:31","guid":{"rendered":"https:\/\/mirchihost.com\/blog\/?p=1054"},"modified":"2024-08-04T18:44:54","modified_gmt":"2024-08-04T13:14:54","slug":"txt-record","status":"publish","type":"post","link":"https:\/\/mirchihost.com\/blog\/txt-record\/","title":{"rendered":"What is TXT record and why we need to update the DNS Record"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"what-is-txt-record\">What is TXT record<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?resize=1024%2C1024&#038;ssl=1\" alt=\"TXT record\" class=\"wp-image-1062\" style=\"width:432px;height:auto\" srcset=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/1_Eww59YDTcODcJVWubhuitw.jpg?resize=600%2C600&amp;ssl=1 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n<p>A TXT (Text) record is a type of DNS (Domain Name System) record that allows the domain owner to store text-based information in the DNS. This information can be used for a variety of purposes, including verifying domain ownership, improving email security, and providing general information about the domain. <\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-txt-record\">What is TXT record<\/a><\/li><li><a href=\"#domain-verification\">Domain Verification<\/a><\/li><li><a href=\"#email-security\">Email Security<\/a><\/li><li><a href=\"#general-information\">General Information <\/a><\/li><li><a href=\"#other-uses\">Other Uses<\/a><\/li><li><a href=\"#why-we-need-to-update-the-dns-record\">Why we need to update the DNS record<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"domain-verification\"><strong>Domain Verification<\/strong><\/h2>\n\n\n\n<p>Many services, such as Google and Microsoft, use TXT records to verify domain ownership. They provide a unique string that you add to your domain&#8217;s DNS records.<br>Example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"62\" src=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-3.png?resize=957%2C62&#038;ssl=1\" alt=\"\" class=\"wp-image-1058\" style=\"width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-3.png?w=957&amp;ssl=1 957w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-3.png?resize=300%2C19&amp;ssl=1 300w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-3.png?resize=768%2C50&amp;ssl=1 768w\" sizes=\"(max-width: 957px) 100vw, 957px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"email-security\"><strong>Email Security<\/strong><\/h2>\n\n\n\n<ul>\n<li><strong>SPF (Sender Policy Framework)<\/strong>: Used to specify which mail servers are permitted to send email on behalf of your domain.<br>Example:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"64\" src=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-4.png?resize=936%2C64&#038;ssl=1\" alt=\"\" class=\"wp-image-1059\" srcset=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-4.png?w=936&amp;ssl=1 936w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-4.png?resize=300%2C21&amp;ssl=1 300w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-4.png?resize=768%2C53&amp;ssl=1 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p><strong>DKIM (DomainKeys Identified Mail)<\/strong>: Used to add a digital signature to your email, ensuring that the email content has not been altered.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"79\" src=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-5.png?resize=959%2C79&#038;ssl=1\" alt=\"\" class=\"wp-image-1060\" srcset=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-5.png?w=959&amp;ssl=1 959w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-5.png?resize=300%2C25&amp;ssl=1 300w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-5.png?resize=768%2C63&amp;ssl=1 768w\" sizes=\"(max-width: 959px) 100vw, 959px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p><strong>DMARC (Domain-based Message Authentication, Reporting &amp; Conformance)<\/strong>: Used to define how your domain handles suspicious emails and to provide a way to report back to you.<\/p>\n\n\n\n<p>Example:<code>_dmarc.example.com. 3600 IN TXT \"v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com\"<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"general-information\"><strong>General Information<\/strong> <\/h2>\n\n\n\n<p>You can use TXT records to store arbitrary text information, such as notes about the domain or instructions for administrators.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"65\" src=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-6.png?resize=985%2C65&#038;ssl=1\" alt=\"\" class=\"wp-image-1061\" srcset=\"https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-6.png?w=985&amp;ssl=1 985w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-6.png?resize=300%2C20&amp;ssl=1 300w, https:\/\/i0.wp.com\/mirchihost.com\/blog\/wp-content\/uploads\/2024\/06\/image-6.png?resize=768%2C51&amp;ssl=1 768w\" sizes=\"(max-width: 985px) 100vw, 985px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"other-uses\"><strong>Other Uses<\/strong><\/h2>\n\n\n\n<ul>\n<li><strong>Verifying third-party services<\/strong>: Some third-party services (like cloud providers, content delivery networks, etc.) may require a TXT record to verify that you own the domain before allowing certain integrations.<\/li>\n\n\n\n<li><strong>DNS-based Authentication of Named Entities (DANE)<\/strong>: Using TLSA records in conjunction with DNSSEC to provide secure connections.<\/li>\n<\/ul>\n\n\n\n<p>TXT records are versatile and provide a way to include human-readable information within your DNS setup, making them a valuable tool for a wide range of applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-we-need-to-update-the-dns-record\">Why we need to update the DNS record<\/h2>\n\n\n\n<p>Updating DNS records is often necessary to ensure that your domain and associated services are functioning correctly and efficiently. Here are some common reasons for updating DNS records:<\/p>\n\n\n\n<ol>\n<li><strong>Changing Hosting Providers<\/strong>: When you switch to a new <a href=\"http:\/\/mirchihost.com\">hosting provider<\/a>, you need to update the DNS records to point to the new server&#8217;s IP address to ensure your website remains accessible.<\/li>\n\n\n\n<li><strong>Email Server Changes<\/strong>: If you move your email services to a different provider or change the configuration of your email server, you need to update DNS records like MX (Mail Exchange) and TXT records for SPF, DKIM, and DMARC.<\/li>\n\n\n\n<li><strong>Subdomain Management<\/strong>: Adding or modifying subdomains requires updating DNS records to point the subdomain to the appropriate server.<\/li>\n\n\n\n<li><strong>SSL\/TLS Certificates<\/strong>: When setting up SSL\/TLS certificates, especially for domain validation, you might need to add TXT records for verification purposes.<\/li>\n\n\n\n<li><strong>Load Balancing and Failover<\/strong>: If you are setting up load balancing or failover mechanisms, you may need to update DNS records to distribute traffic across multiple servers or reroute it in case of server failure.<\/li>\n\n\n\n<li><strong>Service Integrations<\/strong>: Integrating with external services (like Google Workspace, Microsoft 365, etc.) often requires adding or updating DNS records for verification and configuration purposes.<\/li>\n\n\n\n<li><strong>IP Address Changes<\/strong>: If your server&#8217;s IP address changes (due to migration, reconfiguration, etc.), you&#8217;ll need to update A or AAAA records to reflect the new address.<\/li>\n\n\n\n<li><strong>DNS Record TTL Adjustment<\/strong>: Adjusting the TTL values can help manage how quickly changes propagate across the internet. Lowering TTL before making significant changes ensures that updates take effect more quickly.<\/li>\n\n\n\n<li><strong>Security Enhancements<\/strong>: Adding or updating DNS records for security purposes, such as implementing DNSSEC (DNS Security Extensions) or configuring proper SPF, DKIM, and DMARC records to prevent email spoofing.<\/li>\n\n\n\n<li><strong>Removing Deprecated Records<\/strong>: Over time, certain services or configurations may become obsolete, and their corresponding DNS records should be removed to keep the DNS zone clean and efficient.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>What is TXT record A TXT (Text) record is a type of DNS (Domain Name System) record that allows the domain owner to store text-based information in the DNS. This information can be used for a variety of purposes, including verifying domain ownership, improving email security, and providing general information about the domain. Domain Verification [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[43],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9N6ER-h0","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/1054"}],"collection":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/comments?post=1054"}],"version-history":[{"count":8,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/1054\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/posts\/1054\/revisions\/1151"}],"wp:attachment":[{"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/media?parent=1054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/categories?post=1054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mirchihost.com\/blog\/wp-json\/wp\/v2\/tags?post=1054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}