<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">I suggest you specify the version of
      pdns authoritative you're running, otherwise this isn't
      reproducible by anyone.  Also what backend you're using and how
      you're adding/removing records, although I'm guessing it's
      probably the bind backend.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 17/04/2023 12:50, Andrea Biancalani
      via Pdns-users wrote:<br>
    </div>
    <br>
    <blockquote type="cite"
      cite="mid:d77b4a97-e80c-31db-6721-6d21ef74f714@conmet.it"> 4) edit
      the zone example.com and modify contents like this<br>
      <br>
      <blockquote>
        <blockquote type="cite">@    IN ALIAS 60 mytest.example.com.<br>
          www IN CNANE 60 @.</blockquote>
      </blockquote>
      <br>
      <br>
      5) commit changes, it will popup an error<br>
      <br>
      <b><font color="#ff0000">RRset <a
            class="moz-txt-link-abbreviated"
            href="http://www.example.com" moz-do-not-send="true">www.example.com</a>.
          IN CNAME: Conflicts with pre-existing RRSET</font></b><br>
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>(assuming you meant "CNAME" not "CNANE")<br>
    </p>
    <p>The implication is that there is some other record for
      "<a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>"<br>
    </p>
    <p>What does the following command show at that point?</p>
    <p>dig @x.x.x.x <a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>. any</p>
    <p>(where x.x.x.x is your pdns-auth server's address)<br>
    </p>
    <br>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:d77b4a97-e80c-31db-6721-6d21ef74f714@conmet.it"> 6)
      delete now the www record and commit changes<br>
      7) create now the same record, as before<br>
      <br>
      <blockquote>
        <blockquote type="cite">@    IN ALIAS 60 mytest.example.com.<br>
          www IN CNANE 60 @.</blockquote>
      </blockquote>
      <br>
      <br>
      8) commit changes, and <i>voilà </i>... <font color="#008000"><b>SUCCESS:
          Applied changes successfully.<br>
        </b></font></blockquote>
    <p>Is it possible that you deleted other records for
      "<a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>" at the same time?<br>
    </p>
    <p>Again, what does "dig @x.x.x.x <a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>. any" show at this
      point, and is it different to case 5?</p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>