CoreDNS website screenshot

CoreDNS

CoreDNS is a CNCF graduated DNS server written in Go that serves as the default DNS service for Kubernetes clusters. It is flexible and extensible through a plugin architecture, supporting DNS-based service discovery, forwarding, caching, and integration with etcd, Kubernetes, and other backends. CoreDNS can serve as an authoritative DNS server or a recursive resolver, with HTTP plugins exposing health, readiness, and Prometheus metrics endpoints for Kubernetes operations.

4 APIs 0 Features
Apache 2.0Cloud NativeCNCFDNSGoGraduatedKubernetesNetworkingOpen SourcePluginsPrometheusService Discovery

APIs

CoreDNS DNS Interface

CoreDNS implements the standard DNS protocol (RFC 1035) serving both UDP and TCP queries. In Kubernetes, it resolves service names to cluster IPs, headless services to pod IPs, ...

CoreDNS Plugin API

The CoreDNS plugin framework allows extending DNS server functionality through a chain of plugins defined in the Corefile configuration. External plugins can be written in Go to...

CoreDNS Health API

The CoreDNS health plugin exposes HTTP /health and /ready endpoints on port 8080 by default. It reports the overall health and readiness of the CoreDNS process and is used by Ku...

CoreDNS Metrics API

The CoreDNS prometheus plugin exposes a Prometheus-compatible metrics endpoint at /metrics on port 9153. It provides DNS request counters, response size histograms, latency dist...

Collections

Pricing Plans

Coredns Plans Pricing

1 plans

PLANS

Rate Limits

Coredns Rate Limits

3 limits

RATE LIMITS

FinOps

Semantic Vocabularies

Coredns Context

0 classes · 8 properties

JSON-LD

API Governance Rules

CoreDNS API Rules

8 rules · 6 errors 2 warnings

SPECTRAL

CoreDNS API Rules

8 rules · 5 errors 2 warnings 1 info

SPECTRAL

Resources

🔗
JSONSchema
JSONSchema
🔗
JSONLD
JSONLD
🔗
Vocabulary
Vocabulary
🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
🔗
Plugins
Plugins
🔗
ExternalPlugins
ExternalPlugins
📰
Blog
Blog
📄
ChangeLog
ChangeLog
🔗
Community
Community
🔗
License
License
🔗
CNCF
CNCF

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: CoreDNS Metrics API
  version: 2.x
items:
- info:
    name: Metrics
    type: folder
  items:
  - info:
      name: CoreDNS Get Prometheus metrics
      type: http
    http:
      method: GET
      url: http://localhost:9153/metrics
    docs: Returns all CoreDNS metrics in Prometheus text exposition format (version 0.0.4). The response includes counters,
      gauges, histograms, and summaries covering DNS request rates by server and zone, response code distributions, DNS query
      type breakdowns, cache hit rates, panics, and plugin-specific metrics such as forward latency and health check state.
      Requires the prometheus plugin to be configured in the Corefile.
bundled: true