File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.2.0] - 2024-12-16
9+
10+ ### Added
11+
12+ - Added additional context to IP fetch errors
13+
14+ ### Changed
15+
16+ - Updated to rust 1.83.0
17+ - Updated default ttl, proxied, and comment values for Cloudflare
18+ - Refactored Cloudflare provider update operations into separate functions
19+
20+ ### Fixed
21+
22+ - Fixed a bug where an empty update could make it though to provider updates
23+ - Fixed pluralized domain struct
24+
825## [ 0.1.0] - 2024-11-09
926
1027### Added
Original file line number Diff line number Diff line change @@ -66,29 +66,36 @@ type = "stun"
6666* ` type ` - The provider type. Must be ` cloudflare `
6767* ` zone ` - The zone root domain to update
6868* ` api_token ` - Cloudflare API token with the ` Zone.DNS Edit ` permission
69+ * ` api_url ` - Optional API URL, default is ` https://api.cloudflare.com/client/v4 `
6970* ` domains ` - A list of domains to update
7071 * ` name ` - The full domain name to update (Required)
7172 * ` ttl ` - The TTL for the record, default is ` 1 ` (Auto)
7273 * ` proxied ` - Whether the record is proxied through Cloudflare, default is ` false `
73- * ` comment ` - A comment to add to the record
74+ * ` comment ` - A comment to add to the record, default is ` Created by DDRS `
7475
7576``` toml
7677[[providers ]]
7778type = " cloudflare"
7879zone = " domain.com"
7980api_token = " TOKEN"
8081
82+ [[providers .domains ]]
83+ name = " domain.com"
84+ ttl = 1
85+ proxied = false
86+ comment = " Root domain"
87+
8188[[providers .domains ]]
8289name = " *.domain.com"
8390ttl = 1
8491proxied = false
8592comment = " Wildcard subdomain"
8693
8794[[providers .domains ]]
88- name = " domain.com"
95+ name = " sub. domain.com"
8996ttl = 1
9097proxied = false
91- comment = " Root domain "
98+ comment = " Subdomain "
9299```
93100
94101## Deployment
You can’t perform that action at this time.
0 commit comments