<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 25/11/2020 14:23, Rudy Setiawan via
      Pdns-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANBm63+w=nC7UQ_Wd1UixG0m7hesh9xVjd9k-X-WasNo57VCWg@mail.gmail.com">
      <div>So sorry I think there is a misunderstanding, I am not
        thinking of replacing an existing rrset but more of adding a new
        rrset with the same hostname but different IP address.</div>
      <div><br>
      </div>
      <div>For example:</div>
      <div><a href="http://app.test.com" moz-do-not-send="true">app.test.com</a>
        IN A 1.1.1.1</div>
      <div><a href="http://app.test.com" moz-do-not-send="true">app.test.com</a>
        IN A 2.2.2.2</div>
      <div>and so on.</div>
      <div><br>
      </div>
      <div>Is there a way to do that?</div>
    </blockquote>
    <p>Notice that your original JSON data contains a *list* of records:</p>
    <p>                    "records": [<br>
                              {<br>
                                  "content": "2.2.2.2",<br>
                                  "disabled": false,<br>
                                  "type": "A",<br>
                                  "priority": 0<br>
                              }<br>
                          ]</p>
    <p>What you need to do is to provide a list with both records:</p>
    <p>                    "records": [<br>
                              {<br>
                                  "content": "1.1.1.1",<br>
                                  "disabled": false,<br>
                                  "type": "A",<br>
                                  "priority": 0<br>
                              },<br>
                              {<br>
                                  "content": "2.2.2.2",<br>
                                  "disabled": false,<br>
                                  "type": "A",<br>
                                  "priority": 0<br>
                              }<br>
                          ]</p>
    <p>This replaces the set of A records (rrset) with the provided
      data.<br>
    </p>
  </body>
</html>