Cloudflare
With the Cloudflare integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more], you can keep your Cloudflare DNS records up to date.
The integration runs every hour, but can also be triggered by running the cloudflare.update_records
action.
Requirements
The setup requires an API Token created with Zone:Zone:Read
and Zone:DNS:Edit
permissions for all zones in your account.
An easy way to create this is to start with the “Edit zone DNS” template then add Zone:Zone:Read
to the permissions.
配置
要将 Cloudflare integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 Cloudflare。
-
按照屏幕上的说明完成设置。
Additional information
Usage of external service
This integration uses the whoami service from home-assistant/services.home-assistant.io
Limitations
Unusable TLDs
Due to a limitation in the Cloudflare API, you can not use this integration with any of the following TLD’s:
.cf
.ga
.gq
.ml
.tk
Record types
This integration can only update A records.
Zones
This integration can only have 1 instance and manage 1 Zone/TLD.
Reconfiguration
This integration must be deleted and re-added to change the Zone and A record selection. You cannot view which records were selected or view the API Token once the integration is configured.