Description
This is the source repository for Kubernetes DNS, the DNS service for Kubernetes clusters. It builds three container images: kube-dns, sidecar and dnsmasq. The Makefile has targets to build all binaries, run unit tests, build the containers, push them to a registry, clear image build artifacts and show the version. You can build for a specific architecture, build only one container with CONTAINER_BINARIES, and set VERSION to override the image tag. Setting VERBOSE=1 shows extra build logging. The README explains how to patch vulnerabilities: bump the Go compiler and standard library through the BUILD_IMAGE variable in the Makefile, update base images in the dnsmasq Makefile or rules.mk, and bump Go dependencies. It then describes the release process, in which a PR is built and tested locally, and a maintainer cuts a new release tag after the change merges. The node-local DNS cache, which used to be part of this repository, now lives in kubernetes-sigs/node-local-dns. The project is hosted on GitHub under the Kubernetes organisation.…
Highlights
- Builds kube-dns, sidecar and dnsmasq images
- Make targets for build, test and push
- Per-architecture and single-container builds
- Documented vulnerability patching steps
- Documented release process
Ratings & Reviews
No ratings yet
Be the first to rate DNS.
People also visit
GitWebhookProxy
A proxy to let webhooks reach running services behind a firewall
DNS FAQ
What is Kubernetes DNS?
The DNS service for Kubernetes clusters. This repository contains its source code and build tooling.
Which images does it build?
kube-dns, sidecar and dnsmasq.
How do I build it?
Run make images-clean, make build, make containers and make test, as the README's release steps describe. To build only kube-dns, use make containers CONTAINER_BINARIES=kube-dns.
Where is node-local DNS?
The node-local DNS cache has moved to kubernetes-sigs/node-local-dns.
How are releases made?
A change goes in through a PR, is built and tested locally, and a maintainer cuts a new release tag after it merges.
What are the best DNS alternatives?
Popular alternatives to DNS include Cupdate, Kache and Proxmox Kubernetes. See all DNS alternatives






