CoreDNS is a modular domain name system server designed for cloud-native environments. It functions as a flexible DNS resolver and forwarder that manages network traffic by routing queries based on zone-based rules and authoritative data. The server is built to integrate with service discovery systems, enabling it to map service names to network addresses within containerized infrastructure.
The project is defined by a plugin-based request pipeline that allows for the extension of server functionality through custom modules. These plugins can intercept, modify, or log network requests in real time, providing a mechanism to tailor the server to specific routing or resolution requirements. Configuration is handled through a declarative format that supports snippet reuse and environment variable injection, allowing for consistent settings across complex deployments.
Beyond core resolution and forwarding, the server provides comprehensive operational visibility through standardized metric instrumentation, traffic logging, and health monitoring endpoints. It supports standard zone file serving and recursive lookups, ensuring compatibility with both local records and upstream resolvers. The software is distributed as a container-ready binary, including the necessary components for encrypted transport and secure network communication.