Closed ShaneMcC closed 5 years ago
I've added this to the experimental API, and you should now be able to do something like:
or if you want dynamic stuff:
Docs at: https://ddns.experimental.api.mydnshost.co.uk/experimental/ddns/docs/
Gonna leave this under experimental for now, may or may not get promoted.
Something like https://api.mydnshost.co.uk/1.0/something{domain}/{domainkey}/record/{rrname}/{rrtype}?value=
Removes all the {rrname}.{domain} records of {rrtype} and replaces them with
<foo>
. Optionally some special value for "whatever IP requests the page". Should accept POST or GET for the value. (POST because things should be POST if they change things. GET to make it nicer for generic things to poke it).Currently using the API it would need to be something like:
Or a bit nicer: