API: Create multiple DNS entries with one POST

Hi there.
I’ve tried to pass more than one DNS record structure to the API POST, but it fails or only takes the first entry.

Is there any way to not do multiple POSTs if I want to add more that one DNS record at once?


Well, the API is pretty clear about what it accepts and that is not an array


You could import a BIND configuration file


1 Like

Hi Sandro,
thanks for your reply.

yes, I was hoping I was missing something

yes, that will work.
I didn’t notice there was a parameter to pass if the block of records imported should be proxied or not.
I was under the impression it wasn’t possible.
This will reduce the importing multiple records to two operations, one block of address is proxied and the other would not.

Thanks again for your reply.