# Install coredns with Homebrew, apk, Nix, zypper, scoop

DNS server that chains plugins. Version 1.14.6 via Homebrew; verified 2026-07-10. Also installable with nix: nix profile install nixpkgs#coredns.

## Install

```sh
sudo av install brew:coredns
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install coredns
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add coredns
```

  Evidence: Alpine Linux edge package indexes: coredns from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#coredns
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/coredns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install coredns
```

  Evidence: openSUSE Tumbleweed package metadata: coredns from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/coredns
```

  Evidence: Scoop official bucket manifest trees: bucket/coredns.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:coredns
- **Package manager:** Homebrew
- **Version:** 1.14.6
- **Source summary:** DNS server that chains plugins
- **Homepage:** <https://coredns.io/>
- **Repository:** <https://github.com/coredns/coredns>
- **Last updated:** 2026-07-10T07:03:58Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- coredns (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.14.6
## Project history and usage

CoreDNS is a Go DNS server built around a plugin chain. It became significant not only as a flexible DNS daemon, but as cloud-native infrastructure: a CNCF graduated project and the default DNS service for Kubernetes clusters.

### Project history

The coredns/coredns repository was created in 2016. The official README describes CoreDNS as a DNS server and forwarder, written in Go, where each plugin performs a DNS function and the server chains those plugins.

CoreDNS joined the Cloud Native Computing Foundation ecosystem and graduated in January 2019. CNCF described it as a fast-growing DNS server and the official default DNS for Kubernetes.

### Adoption history

CoreDNS adoption accelerated through Kubernetes service discovery. The project's Kubernetes plugin and its selection as Kubernetes's default DNS made the coredns binary part of ordinary cluster bootstrapping, not just a standalone DNS-server choice.

Outside Kubernetes, CoreDNS is used as a configurable DNS forwarder, authoritative or secondary server, DNS-over-TLS/HTTPS/QUIC endpoint, service-discovery component, and plugin platform.

### How it is used

CoreDNS is configured with a Corefile, where server blocks and plugin directives define zones, forwarding, caching, Kubernetes integration, logging, metrics, and other DNS behaviors. The plugin model lets distributions choose a compiled-in plugin set and lets operators reason about behavior from the Corefile.

### Why package nerds care

CoreDNS matters to package history because it is a small single binary that became cluster-critical infrastructure. Packaging has to track Go versions, plugin availability, Corefile examples, service unit integration, and Kubernetes defaults rather than only the upstream executable.

### Timeline

- 2016: coredns/coredns repository created.
- 2017: CoreDNS documented Kubernetes service discovery support on the official project site.
- 2019-01-24: CNCF announced CoreDNS graduation.
- 2026: v1.14.x releases show continued active upstream maintenance.

### Related projects

- CoreDNS is related to Kubernetes DNS service discovery, SkyDNS-era service-discovery patterns, DNS plugins, and cloud-native observability systems such as Prometheus.

### Sources

- <https://github.com/coredns/coredns>
- <https://github.com/coredns/coredns#readme>
- <https://coredns.io/manual/toc>
- <https://coredns.io/plugins/>
- <https://coredns.io/2017/03/01/coredns-for-kubernetes-service-discovery-take-2/>
- <https://www.cncf.io/announcements/2019/01/24/coredns-graduation/>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: Corefile
## Other Package-Manager Records

- Nix - coredns: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/coredns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - coredns - 1.13.2-r6: normalized package name match | Alpine Linux edge package indexes: coredns from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | fast and flexible DNS server | https://github.com/coredns/coredns
- apk - coredns-openrc - 1.13.2-r6: normalized package name match | Alpine Linux edge package indexes: coredns-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | fast and flexible DNS server (OpenRC init scripts) | https://github.com/coredns/coredns
- zypper - coredns - 1.14.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: coredns from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DNS server written in Go | https://coredns.io
- zypper - coredns-extras - 1.14.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: coredns-extras from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Extra components for the coredns package | https://coredns.io
- Scoop - main/coredns: normalized package name match | Scoop official bucket manifest trees: bucket/coredns.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/coredns.yml](https://github.com/mxcl/pkgdb/blob/main/combined/coredns.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
