<div dir="ltr"><div dir="ltr">Awesome, thanks! Kevin, Brian for the explanation.<br></div><div><br>Cheers,</div><div>Rudy</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 25, 2020 at 9:41 PM Brian Candler <<a href="mailto:b.candler@pobox.com">b.candler@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 25/11/2020 14:23, Rudy Setiawan via
Pdns-users wrote:<br>
</div>
<blockquote type="cite">
<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" target="_blank">app.test.com</a>
IN A 1.1.1.1</div>
<div><a href="http://app.test.com" target="_blank">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>
</div>
</blockquote></div></div>