4

Fields 'name' and 'value' are swapped when adding NS records via API


M
Marieke

When adding an NS record to a domain via the API (with method CMD_DNS_CONTROL), the data below needs to be posted. The name and value of the record need to be sent swapped (name:valuevalue and value:namevalue), otherwise the record is not added.

I would like to be able to post the record with name:namevalue and value:valuevalue.

domain: example.com
type: NS
name: n2.example2.com.
value: example.com.
affect_pointers: yes
json: yes
action: add

A