-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Documentation for Cloudflare #5723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5cd6135
Initial documentation for Cloudflare
ludeeus 25a6c73
Corrected typo
ludeeus d6c1b2b
:pencil2: Tweaks
frenck c9cb52f
:pencil2: Tweaks
frenck 2f94f50
Changed records to be required
ludeeus 8421b2c
correction about records
ludeeus f3360c7
Minor changes
fabaff 9bb36cf
changed ha_release
ludeeus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| layout: page | ||
| title: "Cloudflare" | ||
| description: "Automatically update your Cloudflare DNS records." | ||
| date: 2018-07-10 20:08 | ||
| sidebar: true | ||
| comments: false | ||
| sharing: true | ||
| footer: true | ||
| logo: cloudflare.png | ||
| ha_category: Utility | ||
| featured: false | ||
| ha_release: 0.74 | ||
| --- | ||
|
|
||
| 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. | ||
|
|
||
| ## {% linkable_title Setup %} | ||
|
|
||
| You will find your global API key in your Cloudflare account settings. | ||
|
|
||
| ## {% linkable_title Configuration %} | ||
|
|
||
| To use the component in your installation, add the following to your `configuration.yaml` file: | ||
|
|
||
| ```yaml | ||
| # Example configuration.yaml entry | ||
| cloudflare: | ||
| email: user@example.com | ||
| api_key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41 | ||
| zone: example.com | ||
| records: | ||
| - bin | ||
| - www | ||
| ``` | ||
|
|
||
| {% configuration cloudflare %} | ||
| email: | ||
| description: The email address for your Cloudflare account. | ||
| required: true | ||
| type: string | ||
| api_key: | ||
| description: The global API key for your Cloudflare account. | ||
| required: true | ||
| type: string | ||
| zone: | ||
| description: The DNS zone you want to update. | ||
| required: true | ||
| type: string | ||
| records: | ||
| description: A list of records you want to update. | ||
| required: true | ||
| type: list | ||
| {% endconfiguration %} | ||
|
|
||
| This platform uses the API from [ipify.org](https://www.ipify.org/) to set the public IP address. | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We try to keep all configuration samples minimal. Thus, no optional requirement in the default sample. This helps a user to get started quickly by copy-&-paste the sample without worrying about optional parameters which they most likely not need. If required, insert a full configuration sample later that covers special setups or alike.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comment is no longer valid.