Feature #1225
closed
Please switch to Feature not bug.
Hey Guys,
I hamfisted route53 support in here by glueing together dns_api and the Route53 gem from https://github.com/pcorliss/ruby_route_53.
Its very basic but will do your forward and reverse dns with AWS. Should probably be an option to skip reverse DNS for a subnet, or use an alternate nameserver, as some organizations might not have their reverse delegated to them, especially if they have less than a /24.
To use, have your forward and reverse hosted zones already created. Then add the following to smart-proxy settings.yml, then point your domain to the smart-proxy.
:dns_backend: AWS
:dns_aws_accesskey: yourkey
:dns_aws_secretkey: yourkey
Use at your own risk, probably some bugs, its also ugly.
awesome! thanks, one comment and another question:
- do you want to use a git patch (or a github pull) so you get the credit for it?
- would you mind adding a rescue LoadError, so it wont fail if you dont have the gem installed?
thanks!
- Tracker changed from Bug to Feature
- Category set to DNS
Hello,
I switched the Tracker to Feature as user request.
Regards
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/262 added
- Blocked by Feature #7008: Add providers to existing proxy modules from a plugin/module added
- Status changed from Ready For Testing to Resolved
Thanks to Daniel and Sol for their efforts and code. I've uploaded this into a new Smart Proxy plugin over at https://github.com/theforeman/smart_proxy_dns_route53, which is based on the brand new work in #7008.
It isn't released as a gem or package yet as there's a bit of work on the dependencies to sort out, but I hope to do that soon.
Also available in: Atom
PDF