<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CNAME on StackOnward</title><link>https://stackonward.com/tags/cname/</link><description>Recent content in CNAME on StackOnward</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 11 Sep 2026 04:12:00 +0800</lastBuildDate><atom:link href="https://stackonward.com/tags/cname/index.xml" rel="self" type="application/rss+xml"/><item><title>DNS Record Types: A, AAAA, CNAME, TXT, and CAA</title><link>https://stackonward.com/posts/dns-record-types/</link><pubDate>Fri, 11 Sep 2026 04:12:00 +0800</pubDate><guid>https://stackonward.com/posts/dns-record-types/</guid><description>&lt;p&gt;DNS record types A, AAAA, CNAME, TXT, and CAA store different answers. A and AAAA hold the server address. CNAME holds another name so a CDN or host can keep the later addresses. TXT holds ownership proofs and mail policy. CAA names which certificate authorities may issue.&lt;/p&gt;
&lt;p&gt;When the hostname should reach a server you control, publish A or AAAA. When the platform issues a hostname instead of a stable IP, publish CNAME. TXT and CAA do not send traffic; they only constrain verification and issuance.&lt;/p&gt;
&lt;figure&gt;
 &lt;img src="https://stackonward.com/images/posts/dns-record-types/en/dns-record-map.svg" alt="How DNS record types A, AAAA, CNAME, TXT, and CAA split between traffic routing and stored policy" loading="lazy" decoding="async"&gt;
 &lt;figcaption&gt;A, AAAA, and CNAME decide where traffic goes. TXT and CAA store verification, policy, or certificate limits.&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="how-dns-record-types-a-aaaa-cname-txt-and-caa-differ"&gt;How DNS record types A, AAAA, CNAME, TXT, and CAA differ&lt;/h2&gt;
&lt;div class="table-responsive" role="region" aria-label="Scrollable table" tabindex="0"&gt;
 &lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Record&lt;/th&gt;
					&lt;th&gt;Value&lt;/th&gt;
					&lt;th&gt;Common job&lt;/th&gt;
					&lt;th&gt;Usual failure&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;A&lt;/td&gt;
					&lt;td&gt;IPv4 address&lt;/td&gt;
					&lt;td&gt;Point a name at an IPv4 server&lt;/td&gt;
					&lt;td&gt;The server IP changed and the record did not&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;AAAA&lt;/td&gt;
					&lt;td&gt;IPv6 address&lt;/td&gt;
					&lt;td&gt;Point a name at an IPv6 server&lt;/td&gt;
					&lt;td&gt;IPv6-capable networks try an address the service cannot serve&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;CNAME&lt;/td&gt;
					&lt;td&gt;Another name&lt;/td&gt;
					&lt;td&gt;CDN, hosted platform, object storage&lt;/td&gt;
					&lt;td&gt;The same owner also has A, TXT, or MX&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;TXT&lt;/td&gt;
					&lt;td&gt;A text string&lt;/td&gt;
					&lt;td&gt;Domain ownership, SPF, DKIM, DMARC&lt;/td&gt;
					&lt;td&gt;The console appended the zone, or the copied value gained a space&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;CAA&lt;/td&gt;
					&lt;td&gt;A CA identifier&lt;/td&gt;
					&lt;td&gt;Limit which issuers may mint certificates&lt;/td&gt;
					&lt;td&gt;The CA already in use is missing, so renewal fails&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;p&gt;Consoles label the DNS name as Host, Name, or Record name. Each record still has a name, a type, a value, and a TTL. &lt;a href="https://docs.cloud.google.com/dns/docs/records-overview" target="_blank" rel="noopener"&gt;Google Cloud DNS records overview&lt;span class="sr-only"&gt;(opens in a new tab)&lt;/span&gt;&lt;/a&gt; lists common uses. A and CNAME semantics are in &lt;a href="https://www.rfc-editor.org/rfc/rfc1034" target="_blank" rel="noopener"&gt;RFC 1034&lt;span class="sr-only"&gt;(opens in a new tab)&lt;/span&gt;&lt;/a&gt;. AAAA is &lt;a href="https://www.rfc-editor.org/rfc/rfc3596" target="_blank" rel="noopener"&gt;RFC 3596&lt;span class="sr-only"&gt;(opens in a new tab)&lt;/span&gt;&lt;/a&gt;. CAA is &lt;a href="https://www.rfc-editor.org/rfc/rfc8659" target="_blank" rel="noopener"&gt;RFC 8659&lt;span class="sr-only"&gt;(opens in a new tab)&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>