Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Cloudflare DNS Failover with Monit - Replace DIUP in your scripts

howardsl2howardsl2 Member
edited January 2015 in General

Just a heads up for fellow LETers who use "Cloudflare DNS Failover with Monit" (http://blog.booru.org/?p=12). A few days ago the "DIUP" API method was finally removed from the Cloudflare API (after being deprecated for a few years and no longer exists in the API docs). It now results in error "E_INVLDINPUT".

If you have scripts that use "DIUP", you may want to update them to use the new API method "rec_edit". This blog post by Kevin O'Connor outlines the steps:
http://kevo.io/code/2012/11/07/cloudflare-dynamic-dns/

Hint: To make the JSON responses easier to read, add " | python -m json.tool" (without the quotes) to the end of the "curl" commands.

Comments

Sign In or Register to comment.