{"id":37098761,"url":"https://github.com/v-byte-cpu/coredns","last_synced_at":"2026-01-14T12:00:51.660Z","repository":{"id":37940904,"uuid":"357877472","full_name":"v-byte-cpu/coredns","owner":"v-byte-cpu","description":"CoreDNS is a DNS server that chains plugins","archived":false,"fork":true,"pushed_at":"2023-03-07T00:02:06.000Z","size":98475,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T09:40:01.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://coredns.io","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"coredns/coredns","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v-byte-cpu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":".github/SECURITY.md","support":null}},"created_at":"2021-04-14T11:17:55.000Z","updated_at":"2023-01-31T18:50:45.000Z","dependencies_parsed_at":"2023-02-13T05:31:11.717Z","dependency_job_id":null,"html_url":"https://github.com/v-byte-cpu/coredns","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/v-byte-cpu/coredns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-byte-cpu%2Fcoredns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-byte-cpu%2Fcoredns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-byte-cpu%2Fcoredns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-byte-cpu%2Fcoredns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v-byte-cpu","download_url":"https://codeload.github.com/v-byte-cpu/coredns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-byte-cpu%2Fcoredns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T12:00:51.097Z","updated_at":"2026-01-14T12:00:51.647Z","avatar_url":"https://github.com/v-byte-cpu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CoreDNS](https://coredns.io/images/CoreDNS_Colour_Horizontal.png)](https://coredns.io)\n\n[![Documentation](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/coredns/coredns)\n[![Build Status](https://img.shields.io/travis/coredns/coredns/master.svg?label=build)](https://travis-ci.org/coredns/coredns)\n[![fuzzit](https://app.fuzzit.dev/badge?org_id=coredns\u0026branch=master)](https://fuzzit.dev)\n[![Code Coverage](https://img.shields.io/codecov/c/github/coredns/coredns/master.svg)](https://codecov.io/github/coredns/coredns?branch=master)\n[![Docker Pulls](https://img.shields.io/docker/pulls/coredns/coredns.svg)](https://hub.docker.com/r/coredns/coredns)\n[![Go Report Card](https://goreportcard.com/badge/github.com/coredns/coredns)](https://goreportcard.com/report/coredns/coredns)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1250/badge)](https://bestpractices.coreinfrastructure.org/projects/1250)\n\nCoreDNS is a DNS server/forwarder, written in Go, that chains [plugins](https://coredns.io/plugins).\nEach plugin performs a (DNS) function.\n\nCoreDNS is a [Cloud Native Computing Foundation](https://cncf.io) graduated project.\n\nCoreDNS is a fast and flexible DNS server. The key word here is *flexible*: with CoreDNS you\nare able to do what you want with your DNS data by utilizing plugins. If some functionality is not\nprovided out of the box you can add it by [writing a plugin](https://coredns.io/explugins).\n\nCoreDNS can listen for DNS requests coming in over UDP/TCP (go'old DNS), TLS ([RFC\n7858](https://tools.ietf.org/html/rfc7858)), also called DoT, DNS over HTTP/2 - DoH -\n([RFC 8484](https://tools.ietf.org/html/rfc8484)) and [gRPC](https://grpc.io) (not a standard).\n\nCurrently CoreDNS is able to:\n\n* Serve zone data from a file; both DNSSEC (NSEC only) and DNS are supported (*file* and *auto*).\n* Retrieve zone data from primaries, i.e., act as a secondary server (AXFR only) (*secondary*).\n* Sign zone data on-the-fly (*dnssec*).\n* Load balancing of responses (*loadbalance*).\n* Allow for zone transfers, i.e., act as a primary server (*file* + *transfer*).\n* Automatically load zone files from disk (*auto*).\n* Caching of DNS responses (*cache*).\n* Use etcd as a backend (replacing [SkyDNS](https://github.com/skynetservices/skydns)) (*etcd*).\n* Use k8s (kubernetes) as a backend (*kubernetes*).\n* Serve as a proxy to forward queries to some other (recursive) nameserver (*forward*).\n* Provide metrics (by using Prometheus) (*prometheus*).\n* Provide query (*log*) and error (*errors*) logging.\n* Integrate with cloud providers (*route53*).\n* Support the CH class: `version.bind` and friends (*chaos*).\n* Support the RFC 5001 DNS name server identifier (NSID) option (*nsid*).\n* Profiling support (*pprof*).\n* Rewrite queries (qtype, qclass and qname) (*rewrite* and *template*).\n* Block ANY queries (*any*).\n* Provide DNS64 IPv6 Translation (*dns64*).\n\nAnd more. Each of the plugins is documented. See [coredns.io/plugins](https://coredns.io/plugins)\nfor all in-tree plugins, and [coredns.io/explugins](https://coredns.io/explugins) for all\nout-of-tree plugins.\n\n## Compilation from Source\n\nTo compile CoreDNS, we assume you have a working Go setup. See various tutorials if you don’t have\nthat already configured.\n\nFirst, make sure your golang version is 1.12 or higher as `go mod` support is needed.\nSee [here](https://github.com/golang/go/wiki/Modules) for `go mod` details.\nThen, check out the project and run `make` to compile the binary:\n\n~~~\n$ git clone https://github.com/coredns/coredns\n$ cd coredns\n$ make\n~~~\n\nThis should yield a `coredns` binary.\n\n## Compilation with Docker\n\nCoreDNS requires Go to compile. However, if you already have docker installed and prefer not to\nsetup a Go environment, you could build CoreDNS easily:\n\n```\n$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.14 make\n```\n\nThe above command alone will have `coredns` binary generated.\n\n## Examples\n\nWhen starting CoreDNS without any configuration, it loads the\n[*whoami*](https://coredns.io/plugins/whoami) and [*log*](https://coredns.io/plugins/log) plugins\nand starts listening on port 53 (override with `-dns.port`), it should show the following:\n\n~~~ txt\n.:53\nCoreDNS-1.6.6\nlinux/amd64, go1.13.5, aa8c32\n~~~\n\nThe following could be used to query the CoreDNS server that is running now:\n\n~~~ txt\ndig @127.0.0.1 -p 53 www.example.com\n~~~\n\nAny query sent to port 53 should return some information; your sending address, port and protocol\nused. The query should also be logged to standard output.\n\nThe configuration of CoreDNS is done through a file named `Corefile`. When CoreDNS starts, it will\nlook for the `Corefile` from the current working directory. A `Corefile` for CoreDNS server that listens\non port `53` and enables `whoami` plugin is:\n\n~~~ corefile\n.:53 {\n    whoami\n}\n~~~\n\nSometimes port number 53 is occupied by system processes. In that case you can start the CoreDNS server\nwhile modifying the Corefile as given below so that the CoreDNS server starts on port 1053.\n\n~~~ corefile\n.:1053 {\n    whoami\n}\n~~~\n\nIf you have a Corefile without a port number specified it will, by default, use port 53, but you can\noverride the port with the `-dns.port` flag: `coredns -dns.port 1053`, runs the server on port 1053.\n\nA Corefile for a CoreDNS server that forward any queries to an upstream DNS (e.g., `8.8.8.8`) is as follows:\n\n~~~ corefile\n.:53 {\n    forward . 8.8.8.8:53\n    log\n}\n~~~\n\nStart CoreDNS and then query on that port (53). The query should be forwarded to 8.8.8.8 and the\nresponse will be returned. Each query should also show up in the log which is printed on standard\noutput.\n\nTo serve the (NSEC) DNSSEC-signed `example.org` on port 1053, with errors and logging sent to standard\noutput. Allow zone transfers to everybody, but specifically mention 1 IP address so that CoreDNS can\nsend notifies to it.\n\n~~~ txt\nexample.org:1053 {\n    file /var/lib/coredns/example.org.signed\n    transfer {\n        to * 2001:500:8f::53\n    }\n    errors\n    log\n}\n~~~\n\nServe `example.org` on port 1053, but forward everything that does *not* match `example.org` to a\nrecursive nameserver *and* rewrite ANY queries to HINFO.\n\n~~~ txt\nexample.org:1053 {\n    file /var/lib/coredns/example.org.signed\n    transfer {\n        to * 2001:500:8f::53\n    }\n    errors\n    log\n}\n\n. {\n    any\n    forward . 8.8.8.8:53\n    errors\n    log\n}\n~~~\n\nIP addresses are also allowed. They are automatically converted to reverse zones:\n\n~~~ corefile\n10.0.0.0/24 {\n    whoami\n}\n~~~\nMeans you are authoritative for `0.0.10.in-addr.arpa.`.\n\nThis also works for IPv6 addresses. If for some reason you want to serve a zone named `10.0.0.0/24`\nadd the closing dot: `10.0.0.0/24.` as this also stops the conversion.\n\nThis even works for CIDR (See RFC 1518 and 1519) addressing, i.e. `10.0.0.0/25`, CoreDNS will then\ncheck if the `in-addr` request falls in the correct range.\n\nListening on TLS (DoT) and for gRPC? Use:\n\n~~~ corefile\ntls://example.org grpc://example.org {\n    whoami\n}\n~~~\n\nAnd for DNS over HTTP/2 (DoH) use:\n\n~~~ corefile\nhttps://example.org {\n    whoami\n    tls mycert mykey\n}\n~~~\n\nNote that you must have the *tls* plugin configured as DoH requires that to be setup.\n\nSpecifying ports works in the same way:\n\n~~~ txt\ngrpc://example.org:1443 https://example.org:1444 {\n    # ...\n}\n~~~\n\nWhen no transport protocol is specified the default `dns://` is assumed.\n\n## Community\n\nWe're most active on Github (and Slack):\n\n- Github: \u003chttps://github.com/coredns/coredns\u003e\n- Slack: #coredns on \u003chttps://slack.cncf.io\u003e\n\nMore resources can be found:\n\n- Website: \u003chttps://coredns.io\u003e\n- Blog: \u003chttps://blog.coredns.io\u003e\n- Twitter: [@corednsio](https://twitter.com/corednsio)\n- Mailing list/group: \u003ccoredns-discuss@googlegroups.com\u003e (not very active)\n\n## Contribution guidelines\n\nIf you want to contribute to CoreDNS, be sure to review the [contribution\nguidelines](CONTRIBUTING.md).\n\n## Deployment\n\nExamples for deployment via systemd and other use cases can be found in the [deployment\nrepository](https://github.com/coredns/deployment).\n\n## Deprecation Policy\n\nWhen there is a backwards incompatible change in CoreDNS the following process is followed:\n\n*  Release x.y.z: Announce that in the next release we will make backward incompatible changes.\n*  Release x.y+1.0: Increase the minor version and set the patch version to 0. Make the changes,\n   but allow the old configuration to be parsed. I.e. CoreDNS will start from an unchanged\n   Corefile.\n*  Release x.y+1.1: Increase the patch version to 1. Remove the lenient parsing, so CoreDNS will\n   not start if those features are still used.\n\nE.g. 1.3.1 announce a change. 1.4.0 a new release with the change but backward compatible config.\nAnd finally 1.4.1 that removes the config workarounds.\n\n## Security\n\n### Security Audit\nA third party security audit was performed by Cure53, you can see the full report\n[here](https://coredns.io/assets/DNS-01-report.pdf).\n\n### Reporting security vulnerabilities\n\nIf you find a security vulnerability or any security related issues, please DO NOT file a public\nissue, instead send your report privately to `security@coredns.io`. Security reports are greatly\nappreciated and we will publicly thank you for it.\n\nPlease consult [security vulnerability disclosures and security fix and release process\ndocument](https://github.com/coredns/coredns/blob/master/SECURITY.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-byte-cpu%2Fcoredns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-byte-cpu%2Fcoredns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-byte-cpu%2Fcoredns/lists"}