Marketplace
<div align="center"> <h3>Premium sponsors</h3> <p><a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a></p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>
Cloudflare DNS
OtherCloudflare DNS records driver.
togo-framework
bash
togo install togo-framework/dns-cloudflareInstall
bash
togo install togo-framework/dns-cloudflareCloudflare authoritative-DNS driver for togo's dns
subsystem. Manages records over the Cloudflare v4 API (token auth).
Config
Env | Meaning |
|---|---|
| DNS_DRIVER | set to cloudflare |
| CLOUDFLARE_API_TOKEN | API token with DNS:Edit on the zone (required) |
| CLOUDFLARE_ZONE_ID | default zone id (optional — can pass per call) |
Rows per page
1–3 of 3Page 1 of 1
go
svc, _ := dns.FromKernel(k)
svc.UpsertRecord(ctx, "", dns.Record{Type: "A", Name: "app", Content: "203.0.113.10", Proxied: true})
UpsertRecord is idempotent: it updates an existing record of the same
type+name, otherwise creates one. Proxy hosts / gateway routes return
dns.ErrUnsupported.
<div align="center"> <h3>Premium sponsors</h3> <p><a href="https://id8media.com"><strong>ID8 Media</strong></a> · <a href="https://one-studio.co"><strong>One Studio</strong></a></p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>