<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 26/03/2021 20:29, Larry Wapnitsky
via Pdns-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:31827618.2.1616790545482@localhost">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre class="moz-quote-pre" wrap="">I'm looking to replace A records with CNAMES, and have been able to do so seamlessly on one of my domains, but another keeps giving me errors relating to RRSET conflict ( IN CNAME: Conflicts with pre-existing RRset).
</pre>
<blockquote type="cite" style="color: #007cff;">
<pre class="moz-quote-pre" wrap="">I've deleted the necessary A records, yet keep running into the same issue.</pre>
</blockquote>
</div>
</blockquote>
<p>At any given point in the tree, you can't have both a CNAME and
any other resource record.</p>
<p>foo.bar.baz. IN MX mail.example.com.<br>
foo.bar.baz. IN CNAME abc.def.ghi. ; NOT ALLOWED because
it conflicts with the MX record<br>
</p>
<p>This is most commonly a problem at the apex of a zone, where
there are already SOA and NS records.</p>
<p>The 'ALIAS' pseudo-RR exists to solve this problem. It's not
served directly, but when an incoming A/AAAA request arrives, the
right-hand side of the ALIAS record is resolved (externally), and
then the result of that is returned as the result of the original
query.</p>
<p>See: <a class="moz-txt-link-freetext" href="https://doc.powerdns.com/authoritative/guides/alias.html">https://doc.powerdns.com/authoritative/guides/alias.html</a></p>
<p><br>
</p>
</body>
</html>