Octodns-sync support sync without override the dynamic records
See original GitHub issueWe have a usercase where dynamic records get create/delete through TF or ruby/python r53 api’s when we provision and tear down the resources. In the same zone, we have some static records requests that come through from support where we are trying to streamline using octodns and git for version control.
One way to achieve would be to take octodns-dump and make necessary changes push to git and sync. Still, we may see some dynamic records that may get-in in the meantime. So one thought would be something like
octodns-sync --config-file=./config/production.yaml --no-delete
A flag that can override only the records that it finds in its <zone>.yaml and ignore the rest of the records. any thoughts, please share.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Octodns-sync support sync without override the dynamic records
The easiest way I found is to octodns-dump the record set down, then update with excluded . Or just create excluded records that...
Read more >octodns Changelog - pyup.io
Now that it's used as it needed to be YamlProvider overrides. Provider.supports and just always says Yes so that any dynamically registered
Read more >Use Git & GitHub to manage your DNS with OctoDNS | By Parker
OctoDNS is a library for managing your DNS, which ships with a series of commands for syncing, dumping, and reporting.
Read more >Overriding some DNS entries in BIND for internal networks
The best method is via the response policy zone in Bind 9.8.1 or newer. It allows you to override single records in arbitrary...
Read more >octoDNS, GitHub Actions, Cloudflare & Digital Ocean - Medium
Now that we have our local DNS zonefiles it's super simple to sync the records. by default, octoDNS will dry-run everything and no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Side note:
--no-delete
can be achieved by settingdelete_pcent_threshold
to 0. See https://github.com/octodns/octodns/blob/07aad17/docs/records.md#restrict-record-manipulationsThis is now also possible with the use of processors, though there’s no in-built processor that would specifically ignore dynamic records. It would be possible to build such a thing. It may be easier to stick with the exclude stuff recommended above. Either way I believe there are options to solve the use case so closing. Feel free to reopen if not.