COREDNS(1)
π COREDNS(1) β like, the whole manual bestie
Okay so first things first: the page you're reading is COREDNS(1), and honestly? It's a whole vibe. Sit down, grab a boba, and let me tell you about the pluggable DNS nameserver that literally everyone's obsessed with. π«Ά
πΈ SYNOPSIS πΈ
coredns [-conf FILE] [-dns.port PORT} [OPTION]...
(Yes bestie, that curly brace is exactly what the page says, don't come for me π )
β¨ DESCRIPTION β¨
CoreDNS is a DNS server that chains plugins together. Like, imagine each plugin is a little fairy π§ with exactly one job β rewriting queries, doing kubernetes service discovery, or literally just exporting metrics β and they all hold hands in a chain. Iconic behaviour, no cap.
There are so many other plugins out there, each one with its own write-up at https://coredns.io/plugins and its own manual page. And the plugins that don't ship bundled by default in CoreDNS? Those live over at https://coredns.io/explugins. Go browse, it's giving treasure hunt. π¦
Okay so here's what happens when you just run it with zero options, and this part is important:
When started with no options at all, CoreDNS goes looking for a file named Corefile in the current directory. If it finds it, it parses what's inside and starts up accordingly, periodt. If there's no Corefile? It starts up with the whoami plugin (coredns-whoami(7)) and starts listening on port 53 β unless you override that with -dns.port. π
Available options π
-conf FILEβ tells CoreDNS which Corefile to load. If you don't give it one, it'll go hunting for aCorefilein the current directory instead. π-dns.port PORTor-p PORTβ overrides the default port (53) it listens on. Two ways to say the same thing, choose your fighter.-pidfile FILEβ writes the PID intoFILE. For when you gotta keep receipts on the process. π-pluginsβ lists out all the plugins and then quits. A little show-and-tell, then it dips. π-quietβ prints no version or port info on startup. Silent, mysterious, main character energy. π€«-versionβ shows the version and quits. Blink and it's gone.-windows-serviceβ runs as a Windows service. Heads up: this one's only available on Windows builds, and it defaults tofalse. π
π AUTHORS π
CoreDNS Authors. β the collective, the legends, the group chat.
π COPYRIGHT π
Apache License 2.0
π₯ SEE ALSO π₯
Okay this list is long and honestly a flex, so here's the whole squad, not one single one skipped:
Corefile(5)coredns-acl(7)coredns-any(7)coredns-auto(7)coredns-autopath(7)coredns-azure(7)coredns-bind(7)coredns-bufsize(7)coredns-cache(7)coredns-cancel(7)coredns-chaos(7)coredns-clouddns(7)coredns-debug(7)coredns-dns64(7)coredns-dnssec(7)coredns-dnstap(7)coredns-erratic(7)coredns-errors(7)coredns-etcd(7)coredns-file(7)coredns-forward(7)coredns-geoip(7)coredns-grpc(7)coredns-grpcserver(7)coredns-header(7)coredns-health(7)coredns-hosts(7)coredns-https(7)coredns-https3(7)coredns-import(7)coredns-k8sexternal(7)coredns-kubernetes(7)coredns-loadbalance(7)coredns-local(7)coredns-log(7)coredns-loop(7)coredns-metadata(7)coredns-metrics(7)coredns-minimal(7)coredns-multisocket(7)coredns-nomad(7)coredns-nsid(7)coredns-pprof(7)coredns-proxyproto(7)coredns-quic(7)coredns-ready(7)coredns-reload(7)coredns-rewrite(7)coredns-root(7)coredns-route53(7)coredns-secondary(7)coredns-sign(7)coredns-template(7)coredns-timeouts(7)coredns-tls(7)coredns-trace(7)coredns-transfer(7)coredns-tsig(7)coredns-view(7)coredns-whoami(7)
And that's the whole page, bestie β go forth and slay some DNS queries. π
β¨ This little rewrite comes from the CoreDNS manual, dated March 2026, and the original page signs itself COREDNS(1) too. Mwah, bye! π
π¦ where this page comes from
- nixpkgs unstable: coredns 1.14.7
- opensuse-leap 16.0: coredns-extras 1.15.0-bp160.1.1 Β· Apache-2.0 AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms