-
Notifications
You must be signed in to change notification settings - Fork 10
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
PoC Core DNS with DNSRecord #358
Comments
POC branch is here https://github.com/Kuadrant/dns-operator/tree/coredns. It contains a CoreDNS plugin that adds the "kuadrant" directive allowing it be added to the CoreDNS Corefile. The plugin will watch for any DNSRecords being created/updated/deleted in any configured namesapces (default is all) that have a label added that corresponds to the zone name in the Corefile: Example Corefile:
Example Record:
Example response:
The plugin makes use of the CoreDNS file plugin to do much of the heavy lifting in providing us with a functioning DNS Server, but some modifications were required https://github.com/mikenairn/coredns/tree/add_rrresolver The plugin also handles recursively resolving CNAMES, so we can get a response we would expect from a dns server when working with our loadbalanced (geo/weighted) records:
|
What
DNS Operator leverages the kuadarnt DNSRecord CR. It should be possible to create a Kuadrant plugin for core dns that allows core dns to source records from our DNSRecord CR. The goal here is to prove we can integrate DNSRecord with Core DNS, identify any potential issues. If successful the outcome here would be a working PoC with a none load balanced DNSPolicy and issues for follow up work to bring the PoC to a "beta" level.
Prior Art: https://github.com/k8gb-io/coredns-crd-plugin
Done
Remaining A poc that handles:
The text was updated successfully, but these errors were encountered: