Repository navigation
Closed
Labels
area: proxyProxy host configuration and request forwarding.area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or request
Milestone
Description
Summary
Replace the record-update function of a separate Cloudflare DDNS container. RentnerProxy must update only explicitly selected records across multiple zones when the public IPv4 or optional IPv6 address changes.
Scope
- Define explicit DDNS targets for apex names, wildcard names, and individual subdomains, independently of whether a Proxy Host exists.
- Discover and validate public IPv4/IPv6 addresses with bounded requests. IPv6 is optional and can be disabled.
- Preview existing records and explicitly adopt or create selected A/AAAA records. Detect CNAME/duplicate-record conflicts and invalid zone/name combinations.
- Configure Cloudflare proxy status per record, including exceptions such as an unproxied Git service.
- Compare the desired content and proxy setting with current provider state and write only changed records.
Acceptance criteria
- One synchronization handles multiple zones, apex names, wildcard names, and explicitly named subdomains.
- A per-record proxy override works without changing unrelated records.
- Disabling IPv6 does not create, modify, or delete existing AAAA records.
- Invalid, empty, private, or failed IP discovery results never replace a working record.
- Conflicting records require an explicit resolution; unrelated records and ACME TXT challenges are never overwritten or deleted.
- Results distinguish unchanged, updated, skipped, and failed targets; one target failure does not hide successes elsewhere.
- Repeated synchronization of unchanged state performs no unnecessary writes.
Verification
- Use a controlled Cloudflare API and IP-discovery fixture to cover address changes, dual stack/IPv4-only operation, wildcard/apex names, proxy exceptions, conflicts, partial failure, and idempotency.
Context
- Cloudflare record API: https://developers.cloudflare.com/api/resources/dns/subresources/records/methods/edit/
Dependencies and order
Implementation step: B2-02
Priority: P1 / DDNS engine
Prerequisites: #230 (B2-01).
Roadmap: v1.0.0-beta.2. Follow the numbered milestone sequence for a straightforward step-by-step implementation.
Metadata
Metadata
Assignees
Labels
area: proxyProxy host configuration and request forwarding.area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or request
Activity
RentnerKev commentedon Oct 17, 2026
Implemented and verified in merged PR #246. Tracking B2-02 as completed.