Setting up an Ubiquiti EdgeRouter to use CloudFlare for Dynamic DNS

I am a huge fan of Ubiquiti’s products. I own a number of the EdgeRouter X, as well as a variety of the devices in the Unifi product line. I am also a huge fan of CloudFlare, and use them to host DNS for all of my domains. In addition to great performance and security features, CloudFlare makes a great dynamic DNS provider due to their combination of short default TTL, and a robust API.