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.
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
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
If you're using external monitoring tools like uptime robot or statuscake, check out uptime flare and statuscake-cloudflare