[EXPERIMENTAL] Support for DDNS-Friendly based record updates.



This API is available under https://api.mydnshost.co.uk/experimental/ddns/.

Methods Available

/ping
method

The
/ping
endpoint behaves the same as the version 1.0 API
/ping
method.

/setrecord
method

The
/setrecord
method is supported as either a
GET
or
POST
for maximum compatibility. You must pass a single parameter of
"content"
as either formdata for
POST
or within the query-string for
GET
. Alternatively, you can pass a parameter of
"dynamiccontent"
instead of
"content"
. The value of this can be one of: myip (Caller IP), myip4 (Caller IP, only if it is IPv4), myip6 (Caller IP, only if it is IPv6), time (Current time as unixepoch). Using this will dynamically set the value of
"content"
. If the value generated is not compatible with the rrtype given, it will result in an error.
Calling this endpoint will delete all records with the given rrname and rrtype. And then create a new record with value given (or do nothing if an empty value is given.)

The response provided is similar to that from providing records to delete and create via the version 1.0 API
/domain/example1.org/records
method.

Authentication

Authentication is handled by the domain and domain-key in the URL.