Comments (7)
Support for Route53's ALIAS
type was expected to start managing the records and thus delete un-configured (unmanaged) record. That probably should have been called out in the changelog and for that matter the release probably should have bumped a major version now that I think about it.
Not 100% sure off-hand what needs to happen to get dump to support the special record types, that's an oversight. Will look into that.
from octodns-route53.
octodns/octodns#924 should get dump supporting 3rd party/dynamically registered types.
There were oversights/bug(s) in the way of dump support for Route53's alias type. Provider._processed_desired_zone
was doing its own type in provider.SUPPORTS
check rather than using provider.supports(record)
. There are a few providers that already did extra logic in supports
that _process_desired_zone
wouldn't utilize.
Once that was fixed, YamlProvider
needed to override that method and say that it always supports everything via return True
.
If you check out that branch you should be able to get a dump with all of the Alias records included. I'm going to do some manual testing of that to verify as well.
So as for next steps for you there's two possible paths:
- Assuming this works, dump all the missing records and either replace your configs with the dumps or pull the aliases out into your configs and have them be managed going forward
- If you'd rather just leave those record unmanaged you should be able to configure a
TypeRejectlistfilter
and tell it to ignore theRoute53Provider/ALIAS
type.
I'm still trying to decide what the best course of action is around the CHANGELOG and version numbering...
from octodns-route53.
Verified a dump with an Route53Provider/ALIAS
record configured in the UI worked:
alias:
ttl: 942942942
type: Route53Provider/ALIAS
value:
evaluate-target-health: true
hosted-zone-id: null
name: ''
type: A
Route53's ALIAS type doesn't support ttls so that value is a default/sentinal value implemented in the provider. You can omit it and let the default value from the YamlProvider
take effect. Either way it'll be ignored.
from octodns-route53.
Example of the ignore if you want to go that route:
...
processors:
ignore-r53-alias:
class: octodns.processor.filter.TypeRejectlistFilter
rejectlist:
- Route53Provider/ALIAS
zones:
exxampled.com.:
sources:
- config
processors:
- ignore-r53-alias
targets:
- route53
from octodns-route53.
octodns/octodns#924 has merged so it can be pulled with the master branch there. Not sure when the next release will be cut so no timeline there.
from octodns-route53.
Awesome work @ross! I'll give this a try.
from octodns-route53.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
from octodns-route53.
Related Issues (20)
- Public and Private DNS in Route53 HOT 4
- route53 with healthcheck record sync issue HOT 2
- OctoDNS bug when deleting domainkeys on Route53 HOT 1
- Route 53: Too many values to unpack MX HOT 6
- Single domain that is both public and private in Route53 HOT 4
- Route53: character limit of 32000 exceeded HOT 7
- Handle R53 'Alias' Records HOT 10
- Ability to set FailureThreshold on healthchecks HOT 2
- Latency Routing Policy HOT 3
- TCP health check failure HOT 1
- Octodns does one change at a time HOT 13
- Does OctoDNS handle weighted Route53 records? HOT 3
- ALIAS records for Global Accelerator are not supported
- Need to add a space before ";" (semi-colon)? HOT 2
- Regression with `lenient` setting for multi-answer PTR record HOT 5
- ALIAS record dump issue HOT 2
- Is there a way to hide "root NS record supported"? HOT 7
- Feature Request: Add DS record support to octodns-route53 HOT 3
- Add option to turn off trailing dot enforcing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octodns-route53.