Zonefile
Distills Zones into RFC-1035 compatible text representations of zones.
The Zonefile integration takes Zone resources and produces RFC1035-compatible text representations of their collective records as ConfigMaps. These Zonefile configmaps can then in turn be used to serve DNS requests for a domain.
You can push the contents of the ConfigMap
to an extenral provider who supports the format, or serve the zonefile
directly from within the cluster by mounting the ConfigMap
in a CoreDNS pod, and exposing it as a service.
Elaborating on this, you can then treat the CoreDNS service as the master, and set up transfers to externally managed DNS servers.
Or if you're feeling adventurous: expose CoreDNS as a hostNetwork: true
pod on port 53
, and treat your Kubernetes nodes as authoritative for your entire domain.