{"id":1265,"date":"2025-11-03T18:22:11","date_gmt":"2025-11-03T15:22:11","guid":{"rendered":"https:\/\/www.dchost.com\/blog\/dns-records-explained-like-a-friend-a-aaaa-cname-mx-txt-srv-caa-and-the-gotchas-that-trip-us-up\/"},"modified":"2026-11-04T05:17:19","modified_gmt":"2026-11-04T02:17:19","slug":"common-dns-record-mistakes","status":"publish","type":"post","link":"https:\/\/www.dchost.com\/blog\/en\/common-dns-record-mistakes\/","title":{"rendered":"Common DNS Record Mistakes: TTL, CNAME, MX and CAA"},"content":{"rendered":"<div class=\"dchost-blog-content-wrapper\"><p>A website can fail for some users even when its server and <a href=\"https:\/\/www.dchost.com\/ssl\">SSL certificate<\/a> appear healthy. An old cached address, inconsistent authoritative answers or a broken CNAME chain can send users to different destinations. Start by separating the DNS answer from the application response: a correct record does not prove that the target can serve the requested hostname.<\/p>\n<p>This guide explains common mistakes in A, AAAA, CNAME, MX, TXT, SRV and CAA records. We will connect each record\u2019s purpose to practical checks: which types can coexist, which targets need address records, how mail authentication uses DNS and why TTL changes do not clear existing caches. Use those checks when troubleshooting a service or planning a move.<\/p>\n<div id=\"toc_container\" role=\"navigation\" aria-label=\"Table of Contents\" data-nosnippet class=\"toc_transparent no_bullets toc_numbered toc_title_center\"><p class=\"toc_title\">\u0130\u00e7indekiler<\/p><ul class=\"toc_list\"><li><a href=\"#The_Story_of_DNS_A_Friendly_Map_Not_a_Magic_Wand\"><span class=\"toc_number toc_depth_1\">1.<\/span> The Story of DNS: A Friendly Map, Not a Magic Wand<\/a><\/li><li><a href=\"#A_and_AAAA_The_Addresses_on_the_Internets_Envelope\"><span class=\"toc_number toc_depth_1\">2.<\/span> A and AAAA: The Addresses on the Internet\u2019s Envelope<\/a><ul><li><a href=\"#What_A_and_AAAA_records_publish\"><span class=\"toc_number toc_depth_2\">2.1.<\/span> What A and AAAA records publish<\/a><\/li><li><a href=\"#Multiple_address_records_are_valid_but_do_not_check_health\"><span class=\"toc_number toc_depth_2\">2.2.<\/span> Multiple address records are valid, but do not check health<\/a><\/li><\/ul><\/li><li><a href=\"#CNAME_The_Friendly_Alias_That_Comes_with_Rules\"><span class=\"toc_number toc_depth_1\">3.<\/span> CNAME: The Friendly Alias That Comes with Rules<\/a><ul><li><a href=\"#Think_of_CNAME_like_a_nickname\"><span class=\"toc_number toc_depth_2\">3.1.<\/span> Think of CNAME like a nickname<\/a><\/li><li><a href=\"#The_CNAME_loop_nightmare\"><span class=\"toc_number toc_depth_2\">3.2.<\/span> The CNAME loop nightmare<\/a><\/li><\/ul><\/li><li><a href=\"#MX_Where_Your_Email_Actually_Goes\"><span class=\"toc_number toc_depth_1\">4.<\/span> MX: Where Your Email Actually Goes<\/a><ul><li><a href=\"#Setting_mail_delivery_without_shooting_yourself_in_the_foot\"><span class=\"toc_number toc_depth_2\">4.1.<\/span> Setting mail delivery without shooting yourself in the foot<\/a><\/li><li><a href=\"#Deliverability_Its_not_just_MX\"><span class=\"toc_number toc_depth_2\">4.2.<\/span> Deliverability: It\u2019s not just MX<\/a><\/li><\/ul><\/li><li><a href=\"#TXT_The_Sticky_Notes_of_DNS_Verification_SPF_and_More\"><span class=\"toc_number toc_depth_1\">5.<\/span> TXT: The Sticky Notes of DNS (Verification, SPF, and More)<\/a><ul><li><a href=\"#TXT_is_where_the_internet_checks_your_notes\"><span class=\"toc_number toc_depth_2\">5.1.<\/span> TXT is where the internet checks your notes<\/a><\/li><li><a href=\"#The_SPF_rabbit_hole\"><span class=\"toc_number toc_depth_2\">5.2.<\/span> The SPF rabbit hole<\/a><\/li><\/ul><\/li><li><a href=\"#SRV_The_Service_Locator_Record_Most_People_Forget\"><span class=\"toc_number toc_depth_1\">6.<\/span> SRV: The \u201cService Locator\u201d Record Most People Forget<\/a><ul><li><a href=\"#What_SRV_really_does\"><span class=\"toc_number toc_depth_2\">6.1.<\/span> What SRV really does<\/a><\/li><\/ul><\/li><li><a href=\"#CAA_The_Bouncer_for_Your_SSL_Certificates\"><span class=\"toc_number toc_depth_1\">7.<\/span> CAA: The Bouncer for Your SSL Certificates<\/a><ul><li><a href=\"#Only_the_CAs_you_trust_should_issue_certs\"><span class=\"toc_number toc_depth_2\">7.1.<\/span> Only the CAs you trust should issue certs<\/a><\/li><\/ul><\/li><li><a href=\"#Nameservers_Delegation_and_the_Mysterious_Glue\"><span class=\"toc_number toc_depth_1\">8.<\/span> Nameservers, Delegation, and the Mysterious Glue<\/a><ul><li><a href=\"#Whos_actually_in_charge_of_your_zone\"><span class=\"toc_number toc_depth_2\">8.1.<\/span> Who\u2019s actually in charge of your zone?<\/a><\/li><li><a href=\"#Bonus_DNSSEC_without_the_headache\"><span class=\"toc_number toc_depth_2\">8.2.<\/span> Bonus: DNSSEC without the headache<\/a><\/li><\/ul><\/li><li><a href=\"#Propagation_Myths_TTLs_and_How_to_Test_Changes\"><span class=\"toc_number toc_depth_1\">9.<\/span> Propagation Myths, TTLs, and How to Test Changes<\/a><ul><li><a href=\"#TTL_Publication_and_Delegation_All_Matter\"><span class=\"toc_number toc_depth_2\">9.1.<\/span> TTL, Publication and Delegation All Matter<\/a><\/li><li><a href=\"#Negative_caching_and_the_mystery_of_the_vanished_record\"><span class=\"toc_number toc_depth_2\">9.2.<\/span> Negative caching and the mystery of the vanished record<\/a><\/li><\/ul><\/li><li><a href=\"#Common_Pitfalls_and_How_to_Dodge_Them\"><span class=\"toc_number toc_depth_1\">10.<\/span> Common Pitfalls (and How to Dodge Them)<\/a><ul><li><a href=\"#A_checklist_of_record_and_target_mistakes\"><span class=\"toc_number toc_depth_2\">10.1.<\/span> A checklist of record and target mistakes<\/a><\/li><\/ul><\/li><li><a href=\"#Applying_the_Checks_to_Common_Changes\"><span class=\"toc_number toc_depth_1\">11.<\/span> Applying the Checks to Common Changes<\/a><ul><li><a href=\"#1_Moving_a_site_to_a_new_host\"><span class=\"toc_number toc_depth_2\">11.1.<\/span> 1) Moving a site to a new host<\/a><\/li><li><a href=\"#2_Switching_mail_providers\"><span class=\"toc_number toc_depth_2\">11.2.<\/span> 2) Switching mail providers<\/a><\/li><li><a href=\"#3_Enabling_IPv6_without_drama\"><span class=\"toc_number toc_depth_2\">11.3.<\/span> 3) Enabling IPv6 without drama<\/a><\/li><\/ul><\/li><li><a href=\"#Testing_and_Troubleshooting_Without_Losing_Your_Mind\"><span class=\"toc_number toc_depth_1\">12.<\/span> Testing and Troubleshooting Without Losing Your Mind<\/a><ul><li><a href=\"#Keep_a_simple_checklist\"><span class=\"toc_number toc_depth_2\">12.1.<\/span> Keep a simple checklist<\/a><\/li><\/ul><\/li><li><a href=\"#Security_Touchpoints_Youll_Thank_Yourself_For\"><span class=\"toc_number toc_depth_1\">13.<\/span> Security Touchpoints You\u2019ll Thank Yourself For<\/a><ul><li><a href=\"#Start_small_win_early\"><span class=\"toc_number toc_depth_2\">13.1.<\/span> Start small, win early<\/a><\/li><\/ul><\/li><li><a href=\"#Bringing_It_All_Together\"><span class=\"toc_number toc_depth_1\">14.<\/span> Bringing It All Together<\/a><\/li><\/ul><\/div>\n<h2 id=\"section-1\"><span id=\"The_Story_of_DNS_A_Friendly_Map_Not_a_Magic_Wand\">The Story of DNS: A Friendly Map, Not a Magic Wand<\/span><\/h2>\n<p>Changing a record at a DNS provider does not push the new answer into every recursive resolver or device. Caches may keep earlier answers, and the authoritative service must also publish the update across its own servers. <strong>TTL<\/strong> is the duration, in seconds, before a cached answer normally needs refreshing; it is not an expiry date that deletes the authoritative record. Check both the published answer and the resolver\u2019s cached answer.<\/p>\n<p>Lower TTLs can increase query frequency; higher TTLs let answers remain cached longer. Before a planned move, lower the TTL far enough ahead to account for the previous value. A resolver that already cached the old answer does not learn the shorter TTL immediately. Keep the old service available during the transition, then restore a suitable TTL after checking the new service.<\/p>\n<p>While we\u2019ll talk about specific record types, remember the big picture: DNS is about mapping a name to something\u2014an address, a server, a service, a policy. Get the map right and your site feels fast and reliable; get it wrong and you\u2019ll be chasing ghosts.<\/p>\n<h2 id=\"section-2\"><span id=\"A_and_AAAA_The_Addresses_on_the_Internets_Envelope\">A and AAAA: The Addresses on the Internet\u2019s Envelope<\/span><\/h2>\n<h3><span id=\"What_A_and_AAAA_records_publish\">What A and AAAA records publish<\/span><\/h3>\n<p>The A record is your domain\u2019s home address\u2014but specifically for IPv4. If your website is example.com and your server\u2019s IPv4 address is 203.0.113.10, your A record says, \u201cHey world, go here.\u201d The AAAA record does the same thing but for IPv6. If you\u2019ve ever noticed those long, colon-separated addresses (like 2001:db8::1), that\u2019s AAAA\u2019s territory. That\u2019s the future knocking, and honestly, the future\u2019s pretty nice.<\/p>\n<p>A records provide IPv4 addresses; AAAA records provide IPv6 addresses. Whether you need one or both depends on the networks and clients you serve. Publishing AAAA does not configure IPv6 routing, firewall rules or the web server, and it does not guarantee faster page loads. For the wider planning context, see <a href=\"https:\/\/www.dchost.com\/blog\/en\/ipv4-cost-planning-hosting-infrastructure\/\">the guide to IPv4 address costs and alternatives<\/a>; adding IPv6 does not by itself remove the need to support IPv4-only clients.<\/p>\n<h3><span id=\"Multiple_address_records_are_valid_but_do_not_check_health\">Multiple address records are valid, but do not check health<\/span><\/h3>\n<p>Multiple A records, multiple AAAA records and both types at the same owner name are valid. A resolver or client may vary the order or choose among the returned addresses; equal traffic distribution is not guaranteed. The records alone do not detect a failed server. DNS failover requires health checks and coordinated answer changes, while cached answers and client behavior still affect the transition.<\/p>\n<p>Before publishing AAAA, test the service over IPv6: routing, firewall access, application listeners and HTTPS hostname\/certificate handling must all work. An unreachable IPv6 address can cause delays or failures for some clients. Compare actual response times and errors over both protocols instead of assuming a fixed performance gain.<\/p>\n<h2 id=\"section-3\"><span id=\"CNAME_The_Friendly_Alias_That_Comes_with_Rules\">CNAME: The Friendly Alias That Comes with Rules<\/span><\/h2>\n<h3><span id=\"Think_of_CNAME_like_a_nickname\">Think of CNAME like a nickname<\/span><\/h3>\n<p>A CNAME makes one DNS name an alias of another. For example, blog.example.com might point to hosting.example.net, whose address records identify the target. The CNAME value is a hostname, not an IP address, URL or path. It is not an HTTP redirect: the browser still requests the original hostname, so the destination must support that name and its TLS certificate.<\/p>\n<p>But, and this is a crucial but, you can\u2019t assign a CNAME at the same name as other records like MX or TXT. The zone apex cannot be a standard CNAME because it must also have SOA and NS records. Related DNSSEC metadata is a special exception to CNAME coexistence rules, not permission to add ordinary MX or TXT records alongside the alias. Some providers offer \u201cALIAS\u201d or \u201cANAME,\u201d which behave like a CNAME but resolve to A\/AAAA behind the scenes. Those can be great, but they\u2019re vendor features, not standard DNS record types. If you\u2019ve ever switched a site to a CDN and the provider said \u201cadd a CNAME at your root,\u201d that\u2019s why you may have hit a wall\u2014unless they support flattening.<\/p>\n<h3><span id=\"The_CNAME_loop_nightmare\">The CNAME loop nightmare<\/span><\/h3>\n<p>Consider a hypothetical chain: shop.example.com points to store.example.net, which points to edge.example.org. If the final target is changed to point back to shop.example.com, the chain loops instead of reaching address records. Keep alias chains short, document each external dependency and check the final answer after a provider change. A target resolving successfully still needs to serve the original hostname.<\/p>\n<p>If you\u2019re exploring performance tweaks and traffic routing, it might be a good moment to understand <a href=\"https:\/\/www.dchost.com\/blog\/en\/what-is-content-delivery-network-cdn\/\">what a content delivery network (CDN) is and how it speeds up your site<\/a>. CDNs often rely on CNAMEs or ALIAS records, and knowing what\u2019s happening under the hood helps you avoid surprises.<\/p>\n<h2 id=\"section-4\"><span id=\"MX_Where_Your_Email_Actually_Goes\">MX: Where Your Email Actually Goes<\/span><\/h2>\n<h3><span id=\"Setting_mail_delivery_without_shooting_yourself_in_the_foot\">Setting mail delivery without shooting yourself in the foot<\/span><\/h3>\n<p>MX records identify servers that accept incoming mail for your domain. The target must be a hostname with direct A and\/or AAAA records, not an IP address or a CNAME alias. For example, an MX target of mail.example.com requires address records at mail.example.com. The mail server must also accept mail for your domain and intended recipients; publishing an MX record does not configure that service.<\/p>\n<p>Priority on MX records isn\u2019t a ranking of \u201cbest to worst.\u201d It\u2019s more like a fallback order: lower numbers are tried first. If you have equal priorities, mail servers may choose randomly. That\u2019s okay if your setup is designed for it. Just don\u2019t try to encode fancy routing logic with MX priorities alone; it\u2019s blunt.<\/p>\n<h3><span id=\"Deliverability_Its_not_just_MX\">Deliverability: It\u2019s not just MX<\/span><\/h3>\n<p>Mail routing and authentication are separate. SPF checks the sending host against the envelope-sender or HELO domain; DKIM verifies a message signature using the signing domain\u2019s public key. DMARC requires a passing SPF or DKIM result aligned with the visible From domain; either aligned mechanism can produce a pass. Our <a href=\"https:\/\/www.dchost.com\/blog\/en\/email-deliverability-spf-dkim-dmarc-rdns\/\">guide to SPF, DKIM, DMARC and rDNS<\/a> covers these checks. Correct authentication helps diagnose mail problems but does not guarantee inbox delivery.<\/p>\n<p>When changing mail providers, reduce the MX TTL early enough for its previous value to expire. Prepare the new service and DKIM keys before switching, and keep all still-active senders authorized in one SPF policy during overlap. Do not remove old DKIM keys while messages signed with them still need verification. Keep old mail reception and any queued-mail handling available through the transition; a DNS rollback also takes time to reach caches.<\/p>\n<h2 id=\"section-5\"><span id=\"TXT_The_Sticky_Notes_of_DNS_Verification_SPF_and_More\">TXT: The Sticky Notes of DNS (Verification, SPF, and More)<\/span><\/h2>\n<h3><span id=\"TXT_is_where_the_internet_checks_your_notes\">TXT is where the internet checks your notes<\/span><\/h3>\n<p>TXT records are the general-purpose notepad for your domain. They get used for SPF policies, ownership verification (think Google, Microsoft, various SaaS tools), domain keys for DKIM, ACME challenges for certificate issuance, and a bunch of vendor-specific settings. If a service asks you to \u201cadd a TXT record,\u201d they\u2019re usually proving you control the domain or asking you to publish a policy.<\/p>\n<p>A TXT resource record may contain several character strings, each at most 255 bytes. Applications such as SPF and DKIM concatenate the strings within one record without adding spaces. This is different from publishing several separate SPF records. Zone-file quotes are syntax; some DNS panels expect the value without surrounding quotes. Follow the panel\u2019s format and query the published TXT data to check the resulting value.<\/p>\n<h3><span id=\"The_SPF_rabbit_hole\">The SPF rabbit hole<\/span><\/h3>\n<p>Publish only one v=spf1 TXT record at a given owner name; unrelated verification TXT records can coexist. SPF evaluation permits at most 10 DNS-querying terms, including nested include and redirect processing; exceeding the limit produces <strong>permerror<\/strong>, not a silent pass or ordinary fail. The limit is not simply the count of include entries in the top-level string. A final -all produces fail and ~all produces softfail; neither choice enables reporting, and receiver policy determines message handling.<\/p>\n<h2 id=\"section-6\"><span id=\"SRV_The_Service_Locator_Record_Most_People_Forget\">SRV: The \u201cService Locator\u201d Record Most People Forget<\/span><\/h2>\n<h3><span id=\"What_SRV_really_does\">What SRV really does<\/span><\/h3>\n<p>SRV records are like a concierge telling clients exactly where to find a service: which hostname, which port, which priority, and even a weighting for basic load spreading. You\u2019ll see SRV used for things like SIP, XMPP, Minecraft servers, and some enterprise services. The name includes the service and protocol, like _sip._tcp.example.com. The record itself points to a target hostname and port.<\/p>\n<p>An SRV target must be a hostname with direct A\/AAAA records, not an IP address or CNAME alias. A target of a single dot (.) explicitly indicates that the service is unavailable at that domain. In a zone file, the trailing dot on a complete hostname prevents it being interpreted relative to the zone; a DNS panel may normalize the name for you. Confirm how your editor represents the target.<\/p>\n<p>SRV clients try reachable targets with the lowest numerical priority first. Within the same priority, weight controls relative selection probability; it is not a guaranteed traffic percentage or health check. The application and protocol must support SRV discovery. Adding SRV does not cause ordinary web browsers or every application to use a new port automatically.<\/p>\n<h2 id=\"section-7\"><span id=\"CAA_The_Bouncer_for_Your_SSL_Certificates\">CAA: The Bouncer for Your SSL Certificates<\/span><\/h2>\n<h3><span id=\"Only_the_CAs_you_trust_should_issue_certs\">Only the CAs you trust should issue certs<\/span><\/h3>\n<p>CAA restricts which certificate authorities may issue certificates for a name when an applicable policy is present. It reduces the permitted issuer set for CAs that comply with the policy; it does not replace domain-control validation or prevent every possible misissuance. CAA does not revoke existing certificates or tell browsers whether an already issued certificate is valid.<\/p>\n<p>For example, an issue property can authorize <a href=\"https:\/\/letsencrypt.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Let\u2019s Encrypt<\/a> using its issuer identifier letsencrypt.org. The issue policy also governs wildcard issuance unless an applicable issuewild property overrides it. The iodef tag provides a reporting contact, not an issuance restriction or a notification guarantee. CAA lookup uses the nearest applicable record set while following aliases and checking parent names, so inspect the policy applicable to each requested certificate name.<\/p>\n<p>Check the CA\u2019s diagnostic error when issuance fails; CAA policy is one possibility alongside challenge failures, DNSSEC validation errors and unreachable DNS servers. A staging request can help test the intended name without requesting a production certificate. A different test subdomain may inherit different CAA records, so its success does not establish that the production name is authorized.<\/p>\n<h2 id=\"section-8\"><span id=\"Nameservers_Delegation_and_the_Mysterious_Glue\">Nameservers, Delegation, and the Mysterious Glue<\/span><\/h2>\n<h3><span id=\"Whos_actually_in_charge_of_your_zone\">Who\u2019s actually in charge of your zone?<\/span><\/h3>\n<p>When you register a domain, the registrar points the world to your nameservers via NS records at the registry. Those nameservers are authoritative for your zone; they publish your A, AAAA, MX, and friends. When things get weird, it\u2019s often because the parent (the registry side) and the child (your zone) disagree about which nameservers to trust. If you changed nameservers recently, the parent might still be pointing to the old set.<\/p>\n<p>Glue records show up when your nameserver is inside your own domain. For example, ns1.example.com being the nameserver for example.com. That can create a chicken-and-egg problem: you need the NS to find the A record, but you need the A record to find the NS. Glue records solve that by putting the IP address at the parent so the loop doesn\u2019t form. If your domain uses in-bailiwick nameservers like that, make sure your registrar has the correct glue on file. Outdated glue causes the kind of intermittent resolution issues that make you question your life choices.<\/p>\n<h3><span id=\"Bonus_DNSSEC_without_the_headache\">Bonus: DNSSEC without the headache<\/span><\/h3>\n<p>DNSSEC lets validating resolvers check DNS data origin and integrity through a chain of trust; it does not encrypt DNS queries or secure the application itself. A parent DS record that no longer matches the zone\u2019s keys can cause validation failures. Plan signing-key and nameserver changes together. See <a href=\"https:\/\/www.dchost.com\/blog\/en\/dnssec-website-security-benefits-and-limits\/\">the DNSSEC guide<\/a> and <a href=\"https:\/\/dnsviz.net\/\" rel=\"nofollow noopener\" target=\"_blank\">inspect the chain with DNSViz<\/a>; a diagnostic report still needs interpretation and does not replace application testing.<\/p>\n<h2 id=\"section-9\"><span id=\"Propagation_Myths_TTLs_and_How_to_Test_Changes\">Propagation Myths, TTLs, and How to Test Changes<\/span><\/h2>\n<h3><span id=\"TTL_Publication_and_Delegation_All_Matter\">TTL, Publication and Delegation All Matter<\/span><\/h3>\n<p>Cache expiry explains many differences between users, but it is not the only source of delay or error. Authoritative servers may disagree, delegations or glue may be stale, and DNSSEC validation may fail. Some resolvers can serve stale answers when they cannot refresh them from authoritative servers. There is no universal \u201cpropagation complete\u201d deadline; compare response codes, targets and TTLs from multiple points.<\/p>\n<p>First query every authoritative nameserver and compare the answers. Then check public or local resolvers to see what those resolvers return. <a href=\"https:\/\/toolbox.googleapps.com\/apps\/dig\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Admin Toolbox dig<\/a> is useful for quick record lookups; a local dig query can target a specific server. If a resolver differs, inspect caching, delegation, DNSSEC and reachability rather than assuming that waiting is the only fix.<\/p>\n<h3><span id=\"Negative_caching_and_the_mystery_of_the_vanished_record\">Negative caching and the mystery of the vanished record<\/span><\/h3>\n<p>Negative caching remembers NXDOMAIN (name does not exist) or NODATA (the requested record type is absent). Its TTL is derived from the smaller of the authoritative SOA record\u2019s TTL and SOA.MINIMUM. Adding a new positive record or lowering that record\u2019s TTL does not erase an already cached negative answer. Check the response\u2019s authority section and remaining TTL before changing unrelated records.<\/p>\n<p>For a planned cutover, record the current values, prepare and test the new service, lower TTLs with the previous cache lifetime in mind, and change only the relevant records. Keep the old destination available until the transition is verified. Coordinate writes and data synchronization separately; DNS changes do not synchronize a database or finish a rollback immediately.<\/p>\n<h2 id=\"section-10\"><span id=\"Common_Pitfalls_and_How_to_Dodge_Them\">Common Pitfalls (and How to Dodge Them)<\/span><\/h2>\n<h3><span id=\"A_checklist_of_record_and_target_mistakes\">A checklist of record and target mistakes<\/span><\/h3>\n<p>Mixing CNAME with other records at the same name. This one bites a lot of people. If \u201cwww\u201d has a CNAME, don\u2019t also give \u201cwww\u201d an MX or TXT. Most providers will warn you, but not all.<\/p>\n<p>MX pointing to a CNAME. It might work sometimes, but it\u2019s against the rules and can fail in surprising ways. Point MX to a hostname that resolves directly to A\/AAAA.<\/p>\n<p>Publishing AAAA before IPv6 is ready. Confirm routing, firewall rules, service listeners and TLS over IPv6 before adding the record. Test the resulting experience; an address allocation is not proof of working connectivity or a fixed speed improvement.<\/p>\n<p>SPF records that are too long or too many. Keep it to one SPF record per name. Watch those \u201cinclude:\u201d chains and lookup limits. If you\u2019re stuck, consolidate or ask your provider for a simpler include path.<\/p>\n<p>TXT formatting mistakes. Distinguish the provider\u2019s DNS-panel input format from a zone-file example. Check the record owner as well as quotes, spaces and long-string splitting, then query the published value. One SPF record may have several strings; it must not become several competing v=spf1 records.<\/p>\n<p>SRV target set to an IP address or CNAME. Use a direct address-bearing hostname, and verify the port and application\u2019s SRV support. A trailing dot matters in zone files; the editor may handle it differently.<\/p>\n<p>CAA blocking certificate issuance. Check that the applicable issue and issuewild policy authorizes the intended issuer. Use the CA\u2019s error details to distinguish a policy restriction from DNS lookup, DNSSEC or challenge failures.<\/p>\n<p>Forgetting about the apex when using CDNs. Many CDNs rely on CNAMEs, which can\u2019t live at the root without special provider features like ALIAS\/ANAME or flattening. Plan for that early to avoid last-minute scrambling.<\/p>\n<p>Mismatched parent\/child NS records and stale glue. If nameserver changes don\u2019t seem to stick, check what the registry says. It might be pointing to the wrong place even though your zone looks perfect.<\/p>\n<p>Lowering TTL only at cutover time. Existing caches keep the earlier lifetime, so plan ahead for the previous TTL and negative responses. DNSSEC or delegation errors need correction; a shorter TTL alone cannot resolve them.<\/p>\n<p>Assuming DNS alone will speed up a slow site. DNS can\u2019t compress images, tune PHP, or cache HTML. It\u2019s foundational, not a silver bullet. For performance gains, pair solid DNS with smart caching and delivery strategies. If you\u2019re exploring that path, it\u2019s worth learning <a href=\"https:\/\/www.dchost.com\/blog\/en\/what-is-content-delivery-network-cdn\/\">how a CDN improves performance<\/a> and when to use one.<\/p>\n<h2 id=\"section-11\"><span id=\"Applying_the_Checks_to_Common_Changes\">Applying the Checks to Common Changes<\/span><\/h2>\n<h3><span id=\"1_Moving_a_site_to_a_new_host\">1) Moving a site to a new host<\/span><\/h3>\n<p>For a hypothetical store migration, prepare the destination, test its hostname and TLS behavior, and record the existing A\/AAAA values. Lower TTLs before the move, allowing for the previous values. Coordinate a final data sync or write freeze, switch DNS and monitor both destinations for errors. Retain a recovery copy and an explicit rollback plan; a low TTL cannot guarantee a migration without interruption.<\/p>\n<h3><span id=\"2_Switching_mail_providers\">2) Switching mail providers<\/span><\/h3>\n<p>For a mail-provider change, set up domains and pilot inboxes first. Prepare the new DKIM signing key and ensure the single SPF policy authorizes all active senders during the overlap. Switch MX only after incoming and outgoing tests succeed. Review DMARC alignment and delayed aggregate reports before tightening policy; old mail reception and DKIM validation may still be needed during the transition.<\/p>\n<h3><span id=\"3_Enabling_IPv6_without_drama\">3) Enabling IPv6 without drama<\/span><\/h3>\n<p>For IPv6 rollout, first verify an actual IPv6 route to the service and test its firewall, listener and certificate behavior. Then publish AAAA while retaining the required IPv4 route. Observe both successful and failed connections from representative networks. If a problem appears, removing AAAA is subject to caching, so fix the service or plan recovery accordingly.<\/p>\n<h2 id=\"section-12\"><span id=\"Testing_and_Troubleshooting_Without_Losing_Your_Mind\">Testing and Troubleshooting Without Losing Your Mind<\/span><\/h2>\n<h3><span id=\"Keep_a_simple_checklist\">Keep a simple checklist<\/span><\/h3>\n<p>When troubleshooting, check four layers. First, do all authoritative nameservers publish the intended record? Second, what response code, target and TTL do relevant resolvers return? Third, do target hostnames resolve directly where required, especially MX and SRV? Fourth, do application behavior, mail-authentication policy, CAA or DNSSEC explain the failure? Separate DNS correctness from successful web or mail transactions.<\/p>\n<p>Use <a href=\"https:\/\/toolbox.googleapps.com\/apps\/dig\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Admin Toolbox dig<\/a> for record lookups or a local DNS tool when you need a chosen server. <a href=\"https:\/\/dnsviz.net\/\" rel=\"nofollow noopener\" target=\"_blank\">DNSViz<\/a> can help inspect DNSSEC and delegation. For mail tests, inspect the receiving system\u2019s trusted Authentication-Results header for SPF, DKIM and DMARC results and their domains; the mere presence of a DKIM-Signature header does not prove that it verified.<\/p>\n<h2 id=\"section-13\"><span id=\"Security_Touchpoints_Youll_Thank_Yourself_For\">Security Touchpoints You\u2019ll Thank Yourself For<\/span><\/h2>\n<h3><span id=\"Start_small_win_early\">Start small, win early<\/span><\/h3>\n<p>Security often feels like a huge project, but small steps count. Add a CAA policy that authorizes only the CAs you use. Sign your zone with DNSSEC if your provider makes it straightforward. Rotate DKIM keys periodically (your mail provider should help with this). And when you go to renew or add certificates, remember that using a trusted CA such as <a href=\"https:\/\/letsencrypt.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Let\u2019s Encrypt<\/a> can be automated nicely, especially when your DNS supports ACME DNS challenges.<\/p>\n<p>If you\u2019re curious about the broader security picture beyond DNS, it\u2019s worth pairing proper DNS with strong HTTPS configurations and sensible headers. When you have a minute, take a look at setting up security headers the safe way in this approachable guide: <a href=\"https:\/\/www.dchost.com\/blog\/en\/http-security-headers-hsts-csp\/\">The Friendly Guide to HTTP Security Headers<\/a>. It complements a well-configured DNS setup beautifully.<\/p>\n<h2 id=\"section-14\"><span id=\"Bringing_It_All_Together\">Bringing It All Together<\/span><\/h2>\n<p>A and AAAA map names to addresses and can coexist with other ordinary records. CNAME creates an alias and cannot share its owner with ordinary A, AAAA, MX or TXT data. MX routes incoming mail to address-bearing hostnames. TXT carries policy, keys and verification values; each application defines the expected name and format. SRV supplies service locations to supporting clients, and CAA constrains permitted certificate issuers.<\/p>\n<p>Along the way, keep TTLs in mind, check authoritative publication and delegation as well as caching, and test from the authoritative source and a couple of public resolvers. When things look odd, start small: is the record right? Does the target resolve? Are policies interfering? You don\u2019t need to memorize every rule\u2014just know where to look and keep a calm head.<\/p>\n<p>I hope this walk-through demystified the alphabet soup in your DNS panel. If it saved you a headache or two, that\u2019s a win in my book. And hey, if you\u2019re diving deeper into email trust, don\u2019t miss the <a href=\"https:\/\/www.dchost.com\/blog\/en\/email-deliverability-spf-dkim-dmarc-rdns\/\">practical SPF\/DKIM\/DMARC guide<\/a>. For better performance, get comfy with how <a href=\"https:\/\/www.dchost.com\/blog\/en\/what-is-content-delivery-network-cdn\/\">CDNs fit into the picture<\/a>. And if you\u2019ve been meaning to bring more integrity to your DNS responses, check out the friendly primer on <a href=\"https:\/\/www.dchost.com\/blog\/en\/dnssec-website-security-benefits-and-limits\/\">DNSSEC basics<\/a>. Hope this was helpful! See you in the next post, and may your records always resolve the first time.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Learn which DNS records can coexist, why MX and SRV targets need direct addresses, and how TTLs affect changes. Use practical mail, CAA and DNSSEC checks to diagnose faults and plan migrations.<\/p>\n","protected":false},"author":1,"featured_media":8939,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[168],"tags":[],"class_list":["post-1265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/posts\/1265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/comments?post=1265"}],"version-history":[{"count":5,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/posts\/1265\/revisions"}],"predecessor-version":[{"id":8941,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/posts\/1265\/revisions\/8941"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/media\/8939"}],"wp:attachment":[{"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/media?parent=1265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/categories?post=1265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dchost.com\/blog\/en\/wp-json\/wp\/v2\/tags?post=1265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}