CMD_API_DNS_CONTROL & NS records
Hello,
I'm currently creating one big class to handle all kind of Direct admin commands via API.
I noticed that once I create a DNS record with "CMD_API_DNS_CONTROL" the NS records are not created correctly:
The next header I send to the above page:
domain=domain.com&action=add&type=NS&name=zzzz&value=192.168.1.1
with the following record as result:
name type value
192.168.1.1 NS zzzz
If you look close, you see that the value and the name are swaped around!
On the server version 1.35.1 is running (the laters one)
I hope this bug can be fixed soon, since i think its just a matter of swapping those 2 strings back to the correct order.
Best regards,
Jeffrey
Hello,
I'm currently creating one big class to handle all kind of Direct admin commands via API.
I noticed that once I create a DNS record with "CMD_API_DNS_CONTROL" the NS records are not created correctly:
The next header I send to the above page:
domain=domain.com&action=add&type=NS&name=zzzz&value=192.168.1.1
with the following record as result:
name type value
192.168.1.1 NS zzzz
If you look close, you see that the value and the name are swaped around!
On the server version 1.35.1 is running (the laters one)
I hope this bug can be fixed soon, since i think its just a matter of swapping those 2 strings back to the correct order.
Best regards,
Jeffrey
Last edited: