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

DNS server that chains plugins. Version 1.14.4 via Homebrew; verified 2026-06-09.

## 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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
- **Package manager page:** <https://formulae.brew.sh/formula/coredns>
- **Version:** 1.14.4
- **Source summary:** DNS server that chains plugins
- **Homepage:** <https://coredns.io/>
- **Repository:** <https://github.com/coredns/coredns>
- **Upstream docs:** <https://coredns.io/manual/toc>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/coredns/coredns/archive/refs/tags/v1.14.4.tar.gz>
- **Last updated:** 2026-06-09T09:26:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- coredns (cli)
- coredns (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.14.4
- Package-manager updated: 2026-06-09
- Local data: ok
- Upstream repository: https://github.com/coredns/coredns
- Upstream latest detected: v1.14.4 (current)
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** coredns
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 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-r5: 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-r5: 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.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: coredns from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | DNS server written in Go | https://coredns.io
- zypper - coredns-extras - 1.14.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: coredns-extras from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [sdns](https://www.automicvault.com/pkg/brew/sdns/) - Shares av.db curated category or tags: cli, dns, go, networking, server.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, dns, networking, server.
- [dnscrypt-wrapper](https://www.automicvault.com/pkg/brew/dnscrypt-wrapper/) - Shares av.db curated category or tags: cli, dns, networking, server.
- [doggo](https://www.automicvault.com/pkg/brew/doggo/) - Shares av.db curated category or tags: cli, dns, go, networking.
- [hickory-dns](https://www.automicvault.com/pkg/brew/hickory-dns/) - Shares av.db curated category or tags: cli, dns, networking, server.
- [zns](https://www.automicvault.com/pkg/brew/zns/) - Shares av.db curated category or tags: cli, dns, go, networking.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, dns, networking.
- [aliddns](https://www.automicvault.com/pkg/brew/aliddns/) - Shares av.db curated category or tags: cli, dns, networking.

## Combined YAML source

View the package source record on GitHub. [combined/coredns.yml](https://github.com/automic-vault/db/blob/main/combined/coredns.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
