The fella I tried to contact either hasn’t checked his mail, or wont respond.
So I have endeavoured to create my own from scratch but hit a few stumbling blocks.
So far I can retrieve data from the API using dns-list_records, and manipulate that data within my application (listviews etc…)
But I’m confused as to how you update/edit an editable record.
The api only shows list/add/remove… So how would one go about amending a record? -
by removing it first, or will add automatically update the record if it already exists?
(If you have to remove then re-add, would it not be worth suggesting an additional “update” function to the api?
Would make processing all that bit simpler )
And, will all and only custom DNS records have the editable “1” value? - I want to filter the dns-list_records result by custom entries only.
Also, on a side note, I have been thinking about how I can verify that a key exists / is valid for the use my application has for it.
What would you guys suggest I use to verify that the key has full DNS- access, or are you stuck trusting the user to have enabled it?
I ask only because I can test using dns-list_records, and it will succeed if it’s valid but how do you test for add/remove?
Probably a dumb question but I want to make sure anyway, when structuring the URL for the API, is this following a valid method?
(the api-key isn’t mine btw, it’s the example from the wiki but it only has list available to it, and I’m at work so I can’t test this rigght now)