main
dnsrec-template
A starting point for a new dnsrec (DNS Record Provider Protocol) provider. The SDK does the protocol work; you implement three methods against your DNS API.
Create a provider
- Copy this directory to
dnsrec-<service>. - In
go.mod, rename the module tofoundry.fsky.io/dnsrec/dnsrec-<service>. - In
main.go,.goreleaser.yaml, andexample.scfg, replace thednsrec-examplebinary name and theexampleprovider name. - Implement
Add,Remove, and trimCapabilitiesto the record types your API supports. Keep both operations idempotent and preserve other records at the same owner. - Update this README and add the provider to the list in
dnsrec/README.md.
Develop
The go.mod pins the published dnsrec SDK, so these pull it directly:
go test ./...
go build -o dnsrec-<service> .
./dnsrec-<service> capabilities
Release
Tag the repo vX.Y.Z (major tracks the protocol version) and run:
goreleaser release --clean
License
0BSD.
Description
Languages
Go
100%