Cloudflare


With the cloudflare component can you keep your Cloudflare records up to date.

The component will run every hour, but can also be started manually by using the service cloudflare.update_records under services.

Setup

You will find your global API key in your Cloudflare account settings.

Configuration

To use the component in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
cloudflare:
  email: YOUR_EMAIL_ADDRESS
  api_key: YOUR_GLOBAL_API_KEY
  zone: EXAMPLE.COM
  records:
    - bin
    - www

Configuration Variables

email

(string)(Required)The email address for your Cloudflare account.

api_key

(string)(Required)The global API key for your Cloudflare account.

zone

(string)(Required)The DNS zone you want to update.

records

(list)(Required)A list of records you want to update.

This platform uses the API from ipify.org to set the public IP address.