Smart Proxy DNS plugins

Support for pluggable providers for the smart proxy's DNS module was
merged to develop today for 1.10. This means a plugin can very easily
be written adding support for new DNS server types.

Big thanks to Dmitri for his extensive refactorings to enable this. I'm
looking forward to seeing this happen in the other smart proxy modules
in future - see linked tickets on #7008 to track them.

Here are some useful links for developing DNS plugins:

··· * http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Smart-Proxy_Plugin - developer information * https://github.com/theforeman/smart_proxy_dns_plugin_template - a near-working template to create a new DNS provider * https://github.com/theforeman/smart_proxy_dns_route53 - a working example adding AWS Route53 support

I’ll try to publish & package the Route53 plugin soon, once the issues
are resolved.


Dominic Cleal
Red Hat Engineering

This is great!

··· On Friday, July 10, 2015 at 8:40:27 AM UTC-5, Dominic Cleal wrote: > > Support for pluggable providers for the smart proxy's DNS module was > merged to develop today for 1.10. This means a plugin can very easily > be written adding support for new DNS server types. > > Big thanks to Dmitri for his extensive refactorings to enable this. I'm > looking forward to seeing this happen in the other smart proxy modules > in future - see linked tickets on #7008 to track them. > > Here are some useful links for developing DNS plugins: > > * > > http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Smart-Proxy_Plugin > - developer information > * https://github.com/theforeman/smart_proxy_dns_plugin_template - a > near-working template to create a new DNS provider > * https://github.com/theforeman/smart_proxy_dns_route53 - a working > example adding AWS Route53 support > > I'll try to publish & package the Route53 plugin soon, once the issues > are resolved. > > -- > Dominic Cleal > Red Hat Engineering >

> Support for pluggable providers for the smart proxy's DNS module was
> merged to develop today for 1.10. This means a plugin can very easily
> be written adding support for new DNS server types.
>
> Big thanks to Dmitri for his extensive refactorings to enable this. I'm
> looking forward to seeing this happen in the other smart proxy modules
> in future - see linked tickets on #7008 to track them.

Just a heads up, after you pull, make sure to edit your

config/settings.d/dns.yml

file. See the

config/settings.d/dns.yml.example

for new options. There is some migration script, I am not sure if it is
supposed to work on development setups.

··· -- Later, Lukas #lzap Zapletal

I'm working on https://github.com/ekohl/smart_proxy_dns_powerdns in case
people are running PowerDNS.

TODO list:

  • More testing with multiple (nested) domains
  • DNSSEC support

Once those are handled, I intend to transfer it to theforeman namespace
so we can close https://github.com/theforeman/smart-proxy/pull/48 (which
was opened in December 2012!).

··· On Fri, Jul 10, 2015 at 02:40:23PM +0100, Dominic Cleal wrote: > Support for pluggable providers for the smart proxy's DNS module was > merged to develop today for 1.10. This means a plugin can very easily > be written adding support for new DNS server types. > > Big thanks to Dmitri for his extensive refactorings to enable this. I'm > looking forward to seeing this happen in the other smart proxy modules > in future - see linked tickets on #7008 to track them. > > Here are some useful links for developing DNS plugins: > > * > http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Smart-Proxy_Plugin > - developer information > * https://github.com/theforeman/smart_proxy_dns_plugin_template - a > near-working template to create a new DNS provider > * https://github.com/theforeman/smart_proxy_dns_route53 - a working > example adding AWS Route53 support > > I'll try to publish & package the Route53 plugin soon, once the issues > are resolved.

Sure it will, or run "rake migrate_settings" in a dev setup to do it
automatically.

··· On 13/07/15 13:32, Lukas Zapletal wrote: >> Support for pluggable providers for the smart proxy's DNS module was >> merged to develop today for 1.10. This means a plugin can very easily >> be written adding support for new DNS server types. >> >> Big thanks to Dmitri for his extensive refactorings to enable this. I'm >> looking forward to seeing this happen in the other smart proxy modules >> in future - see linked tickets on #7008 to track them. > > Just a heads up, after you pull, make sure to edit your > > config/settings.d/dns.yml > > file. See the > > config/settings.d/dns.yml.example > > for new options. There is some migration script, I am not sure if it is > supposed to work on development setups.


Dominic Cleal
Red Hat Engineering

https://github.com/theforeman/smart_proxy_dns_powerdns now exists and PR
48 can be closed. I highly welcome any suggestions/comments/PRs. Other
than that I'm writing a blog post on how to use it.

··· On Mon, Jul 13, 2015 at 04:05:32PM +0200, Ewoud Kohl van Wijngaarden wrote: > I'm working on https://github.com/ekohl/smart_proxy_dns_powerdns in case > people are running PowerDNS. > > Once those are handled, I intend to transfer it to theforeman namespace > so we can close https://github.com/theforeman/smart-proxy/pull/48 (which > was opened in December 2012!).