StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Infrastructure as a Service
  4. Load Balancer Reverse Proxy
  5. CoreDNS vs Traefik

CoreDNS vs Traefik

OverviewComparisonAlternatives

Overview

Traefik
Traefik
Stacks965
Followers1.2K
Votes93
CoreDNS
CoreDNS
Stacks48
Followers68
Votes5
GitHub Stars13.5K
Forks2.3K

CoreDNS vs Traefik: What are the differences?

Introduction

In the realm of container orchestration, CoreDNS and Traefik are two commonly used components that play crucial roles in delivering applications effectively. Understanding the key differences between CoreDNS and Traefik can provide insight into selecting the right tool for specific use cases.

  1. Functionality: CoreDNS is primarily a DNS server, designed to handle DNS queries efficiently within a Kubernetes cluster. On the other hand, Traefik is a modern reverse proxy and load balancer that integrates seamlessly with container orchestration platforms. While CoreDNS focuses on DNS resolution, Traefik specializes in routing incoming traffic to the appropriate services based on defined rules and configurations.

  2. Configuration: CoreDNS is configured via a Corefile, where administrators can specify DNS records, zones, and plugins to customize DNS resolution behavior. In contrast, Traefik uses dynamic configuration based on labels applied to containers or services. This label-based approach simplifies the process of updating configurations and allows for automatic discovery of services without manual intervention.

  3. Service Discovery: CoreDNS acts as a DNS server that resolves service names to their corresponding IP addresses within the Kubernetes cluster. In contrast, Traefik leverages service discovery mechanisms provided by the container orchestration platform, such as Kubernetes services or Docker swarm services. This difference determines how each tool interacts with the platform's service discovery ecosystem.

  4. Protocols Supported: CoreDNS supports DNS protocols such as UDP, TCP, and DNS-over-HTTPS, focusing on traditional DNS resolution mechanisms. Traefik, on the other hand, supports a wide range of modern protocols like HTTP, TCP, and WebSocket, making it versatile for handling various types of traffic efficiently. The protocol support plays a significant role in determining the compatibility and performance of each tool in different networking scenarios.

  5. Ingress Control: Traefik excels in providing advanced features for managing ingress traffic, offering functionalities like SSL termination, routing based on request criteria, and canary deployments. CoreDNS, lacking these advanced ingress control capabilities, is primarily focused on DNS-related tasks and may not be the ideal choice for intricate ingress control requirements in a containerized environment.

  6. Community Support and Development: CoreDNS benefits from a dedicated community focused on advancing DNS capabilities and ensuring seamless integration with Kubernetes. Traefik, backed by a robust open-source community, receives continuous feature updates and enhancements to address evolving networking challenges. The level of community support and ongoing development can influence the longevity and effectiveness of each tool in production environments.

In Summary, understanding the distinct differences between CoreDNS and Traefik is essential in making informed decisions when selecting the right tool for managing networking and traffic routing in containerized environments.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

Traefik
Traefik
CoreDNS
CoreDNS

A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.

CoreDNS is a DNS server. It is written in Go. It can be used in a multitude of environments because of its flexibility

Continuously updates its configuration (No restarts!); Supports multiple load balancing algorithms; Provides HTTPS to your microservices by leveraging Let's Encrypt (wildcard certificates support); Circuit breakers, retry; High Availability with cluster mode; See the magic through its clean web UI; Websocket, HTTP/2, GRPC ready; Provides metrics; Keeps access logs; Fast; Exposes a Rest API
Plugins; Service Discovery; Fast and Flexible
Statistics
GitHub Stars
-
GitHub Stars
13.5K
GitHub Forks
-
GitHub Forks
2.3K
Stacks
965
Stacks
48
Followers
1.2K
Followers
68
Votes
93
Votes
5
Pros & Cons
Pros
  • 20
    Kubernetes integration
  • 18
    Watch service discovery updates
  • 14
    Letsencrypt support
  • 13
    Swarm integration
  • 12
    Several backends
Cons
  • 7
    Complicated setup
  • 7
    Not very performant (fast)
Pros
  • 3
    Kubernetes Integration
  • 2
    Open Soure
Integrations
Marathon
Marathon
InfluxDB
InfluxDB
Kubernetes
Kubernetes
Docker
Docker
gRPC
gRPC
Let's Encrypt
Let's Encrypt
Google Kubernetes Engine
Google Kubernetes Engine
Consul
Consul
StatsD
StatsD
Docker Swarm
Docker Swarm
No integrations available

What are some alternatives to Traefik, CoreDNS?

Amazon Route 53

Amazon Route 53

Amazon Route 53 is designed to give developers and businesses an extremely reliable and cost effective way to route end users to Internet applications by translating human readable names like www.example.com into the numeric IP addresses like 192.0.2.1 that computers use to connect to each other. Route 53 effectively connects user requests to infrastructure running in Amazon Web Services (AWS) – such as an Amazon Elastic Compute Cloud (Amazon EC2) instance, an Amazon Elastic Load Balancer, or an Amazon Simple Storage Service (Amazon S3) bucket – and can also be used to route users to infrastructure outside of AWS.

HAProxy

HAProxy

HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

DNSimple

DNSimple

DNSimple provides the tools you need to manage your domains. We offer both a carefully crafted web interface for managing your domains and DNS records, as well as an HTTP API with various code libraries and tools. Buy, connect, operate!

AWS Elastic Load Balancing (ELB)

AWS Elastic Load Balancing (ELB)

With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task.

Google Cloud DNS

Google Cloud DNS

Use Google's infrastructure for production quality, high volume DNS serving. Your users will have reliable, low-latency access to Google's infrastructure from anywhere in the world using our network of Anycast name servers.

Dyn

Dyn

An all-in-one Managed DNS service for your registered domain names. Dyn DNS is the perfect solution for your domain name’s DNS needs, whether it is for personal or business use. It gives you complete control over your DNS zone and its associated DNS records, complete with a simple DNS management web interface.

DNS Made Easy

DNS Made Easy

DNS Made Easy is a subsidiary of Tiggee LLC, and is a world leader in providing global IP Anycast enterprise DNS services. DNS Made Easy is currently ranked the fastest provider for 8 consecutive months and the most reliable provider.

Fly

Fly

Deploy apps through our global load balancer with minimal shenanigans. All Fly-enabled applications get free SSL certificates, accept traffic through our global network of datacenters, and encrypt all traffic from visitors through to application servers.

Envoy

Envoy

Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.

NS1

NS1

NS1’s intelligent DNS & traffic management platform, with its data driven architecture and unique Filter Chain routing engine, is purpose-built for the most demanding, mission-critical applications on the Internet.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

GitHub
Bitbucket

AWS CodeCommit vs Bitbucket vs GitHub

Kubernetes
Rancher

Docker Swarm vs Kubernetes vs Rancher

Postman
Swagger UI

Postman vs Swagger UI

gulp
Grunt

Grunt vs Webpack vs gulp