Closed gmemstr closed 9 months ago
In #81 I described some difficulties setting the proxy status of a record when using something like a octodns_bind.ZoneFileSource source. This processor allows us to assign special meaning to a TTL to toggle the status.
octodns_bind.ZoneFileSource
Example:
processors: ttl-to-proxy: class: octodns_cloudflare.processor.ttl.TtlToProxy # TTL default to zero # ttl: 0 zones: exxampled.com.: sources: - config processors: - ttl-to-proxy targets: - cloudflare
# Not proxied foobar.gmem.ca. IN 86400 CNAME cluster # Proxied, auto-ttl set foobar.gmem.ca. IN 0 CNAME cluster
You can run what CI runs locally by doing ./script/bootstrap once and then running ./script/cibuild. There's also ./script/test and ./script/coverage.
./script/bootstrap
./script/cibuild
./script/test
./script/coverage
Updated and wrote some basic tests :)
In #81 I described some difficulties setting the proxy status of a record when using something like a
octodns_bind.ZoneFileSource
source. This processor allows us to assign special meaning to a TTL to toggle the status.Example: