coredns-golang-dns
Installation
SKILL.md
CoreDNS & Go DNS
CoreDNS Corefile authoring, Kubernetes CoreDNS patching, static record serving,
DoT/DoH with cert-manager + trust-manager, and Go DNS server/interceptor
development with github.com/miekg/dns.
When to Use
- Editing the cluster CoreDNS ConfigMap (kube-system) to add forward zones, static hosts, rewrites, or stubdomains.
- Deploying a second CoreDNS instance as a custom resolver / interceptor in front of upstream DNS.
- Writing a Go service that answers DNS queries — split-horizon resolvers, conditional forwarders, response rewriters, captive-portal style interceptors, or test fixtures.
- Adding TLS to DNS endpoints (DoT 853, DoH 443/8443) and trusting the issuing CA cluster-wide.