Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreDNS as a DNS provider #49

Closed
mattymo opened this issue Mar 1, 2017 · 10 comments
Closed

CoreDNS as a DNS provider #49

mattymo opened this issue Mar 1, 2017 · 10 comments

Comments

@mattymo
Copy link

mattymo commented Mar 1, 2017

CoreDNS is an alternative for on-prem deployments where google/aws are not available. It has some support as a Federation DNS backend now: https://github.com/kubernetes/kubernetes/blob/master/federation/pkg/dnsprovider/providers/coredns/coredns.go

Can it be added as a valid external DNS source as well?

@ideahitme
Copy link

Yes this is something we have in our future plans https://github.com/kubernetes-incubator/external-dns/blob/master/docs/initial-design.md

But we will probably focus on integrating with AWS and Google first and based on that we will evaluate the ways to integrate CoreDNS as a possible DNS provider

@mattymo
Copy link
Author

mattymo commented Mar 1, 2017

Thanks for the quick reply! Exposing dns data to coredns is as simple as writing info to etcd, so I hope it's not a big challenge.

@linki
Copy link
Member

linki commented Apr 3, 2017

CoreDNS already supports ingesting Kubernetes resources via one of its middlewares (https://github.com/coredns/coredns/tree/master/middleware/kubernetes) and exposes DNS records the way KubeDNS uses to.

I was wondering if ExternalDNS like features can be implemented as a CoreDNS middleware. It basically just has to understand ExternalDNS's annotation semantics and expose DNS records accordingly.

@linki linki modified the milestones: v1.0, post-v1.0 Apr 3, 2017
@lsjostro
Copy link

I've written a terraform provider for coredns which might inspire someone to add this feature here.
https://github.com/shelmangroup/terraform-coredns

When we have NodePort support I might give it a go.

@istalker2
Copy link
Contributor

I took an opportunity to write CoreDNS provider, which also happens to be SkyDNS provider.
Here is my PR: #246

Probably the same can be achieved by writing new CoreDNS middleware rather than external-dns provider, but I do believe that duplicating external-dns functionality elsewhere is not a step in the right direction.

@lsjostro
Copy link

@istalker2 awesome! 👊🏻

@pigmej
Copy link

pigmej commented Jun 28, 2017

btw. #246 was replaced by #253

@calder
Copy link

calder commented May 18, 2018

#253 seems to have stalled.

@hjacobs
Copy link
Contributor

hjacobs commented May 22, 2018

@calder @istalker2 anybody interested in picking up the PR (#253)?

@cedvan
Copy link

cedvan commented Jul 3, 2018

Hi,

I am very interested in this feature. But need some documentation to use CoreDNS ...

lou-lan pushed a commit to lou-lan/external-dns that referenced this issue May 11, 2022
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants