From dd0958e7ab514df349ddd9957526eedd2610e7a774baed841fc7ce685a53c0db Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Sat, 9 Nov 2024 14:48:06 +0000 Subject: [PATCH 01/14] - Update to version 1.11.3+git129.387f34d: * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) * core: set cache-control max-age as integer, not float (#6764) * Issue-6671: Fixed the order of plugins. (#6729) * `root`: explicit mark `dnssec` support (#6753) * feat: dnssec load keys from AWS Secrets Manager (#6618) * fuzzing: fix broken oss-fuzz build (#6880) * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) * Update .go-version to 1.23.2 (#6920) * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) * Added OpenSSF Scorecard Badge (#6738) * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) * feature: log queue and buffer memory size configuration (#6591) * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) * only create PTR records for endpoints with hostname defined (#6898) * fix: reverter should execute the reversion in reversed order (#6872) * plugin/etcd: fix etcd connection leakage when reload (#6646) * kubernetes: Add useragent (#6484) * Update build (#6836) * Update grpc library use (#6826) * Bump go version from 1.21.11 to 1.21.12 (#6800) * Upgrade antonmedv/expr to expr-lang/expr (#6814) * hosts: add hostsfile as label for coredns_hosts_entries (#6801) * fix TestCorefile1 panic for nil handling (#6802) OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=44 --- .gitattributes | 23 + .gitignore | 1 + Corefile | 35 ++ _service | 20 + _servicedata | 4 + coredns-1.11.1.obscpio | 3 + coredns-1.11.1.tar.gz | 3 + coredns-1.11.3+git129.387f34d.obscpio | 3 + coredns-1.11.3+git129.387f34d.tar.gz | 3 + coredns-1.11.3.obscpio | 3 + coredns-1.11.3.tar.gz | 3 + coredns.changes | 696 ++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++ vendor.tar.gz | 3 + 16 files changed, 942 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.11.1.obscpio create mode 100644 coredns-1.11.1.tar.gz create mode 100644 coredns-1.11.3+git129.387f34d.obscpio create mode 100644 coredns-1.11.3+git129.387f34d.tar.gz create mode 100644 coredns-1.11.3.obscpio create mode 100644 coredns-1.11.3.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..f35925b --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/coredns/coredns + git + .git + 387f34db9a4f6fefd4a6b54884772ccd4fc059e7 + @PARENT_TAG@+git@TAG_OFFSET@.%h + enable + v(.*) + + + + + + *.tar + gz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..afa36ef --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 387f34db9a4f6fefd4a6b54884772ccd4fc059e7 \ No newline at end of file diff --git a/coredns-1.11.1.obscpio b/coredns-1.11.1.obscpio new file mode 100644 index 0000000..96c6827 --- /dev/null +++ b/coredns-1.11.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9529d1bbc09a689cec4efdda2783cb40c0d9a24ffa3ab35432a88375c37d78 +size 2606604 diff --git a/coredns-1.11.1.tar.gz b/coredns-1.11.1.tar.gz new file mode 100644 index 0000000..01b0f23 --- /dev/null +++ b/coredns-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eec6fff72526c4d7441b9876b687a437f93fa513bc595ee6b9e2d79c672aa9c +size 673332 diff --git a/coredns-1.11.3+git129.387f34d.obscpio b/coredns-1.11.3+git129.387f34d.obscpio new file mode 100644 index 0000000..c1affce --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74159b928c0365a17b0cd08b04b039ba1f9d8a75b136c6c58f3e94d1a301679d +size 2656780 diff --git a/coredns-1.11.3+git129.387f34d.tar.gz b/coredns-1.11.3+git129.387f34d.tar.gz new file mode 100644 index 0000000..cc29a3a --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d813be643fa53cb8f92ad96ba6a372330510f09788675fd7f26d9b452db953dc +size 682267 diff --git a/coredns-1.11.3.obscpio b/coredns-1.11.3.obscpio new file mode 100644 index 0000000..84d368f --- /dev/null +++ b/coredns-1.11.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6183f082ccbaa735612a0d903ad3f4f2cfb291ac31a5a4d1805a8277ad0c872 +size 2614796 diff --git a/coredns-1.11.3.tar.gz b/coredns-1.11.3.tar.gz new file mode 100644 index 0000000..e8afaf3 --- /dev/null +++ b/coredns-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1eb6b277e7f8745c4d1855bac5de15c7917ed9755168df334c388e2bed90f3c +size 673983 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..e933f37 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,696 @@ +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..99d2899 --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.11.3+git129.387f34d +mtime: 1730834145 +commit: 387f34db9a4f6fefd4a6b54884772ccd4fc059e7 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..47de2eb --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.11.3+git129.387f34d +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.21 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..43a3e4b --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:646c89915062b5854aad9f6c4998fb0ef4f77b8ee647b3385faa16050c46a969 +size 13666201 -- 2.51.1 From 871135fd2e3f1c8a63b26e7c381382eef35bf9ca9aec2e3bbcae1244e4b62181 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 19 Nov 2024 15:47:26 +0000 Subject: [PATCH 02/14] - Update to version 1.11.4: * forward plugin: new option next, to try alternate upstreams when receiving specified response codes upstreams on (functions like the external plugin alternate) * dnssec plugin: new option to load keys from AWS Secrets Manager * rewrite plugin: new option to revert EDNS0 option rewrites in responses OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=46 --- .gitattributes | 23 + .gitignore | 1 + Corefile | 35 ++ _service | 20 + _servicedata | 4 + coredns-1.11.1.obscpio | 3 + coredns-1.11.1.tar.gz | 3 + coredns-1.11.3+git129.387f34d.obscpio | 3 + coredns-1.11.3+git129.387f34d.tar.gz | 3 + coredns-1.11.3.obscpio | 3 + coredns-1.11.3.tar.gz | 3 + coredns-1.11.4.obscpio | 3 + coredns-1.11.4.tar.gz | 3 + coredns.changes | 706 ++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++ vendor.tar.gz | 3 + 18 files changed, 958 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.11.1.obscpio create mode 100644 coredns-1.11.1.tar.gz create mode 100644 coredns-1.11.3+git129.387f34d.obscpio create mode 100644 coredns-1.11.3+git129.387f34d.tar.gz create mode 100644 coredns-1.11.3.obscpio create mode 100644 coredns-1.11.3.tar.gz create mode 100644 coredns-1.11.4.obscpio create mode 100644 coredns-1.11.4.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..c4f71b9 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/coredns/coredns + git + .git + v1.11.4 + @PARENT_TAG@ + enable + v(.*) + + + + + + *.tar + gz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..3b5c90a --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 6e11ebddfc13bfca683fcbcae72cc4af6de47dd2 \ No newline at end of file diff --git a/coredns-1.11.1.obscpio b/coredns-1.11.1.obscpio new file mode 100644 index 0000000..96c6827 --- /dev/null +++ b/coredns-1.11.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9529d1bbc09a689cec4efdda2783cb40c0d9a24ffa3ab35432a88375c37d78 +size 2606604 diff --git a/coredns-1.11.1.tar.gz b/coredns-1.11.1.tar.gz new file mode 100644 index 0000000..01b0f23 --- /dev/null +++ b/coredns-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eec6fff72526c4d7441b9876b687a437f93fa513bc595ee6b9e2d79c672aa9c +size 673332 diff --git a/coredns-1.11.3+git129.387f34d.obscpio b/coredns-1.11.3+git129.387f34d.obscpio new file mode 100644 index 0000000..c1affce --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74159b928c0365a17b0cd08b04b039ba1f9d8a75b136c6c58f3e94d1a301679d +size 2656780 diff --git a/coredns-1.11.3+git129.387f34d.tar.gz b/coredns-1.11.3+git129.387f34d.tar.gz new file mode 100644 index 0000000..cc29a3a --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d813be643fa53cb8f92ad96ba6a372330510f09788675fd7f26d9b452db953dc +size 682267 diff --git a/coredns-1.11.3.obscpio b/coredns-1.11.3.obscpio new file mode 100644 index 0000000..84d368f --- /dev/null +++ b/coredns-1.11.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6183f082ccbaa735612a0d903ad3f4f2cfb291ac31a5a4d1805a8277ad0c872 +size 2614796 diff --git a/coredns-1.11.3.tar.gz b/coredns-1.11.3.tar.gz new file mode 100644 index 0000000..e8afaf3 --- /dev/null +++ b/coredns-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1eb6b277e7f8745c4d1855bac5de15c7917ed9755168df334c388e2bed90f3c +size 673983 diff --git a/coredns-1.11.4.obscpio b/coredns-1.11.4.obscpio new file mode 100644 index 0000000..3d8044d --- /dev/null +++ b/coredns-1.11.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2384740bfac6908d4ae32279f6ff5e6964c8076c4448d03c1951d54db56d1a14 +size 2645516 diff --git a/coredns-1.11.4.tar.gz b/coredns-1.11.4.tar.gz new file mode 100644 index 0000000..632b51d --- /dev/null +++ b/coredns-1.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0980bcaf7f2dd53b645aec5c5246799cb5a39c481775585e2417f2fda9f6fef +size 683959 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..5bd2bb3 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,706 @@ +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..ffc5933 --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.11.4 +mtime: 1731461475 +commit: 6e11ebddfc13bfca683fcbcae72cc4af6de47dd2 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..9a9779a --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.11.4 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.21 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..f5df1e6 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91952d668a19f80c3bc6d09f08a664f0c6a3d916b598d2dc654b603ca6f6f976 +size 13666202 -- 2.51.1 From e13b18f3ef2f5075f42046c41bb997f10a8e0e88a0a6dded2f3a23fd86f240e8 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Thu, 28 Nov 2024 07:16:24 +0000 Subject: [PATCH 03/14] - Update to version 1.12.0: * New multisocket plugin - allows CoreDNS to listen on multiple sockets * bump deps OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=48 --- .gitattributes | 23 + .gitignore | 1 + Corefile | 35 ++ _service | 20 + _servicedata | 4 + coredns-1.11.1.obscpio | 3 + coredns-1.11.1.tar.gz | 3 + coredns-1.11.3+git129.387f34d.obscpio | 3 + coredns-1.11.3+git129.387f34d.tar.gz | 3 + coredns-1.11.3.obscpio | 3 + coredns-1.11.3.tar.gz | 3 + coredns-1.11.4.obscpio | 3 + coredns-1.11.4.tar.gz | 3 + coredns-1.12.0.obscpio | 3 + coredns-1.12.0.tar.gz | 3 + coredns.changes | 713 ++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++ vendor.tar.gz | 3 + 20 files changed, 971 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.11.1.obscpio create mode 100644 coredns-1.11.1.tar.gz create mode 100644 coredns-1.11.3+git129.387f34d.obscpio create mode 100644 coredns-1.11.3+git129.387f34d.tar.gz create mode 100644 coredns-1.11.3.obscpio create mode 100644 coredns-1.11.3.tar.gz create mode 100644 coredns-1.11.4.obscpio create mode 100644 coredns-1.11.4.tar.gz create mode 100644 coredns-1.12.0.obscpio create mode 100644 coredns-1.12.0.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..66d8536 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/coredns/coredns + git + .git + v1.12.0 + @PARENT_TAG@ + enable + v(.*) + + + + + + *.tar + gz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..bb3f1b1 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 51e11f166ef6c247a78e9e15468647c593b79b9f \ No newline at end of file diff --git a/coredns-1.11.1.obscpio b/coredns-1.11.1.obscpio new file mode 100644 index 0000000..96c6827 --- /dev/null +++ b/coredns-1.11.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9529d1bbc09a689cec4efdda2783cb40c0d9a24ffa3ab35432a88375c37d78 +size 2606604 diff --git a/coredns-1.11.1.tar.gz b/coredns-1.11.1.tar.gz new file mode 100644 index 0000000..01b0f23 --- /dev/null +++ b/coredns-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eec6fff72526c4d7441b9876b687a437f93fa513bc595ee6b9e2d79c672aa9c +size 673332 diff --git a/coredns-1.11.3+git129.387f34d.obscpio b/coredns-1.11.3+git129.387f34d.obscpio new file mode 100644 index 0000000..c1affce --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74159b928c0365a17b0cd08b04b039ba1f9d8a75b136c6c58f3e94d1a301679d +size 2656780 diff --git a/coredns-1.11.3+git129.387f34d.tar.gz b/coredns-1.11.3+git129.387f34d.tar.gz new file mode 100644 index 0000000..cc29a3a --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d813be643fa53cb8f92ad96ba6a372330510f09788675fd7f26d9b452db953dc +size 682267 diff --git a/coredns-1.11.3.obscpio b/coredns-1.11.3.obscpio new file mode 100644 index 0000000..84d368f --- /dev/null +++ b/coredns-1.11.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6183f082ccbaa735612a0d903ad3f4f2cfb291ac31a5a4d1805a8277ad0c872 +size 2614796 diff --git a/coredns-1.11.3.tar.gz b/coredns-1.11.3.tar.gz new file mode 100644 index 0000000..e8afaf3 --- /dev/null +++ b/coredns-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1eb6b277e7f8745c4d1855bac5de15c7917ed9755168df334c388e2bed90f3c +size 673983 diff --git a/coredns-1.11.4.obscpio b/coredns-1.11.4.obscpio new file mode 100644 index 0000000..3d8044d --- /dev/null +++ b/coredns-1.11.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2384740bfac6908d4ae32279f6ff5e6964c8076c4448d03c1951d54db56d1a14 +size 2645516 diff --git a/coredns-1.11.4.tar.gz b/coredns-1.11.4.tar.gz new file mode 100644 index 0000000..632b51d --- /dev/null +++ b/coredns-1.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0980bcaf7f2dd53b645aec5c5246799cb5a39c481775585e2417f2fda9f6fef +size 683959 diff --git a/coredns-1.12.0.obscpio b/coredns-1.12.0.obscpio new file mode 100644 index 0000000..7328c9c --- /dev/null +++ b/coredns-1.12.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce5f107d1c036ab6880f71c35fbd210a2595add9ce197c9b246f03ebb2f9270a +size 2657804 diff --git a/coredns-1.12.0.tar.gz b/coredns-1.12.0.tar.gz new file mode 100644 index 0000000..8d83e03 --- /dev/null +++ b/coredns-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b61a6f62b9b8835bd67c3f8c084fe7848d990d98f8a204f5ca0781550af99b0 +size 685769 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..d7320b5 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,713 @@ +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..86ab3aa --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.0 +mtime: 1732217253 +commit: 51e11f166ef6c247a78e9e15468647c593b79b9f diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..a1891f4 --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.12.0 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.21 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..ec7329c --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dcc2a1e867641d40daab63fbf510f6fb84badb6e3f72137a807b36ca00b5dd6 +size 13698226 -- 2.51.1 From 0a9c791c2eba1ed5313b79141f7576b14a61ba833ba5b0dc950dd36b7a04974d Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 1 Apr 2025 10:45:55 +0000 Subject: [PATCH 04/14] - Update to version 1.12.1: * core: Increase CNAME lookup limit from 7 to 10 (#7153) * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set * plugin/kubernetes: Revert "only create PTR records for endpoints with hostname defined" * plugin/forward: added option failfast_all_unhealthy_upstreams to return servfail if all upstreams are down * bump dependencies, fixing bsc#1239294 and bsc#1239728 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=50 --- .gitattributes | 23 + .gitignore | 1 + Corefile | 35 ++ _service | 20 + _servicedata | 4 + coredns-1.11.1.obscpio | 3 + coredns-1.11.1.tar.gz | 3 + coredns-1.11.3+git129.387f34d.obscpio | 3 + coredns-1.11.3+git129.387f34d.tar.gz | 3 + coredns-1.11.3.obscpio | 3 + coredns-1.11.3.tar.gz | 3 + coredns-1.11.4.obscpio | 3 + coredns-1.11.4.tar.gz | 3 + coredns-1.12.0.obscpio | 3 + coredns-1.12.0.tar.gz | 3 + coredns-1.12.1.obscpio | 3 + coredns-1.12.1.tar.gz | 3 + coredns.changes | 725 ++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++ vendor.tar.gz | 3 + 22 files changed, 989 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.11.1.obscpio create mode 100644 coredns-1.11.1.tar.gz create mode 100644 coredns-1.11.3+git129.387f34d.obscpio create mode 100644 coredns-1.11.3+git129.387f34d.tar.gz create mode 100644 coredns-1.11.3.obscpio create mode 100644 coredns-1.11.3.tar.gz create mode 100644 coredns-1.11.4.obscpio create mode 100644 coredns-1.11.4.tar.gz create mode 100644 coredns-1.12.0.obscpio create mode 100644 coredns-1.12.0.tar.gz create mode 100644 coredns-1.12.1.obscpio create mode 100644 coredns-1.12.1.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..d1d5dfd --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/coredns/coredns + git + .git + v1.12.1 + @PARENT_TAG@ + enable + v(.*) + + + + + + *.tar + gz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..f82f2a5 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 707c7c10acd52cb94e959e76ae233d9b76af0854 \ No newline at end of file diff --git a/coredns-1.11.1.obscpio b/coredns-1.11.1.obscpio new file mode 100644 index 0000000..96c6827 --- /dev/null +++ b/coredns-1.11.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9529d1bbc09a689cec4efdda2783cb40c0d9a24ffa3ab35432a88375c37d78 +size 2606604 diff --git a/coredns-1.11.1.tar.gz b/coredns-1.11.1.tar.gz new file mode 100644 index 0000000..01b0f23 --- /dev/null +++ b/coredns-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eec6fff72526c4d7441b9876b687a437f93fa513bc595ee6b9e2d79c672aa9c +size 673332 diff --git a/coredns-1.11.3+git129.387f34d.obscpio b/coredns-1.11.3+git129.387f34d.obscpio new file mode 100644 index 0000000..c1affce --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74159b928c0365a17b0cd08b04b039ba1f9d8a75b136c6c58f3e94d1a301679d +size 2656780 diff --git a/coredns-1.11.3+git129.387f34d.tar.gz b/coredns-1.11.3+git129.387f34d.tar.gz new file mode 100644 index 0000000..cc29a3a --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d813be643fa53cb8f92ad96ba6a372330510f09788675fd7f26d9b452db953dc +size 682267 diff --git a/coredns-1.11.3.obscpio b/coredns-1.11.3.obscpio new file mode 100644 index 0000000..84d368f --- /dev/null +++ b/coredns-1.11.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6183f082ccbaa735612a0d903ad3f4f2cfb291ac31a5a4d1805a8277ad0c872 +size 2614796 diff --git a/coredns-1.11.3.tar.gz b/coredns-1.11.3.tar.gz new file mode 100644 index 0000000..e8afaf3 --- /dev/null +++ b/coredns-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1eb6b277e7f8745c4d1855bac5de15c7917ed9755168df334c388e2bed90f3c +size 673983 diff --git a/coredns-1.11.4.obscpio b/coredns-1.11.4.obscpio new file mode 100644 index 0000000..3d8044d --- /dev/null +++ b/coredns-1.11.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2384740bfac6908d4ae32279f6ff5e6964c8076c4448d03c1951d54db56d1a14 +size 2645516 diff --git a/coredns-1.11.4.tar.gz b/coredns-1.11.4.tar.gz new file mode 100644 index 0000000..632b51d --- /dev/null +++ b/coredns-1.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0980bcaf7f2dd53b645aec5c5246799cb5a39c481775585e2417f2fda9f6fef +size 683959 diff --git a/coredns-1.12.0.obscpio b/coredns-1.12.0.obscpio new file mode 100644 index 0000000..7328c9c --- /dev/null +++ b/coredns-1.12.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce5f107d1c036ab6880f71c35fbd210a2595add9ce197c9b246f03ebb2f9270a +size 2657804 diff --git a/coredns-1.12.0.tar.gz b/coredns-1.12.0.tar.gz new file mode 100644 index 0000000..8d83e03 --- /dev/null +++ b/coredns-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b61a6f62b9b8835bd67c3f8c084fe7848d990d98f8a204f5ca0781550af99b0 +size 685769 diff --git a/coredns-1.12.1.obscpio b/coredns-1.12.1.obscpio new file mode 100644 index 0000000..4e5c61f --- /dev/null +++ b/coredns-1.12.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9071d65b7ce4d5f31d4e4a51c092d53ac10854f79053eee01830e4034ff11fe +size 2631180 diff --git a/coredns-1.12.1.tar.gz b/coredns-1.12.1.tar.gz new file mode 100644 index 0000000..6256d2c --- /dev/null +++ b/coredns-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94776e231016e1300ceae1ee209de33ffc4255daff5ba707dd908236ce521a80 +size 687617 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..de24043 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,725 @@ +------------------------------------------------------------------- +Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini + +- Update to version 1.12.1: + * core: Increase CNAME lookup limit from 7 to 10 (#7153) + * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set + * plugin/kubernetes: Revert "only create PTR records for endpoints with + hostname defined" + * plugin/forward: added option failfast_all_unhealthy_upstreams to return + servfail if all upstreams are down + * bump dependencies, fixing bsc#1239294 and bsc#1239728 + +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..52ea98c --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.1 +mtime: 1743450756 +commit: 707c7c10acd52cb94e959e76ae233d9b76af0854 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..7f681dd --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.12.1 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.21 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView|TestMultisocket_Restart" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..2116976 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3c5af17d8fca1ff85191095fd7a6777a4d699023dda3d7597c33fe6bdc96e59 +size 14593563 -- 2.51.1 From 291fd470ae1e95d9168cbdb3112b0ed7c8fb4fa43af9375e9abe3c9ada6962eb Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 1 Apr 2025 14:23:02 +0000 Subject: [PATCH 05/14] - dropped obscpio generation from _service OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=51 --- _service | 7 +------ coredns-1.12.1.obscpio | 3 --- coredns.changes | 2 ++ vendor.tar.gz | 4 ++-- 4 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 coredns-1.12.1.obscpio diff --git a/_service b/_service index d1d5dfd..72075ce 100644 --- a/_service +++ b/_service @@ -1,5 +1,5 @@ - + https://github.com/coredns/coredns git .git @@ -10,11 +10,6 @@ - - - *.tar - gz - diff --git a/coredns-1.12.1.obscpio b/coredns-1.12.1.obscpio deleted file mode 100644 index 4e5c61f..0000000 --- a/coredns-1.12.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f9071d65b7ce4d5f31d4e4a51c092d53ac10854f79053eee01830e4034ff11fe -size 2631180 diff --git a/coredns.changes b/coredns.changes index de24043..dc1bb25 100644 --- a/coredns.changes +++ b/coredns.changes @@ -10,6 +10,8 @@ Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini servfail if all upstreams are down * bump dependencies, fixing bsc#1239294 and bsc#1239728 +- dropped obscpio generation from _service + ------------------------------------------------------------------- Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com diff --git a/vendor.tar.gz b/vendor.tar.gz index 2116976..acc1ffb 100644 --- a/vendor.tar.gz +++ b/vendor.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e3c5af17d8fca1ff85191095fd7a6777a4d699023dda3d7597c33fe6bdc96e59 -size 14593563 +oid sha256:64415ed39d9fd65dbf370b3ff2bf18084e2e1c4a02f0673dc67ba20bb94f8232 +size 14593101 -- 2.51.1 From 5b3d0e3b7c0bf263f2afdd8f3de700d2a33a73d180d92d23d30c9a23edb722b6 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Mon, 5 May 2025 06:13:54 +0000 Subject: [PATCH 06/14] - Backported quic-go PR #5094: Fix parsing of ifindex from packets to ensure compatibility with big-endian architectures (see quic-go/quic-go#4978, coredns/coredns#6682). - This patch can be removed with the next quic-go release. OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=53 --- .gitattributes | 23 + .gitignore | 1 + Corefile | 35 ++ _service | 15 + _servicedata | 4 + coredns-1.11.1.obscpio | 3 + coredns-1.11.1.tar.gz | 3 + coredns-1.11.3+git129.387f34d.obscpio | 3 + coredns-1.11.3+git129.387f34d.tar.gz | 3 + coredns-1.11.3.obscpio | 3 + coredns-1.11.3.tar.gz | 3 + coredns-1.11.4.obscpio | 3 + coredns-1.11.4.tar.gz | 3 + coredns-1.12.0.obscpio | 3 + coredns-1.12.0.tar.gz | 3 + coredns-1.12.1.tar.gz | 3 + coredns.changes | 735 ++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 127 +++++ fixquic-go.patch | 39 ++ vendor.tar.gz | 3 + 22 files changed, 1031 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.11.1.obscpio create mode 100644 coredns-1.11.1.tar.gz create mode 100644 coredns-1.11.3+git129.387f34d.obscpio create mode 100644 coredns-1.11.3+git129.387f34d.tar.gz create mode 100644 coredns-1.11.3.obscpio create mode 100644 coredns-1.11.3.tar.gz create mode 100644 coredns-1.11.4.obscpio create mode 100644 coredns-1.11.4.tar.gz create mode 100644 coredns-1.12.0.obscpio create mode 100644 coredns-1.12.0.tar.gz create mode 100644 coredns-1.12.1.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 fixquic-go.patch create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..72075ce --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/coredns/coredns + git + .git + v1.12.1 + @PARENT_TAG@ + enable + v(.*) + + + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..f82f2a5 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 707c7c10acd52cb94e959e76ae233d9b76af0854 \ No newline at end of file diff --git a/coredns-1.11.1.obscpio b/coredns-1.11.1.obscpio new file mode 100644 index 0000000..96c6827 --- /dev/null +++ b/coredns-1.11.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9529d1bbc09a689cec4efdda2783cb40c0d9a24ffa3ab35432a88375c37d78 +size 2606604 diff --git a/coredns-1.11.1.tar.gz b/coredns-1.11.1.tar.gz new file mode 100644 index 0000000..01b0f23 --- /dev/null +++ b/coredns-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eec6fff72526c4d7441b9876b687a437f93fa513bc595ee6b9e2d79c672aa9c +size 673332 diff --git a/coredns-1.11.3+git129.387f34d.obscpio b/coredns-1.11.3+git129.387f34d.obscpio new file mode 100644 index 0000000..c1affce --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74159b928c0365a17b0cd08b04b039ba1f9d8a75b136c6c58f3e94d1a301679d +size 2656780 diff --git a/coredns-1.11.3+git129.387f34d.tar.gz b/coredns-1.11.3+git129.387f34d.tar.gz new file mode 100644 index 0000000..cc29a3a --- /dev/null +++ b/coredns-1.11.3+git129.387f34d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d813be643fa53cb8f92ad96ba6a372330510f09788675fd7f26d9b452db953dc +size 682267 diff --git a/coredns-1.11.3.obscpio b/coredns-1.11.3.obscpio new file mode 100644 index 0000000..84d368f --- /dev/null +++ b/coredns-1.11.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6183f082ccbaa735612a0d903ad3f4f2cfb291ac31a5a4d1805a8277ad0c872 +size 2614796 diff --git a/coredns-1.11.3.tar.gz b/coredns-1.11.3.tar.gz new file mode 100644 index 0000000..e8afaf3 --- /dev/null +++ b/coredns-1.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1eb6b277e7f8745c4d1855bac5de15c7917ed9755168df334c388e2bed90f3c +size 673983 diff --git a/coredns-1.11.4.obscpio b/coredns-1.11.4.obscpio new file mode 100644 index 0000000..3d8044d --- /dev/null +++ b/coredns-1.11.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2384740bfac6908d4ae32279f6ff5e6964c8076c4448d03c1951d54db56d1a14 +size 2645516 diff --git a/coredns-1.11.4.tar.gz b/coredns-1.11.4.tar.gz new file mode 100644 index 0000000..632b51d --- /dev/null +++ b/coredns-1.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0980bcaf7f2dd53b645aec5c5246799cb5a39c481775585e2417f2fda9f6fef +size 683959 diff --git a/coredns-1.12.0.obscpio b/coredns-1.12.0.obscpio new file mode 100644 index 0000000..7328c9c --- /dev/null +++ b/coredns-1.12.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce5f107d1c036ab6880f71c35fbd210a2595add9ce197c9b246f03ebb2f9270a +size 2657804 diff --git a/coredns-1.12.0.tar.gz b/coredns-1.12.0.tar.gz new file mode 100644 index 0000000..8d83e03 --- /dev/null +++ b/coredns-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b61a6f62b9b8835bd67c3f8c084fe7848d990d98f8a204f5ca0781550af99b0 +size 685769 diff --git a/coredns-1.12.1.tar.gz b/coredns-1.12.1.tar.gz new file mode 100644 index 0000000..6256d2c --- /dev/null +++ b/coredns-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94776e231016e1300ceae1ee209de33ffc4255daff5ba707dd908236ce521a80 +size 687617 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..0539f63 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,735 @@ +------------------------------------------------------------------- +Wed Apr 30 20:11:19 UTC 2025 - Daniel Mulzer + +- Backported quic-go PR #5094: Fix parsing of ifindex from packets + to ensure compatibility with big-endian architectures + (see quic-go/quic-go#4978, coredns/coredns#6682). +- This patch can be removed with the next quic-go release. + +------------------------------------------------------------------- +Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini + +- Update to version 1.12.1: + * core: Increase CNAME lookup limit from 7 to 10 (#7153) + * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set + * plugin/kubernetes: Revert "only create PTR records for endpoints with + hostname defined" + * plugin/forward: added option failfast_all_unhealthy_upstreams to return + servfail if all upstreams are down + * bump dependencies, fixing bsc#1239294 and bsc#1239728 + +- dropped obscpio generation from _service + +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..52ea98c --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.1 +mtime: 1743450756 +commit: 707c7c10acd52cb94e959e76ae233d9b76af0854 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..8fcce80 --- /dev/null +++ b/coredns.spec @@ -0,0 +1,127 @@ +# +# spec file for package coredns +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.12.1 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +Patch12: fixquic-go.patch +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.21 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView|TestMultisocket_Restart" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/fixquic-go.patch b/fixquic-go.patch new file mode 100644 index 0000000..75a8f76 --- /dev/null +++ b/fixquic-go.patch @@ -0,0 +1,39 @@ +Index: coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_helper_darwin.go +=================================================================== +--- coredns-1.12.1.orig/vendor/github.com/quic-go/quic-go/sys_conn_helper_darwin.go ++++ coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_helper_darwin.go +@@ -30,7 +30,7 @@ func parseIPv4PktInfo(body []byte) (ip n + if len(body) != 12 { + return netip.Addr{}, 0, false + } +- return netip.AddrFrom4(*(*[4]byte)(body[8:12])), binary.LittleEndian.Uint32(body), true ++ return netip.AddrFrom4(*(*[4]byte)(body[8:12])), binary.NativeEndian.Uint32(body), true + } + + func isGSOEnabled(syscall.RawConn) bool { return false } +Index: coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_helper_linux.go +=================================================================== +--- coredns-1.12.1.orig/vendor/github.com/quic-go/quic-go/sys_conn_helper_linux.go ++++ coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_helper_linux.go +@@ -58,7 +58,7 @@ func parseIPv4PktInfo(body []byte) (ip n + if len(body) != 12 { + return netip.Addr{}, 0, false + } +- return netip.AddrFrom4(*(*[4]byte)(body[8:12])), binary.LittleEndian.Uint32(body), true ++ return netip.AddrFrom4(*(*[4]byte)(body[8:12])), binary.NativeEndian.Uint32(body), true + } + + // isGSOEnabled tests if the kernel supports GSO. +Index: coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_oob.go +=================================================================== +--- coredns-1.12.1.orig/vendor/github.com/quic-go/quic-go/sys_conn_oob.go ++++ coredns-1.12.1/vendor/github.com/quic-go/quic-go/sys_conn_oob.go +@@ -222,7 +222,7 @@ func (c *oobConn) ReadPacket() (received + // }; + if len(body) == 20 { + p.info.addr = netip.AddrFrom16(*(*[16]byte)(body[:16])).Unmap() +- p.info.ifIndex = binary.LittleEndian.Uint32(body[16:]) ++ p.info.ifIndex = binary.NativeEndian.Uint32(body[16:]) + } else { + invalidCmsgOnceV6.Do(func() { + log.Printf("Received invalid IPv6 packet info control message: %+x. "+ diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..acc1ffb --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64415ed39d9fd65dbf370b3ff2bf18084e2e1c4a02f0673dc67ba20bb94f8232 +size 14593101 -- 2.51.1 From af2907dccc3bbbdb4daf439ebdec73d1a7bc9a3a255b1b068305a346e0f03fc8 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Mon, 5 May 2025 06:22:37 +0000 Subject: [PATCH 07/14] - Added patch fixquic-go.patch OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=54 --- coredns.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coredns.changes b/coredns.changes index 0539f63..d2df3dc 100644 --- a/coredns.changes +++ b/coredns.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 06:21:40 UTC 2025 - Andrea Manzini + +- Added patch fixquic-go.patch + ------------------------------------------------------------------- Wed Apr 30 20:11:19 UTC 2025 - Daniel Mulzer -- 2.51.1 From 0027844e02e2d1583e23a5cf1fc1b8713e9560aaa851416fbac787ad82937651 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Thu, 11 Sep 2025 07:01:52 +0000 Subject: [PATCH 08/14] - Update to version 1.12.4: * bump deps * fix(transfer): goroutine leak on axfr err (#7516) * plugin/etcd: fix import order for ttl test (#7515) * fix(grpc): check proxy list length in policies (#7512) * fix(https): propagate HTTP request context (#7491) * fix(plugin): guard nil lookups across plugins (#7494) * lint: add missing prealloc to backend lookup test (#7510) * fix(grpc): span leak on error attempt (#7487) * test(plugin): improve backend lookup coverage (#7496) * lint: enable prealloc (#7493) * lint: enable durationcheck (#7492) * Add Sophotech to adopters list (#7495) * plugin: Use %w to wrap user error (#7489) * fix(metrics): add timeouts to metrics HTTP server (#7469) * chore(ci): restrict token permissions (#7470) * chore(ci): pin workflow dependencies (#7471) * fix(forward): use netip package for parsing (#7472) * test(plugin): improve test coverage for pprof (#7473) * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) * plugin/file: fix label offset problem in ClosestEncloser (#7465) * feat(trace): migrate dd-trace-go v1 to v2 (#7466) * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) * chore: update Go version to 1.24.6 (#7437) * plugin/header: Remove deprecated syntax (#7436) * plugin/loadbalance: support prefer option (#7433) * Improve caddy.GracefulServer conformance checks (#7416) - Update to version 1.12.3: * chore: Minor changes to `Dockerfile` (#7428) OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=56 --- .gitattributes | 23 ++ .gitignore | 1 + Corefile | 35 ++ _service | 15 + _servicedata | 4 + coredns-1.12.4.tar.gz | 3 + coredns.changes | 837 ++++++++++++++++++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++++ vendor.tar.gz | 3 + 11 files changed, 1063 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.12.4.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..9fdc7da --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/coredns/coredns + git + .git + v1.12.4 + @PARENT_TAG@ + enable + v(.*) + + + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..81a82c6 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + f32329577fd5e3fe19908f8a9ba5c76aafb45bf6 \ No newline at end of file diff --git a/coredns-1.12.4.tar.gz b/coredns-1.12.4.tar.gz new file mode 100644 index 0000000..6a8cda6 --- /dev/null +++ b/coredns-1.12.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfb2986777c7a89711bf9c18c02403c227747ead9d9c898a76822df8e24814c5 +size 704742 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..f928889 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,837 @@ +------------------------------------------------------------------- +Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini + +- Update to version 1.12.4: + * bump deps + * fix(transfer): goroutine leak on axfr err (#7516) + * plugin/etcd: fix import order for ttl test (#7515) + * fix(grpc): check proxy list length in policies (#7512) + * fix(https): propagate HTTP request context (#7491) + * fix(plugin): guard nil lookups across plugins (#7494) + * lint: add missing prealloc to backend lookup test (#7510) + * fix(grpc): span leak on error attempt (#7487) + * test(plugin): improve backend lookup coverage (#7496) + * lint: enable prealloc (#7493) + * lint: enable durationcheck (#7492) + * Add Sophotech to adopters list (#7495) + * plugin: Use %w to wrap user error (#7489) + * fix(metrics): add timeouts to metrics HTTP server (#7469) + * chore(ci): restrict token permissions (#7470) + * chore(ci): pin workflow dependencies (#7471) + * fix(forward): use netip package for parsing (#7472) + * test(plugin): improve test coverage for pprof (#7473) + * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) + * plugin/file: fix label offset problem in ClosestEncloser (#7465) + * feat(trace): migrate dd-trace-go v1 to v2 (#7466) + * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) + * chore: update Go version to 1.24.6 (#7437) + * plugin/header: Remove deprecated syntax (#7436) + * plugin/loadbalance: support prefer option (#7433) + * Improve caddy.GracefulServer conformance checks (#7416) + +------------------------------------------------------------------- +Sun Aug 31 14:18:42 UTC 2025 - Andrea Manzini + +- Update to version 1.12.3: + * chore: Minor changes to `Dockerfile` (#7428) + * Properly create hostname from IPv6 (#7431) + * Bump deps + * fix: handle cached connection closure in forward plugin (#7427) + * plugin/test: fix TXT record comparison for multi-chunk vs multiple records + * plugin/file: preserve case in SRV record names and targets per RFC 6763 + * fix(auto/file): return REFUSED when no next plugin is available (#7381) + * Port to AWS Go SDK v2 (#6588) + * fix(cache): data race when refreshing cached messages (#7398) + * fix(cache): data race when updating the TTL of cached messages (#7397) + * chore: fix docs incompatibility (#7390) + * plugin/rewrite: Add EDNS0 Unset Action (#7380) + * add args: startup_timeout for kubernetes plugin (#7068) + * [plugin/cache] create a copy of a response to ensure original data is never + modified + * Add support for fallthrough to the grpc plugin (#7359) + * view: Add IPv6 example match (#7355) + * chore: enable more rules from revive (#7352) + * chore: enable early-return and superfluous-else from revive (#7129) + * test(plugin): improve tests for auto (#7348) + * fix(proxy): flaky dial tests (#7349) + * test: add t.Helper() calls to test helper functions (#7351) + * fix(kubernetes): multicluster DNS race condition (#7350) + * lint: enable wastedassign linter (#7340) + * test(plugin): add tests for any (#7341) + * Actually invoke make release -f Makefile.release during test (#7338) + * Keep golang to 1.24.2 due to build issues in 1.24.3 (#7337) + * lint: enable protogetter linter (#7336) + * lint: enable nolintlint linter (#7332) + * fix: missing intrange lint fix (#7333) + * perf(kubernetes): optimize AutoPath slice allocation (#7323) + * lint: enable intrange linter (#7331) + * feat(plugin/file): fallthrough (#7327) + * lint: enable canonicalheader linter (#7330) + * fix(proxy): avoid Dial hang after Transport stopped (#7321) + * test(plugin): add tests for pkg/rand (#7320) + * test(dnsserver): add unit tests for gRPC and QUIC servers (#7319) + * fix: loop variable capture and linter (#7328) + * lint: enable usetesting linter (#7322) + * test: skip certain network-specific tests on non-Linux (#7318) + * test(dnsserver): improve core/dnsserver test coverage (#7317) + * fix(metrics): preserve request size from plugins (#7313) + * fix: ensure DNS query name reset in plugin.NS error path (#7142) + * feat: enable plugins via environment during build (#7310) + * fix(plugin/bind): remove zone for link-local IPv4 (#7295) + * test(request): improve coverage across package (#7307) + * test(coremain): Add unit tests (#7308) + * ci(test-e2e): add Go version setup to workflow (#7309) + * kubernetes: add multicluster support (#7266) + * chore: Add new maintainer thevilledev (#7298) + * Update golangci-lint (#7294) + * feat: limit concurrent DoQ streams and goroutines (#7296) + * docs: add man page for multisocket plugin (#7297) + * Prepare for the k8s api upgrade (#7293) + * fix(rewrite): truncated upstream response (#7277) + * fix(plugin/secondary): make transfer property mandatory (#7249) + * plugin/bind: remove macOS bug mention in docs (#7250) + * Remove `?bla=foo:443` for `POST` DoH (#7257) + * Do not interrupt querying readiness probes for plugins (#6975) + * Added `SetProxyOptions` function for `forward` plugin (#7229) +- removed patch fixquic-go.patch as already included in upstream + +------------------------------------------------------------------- +Mon May 5 06:21:40 UTC 2025 - Andrea Manzini + +- Added patch fixquic-go.patch + +------------------------------------------------------------------- +Wed Apr 30 20:11:19 UTC 2025 - Daniel Mulzer + +- Backported quic-go PR #5094: Fix parsing of ifindex from packets + to ensure compatibility with big-endian architectures + (see quic-go/quic-go#4978, coredns/coredns#6682). +- This patch can be removed with the next quic-go release. + +------------------------------------------------------------------- +Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini + +- Update to version 1.12.1: + * core: Increase CNAME lookup limit from 7 to 10 (#7153) + * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set + * plugin/kubernetes: Revert "only create PTR records for endpoints with + hostname defined" + * plugin/forward: added option failfast_all_unhealthy_upstreams to return + servfail if all upstreams are down + * bump dependencies, fixing bsc#1239294 and bsc#1239728 + +- dropped obscpio generation from _service + +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..52ea98c --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.1 +mtime: 1743450756 +commit: 707c7c10acd52cb94e959e76ae233d9b76af0854 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..9a98c74 --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.12.4 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.24.5 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView|TestMultisocket_Restart" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..1b56629 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deee26dbbb30b37fc10c1e3d48a928044a1b44de3b28366ccd64cac032d6194a +size 15138370 -- 2.51.1 From 739b87711fd2c72651da935901e616da9b3ccf3a218047a82547a74c018563f5 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Thu, 11 Sep 2025 08:50:33 +0000 Subject: [PATCH 09/14] Accepting request 1304041 from home:amanzini:branches:devel:kubic - fix CVE-2025-58063 https://bugzilla.suse.com/show_bug.cgi?id=1249389 OBS-URL: https://build.opensuse.org/request/show/1304041 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=57 --- .gitattributes | 23 ++ .gitignore | 1 + Corefile | 35 ++ _service | 15 + _servicedata | 4 + coredns-1.12.4.tar.gz | 3 + coredns.changes | 839 ++++++++++++++++++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 +++++++ vendor.tar.gz | 3 + 11 files changed, 1065 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.12.4.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..9fdc7da --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/coredns/coredns + git + .git + v1.12.4 + @PARENT_TAG@ + enable + v(.*) + + + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..81a82c6 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + f32329577fd5e3fe19908f8a9ba5c76aafb45bf6 \ No newline at end of file diff --git a/coredns-1.12.4.tar.gz b/coredns-1.12.4.tar.gz new file mode 100644 index 0000000..6a8cda6 --- /dev/null +++ b/coredns-1.12.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfb2986777c7a89711bf9c18c02403c227747ead9d9c898a76822df8e24814c5 +size 704742 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..eeb577c --- /dev/null +++ b/coredns.changes @@ -0,0 +1,839 @@ +------------------------------------------------------------------- +Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini + +- fix CVE-2025-58063 https://bugzilla.suse.com/show_bug.cgi?id=1249389 +- Update to version 1.12.4: + * bump deps + * fix(transfer): goroutine leak on axfr err (#7516) + * plugin/etcd: fix import order for ttl test (#7515) + * fix(grpc): check proxy list length in policies (#7512) + * fix(https): propagate HTTP request context (#7491) + * fix(plugin): guard nil lookups across plugins (#7494) + * lint: add missing prealloc to backend lookup test (#7510) + * fix(grpc): span leak on error attempt (#7487) + * test(plugin): improve backend lookup coverage (#7496) + * lint: enable prealloc (#7493) + * lint: enable durationcheck (#7492) + * Add Sophotech to adopters list (#7495) + * plugin: Use %w to wrap user error (#7489) + * fix(metrics): add timeouts to metrics HTTP server (#7469) + * chore(ci): restrict token permissions (#7470) + * chore(ci): pin workflow dependencies (#7471) + * fix(forward): use netip package for parsing (#7472) + * test(plugin): improve test coverage for pprof (#7473) + * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) + * plugin/file: fix label offset problem in ClosestEncloser (#7465) + * feat(trace): migrate dd-trace-go v1 to v2 (#7466) + * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) + * chore: update Go version to 1.24.6 (#7437) + * plugin/header: Remove deprecated syntax (#7436) + * plugin/loadbalance: support prefer option (#7433) + * Improve caddy.GracefulServer conformance checks (#7416) + + +------------------------------------------------------------------- +Sun Aug 31 14:18:42 UTC 2025 - Andrea Manzini + +- Update to version 1.12.3: + * chore: Minor changes to `Dockerfile` (#7428) + * Properly create hostname from IPv6 (#7431) + * Bump deps + * fix: handle cached connection closure in forward plugin (#7427) + * plugin/test: fix TXT record comparison for multi-chunk vs multiple records + * plugin/file: preserve case in SRV record names and targets per RFC 6763 + * fix(auto/file): return REFUSED when no next plugin is available (#7381) + * Port to AWS Go SDK v2 (#6588) + * fix(cache): data race when refreshing cached messages (#7398) + * fix(cache): data race when updating the TTL of cached messages (#7397) + * chore: fix docs incompatibility (#7390) + * plugin/rewrite: Add EDNS0 Unset Action (#7380) + * add args: startup_timeout for kubernetes plugin (#7068) + * [plugin/cache] create a copy of a response to ensure original data is never + modified + * Add support for fallthrough to the grpc plugin (#7359) + * view: Add IPv6 example match (#7355) + * chore: enable more rules from revive (#7352) + * chore: enable early-return and superfluous-else from revive (#7129) + * test(plugin): improve tests for auto (#7348) + * fix(proxy): flaky dial tests (#7349) + * test: add t.Helper() calls to test helper functions (#7351) + * fix(kubernetes): multicluster DNS race condition (#7350) + * lint: enable wastedassign linter (#7340) + * test(plugin): add tests for any (#7341) + * Actually invoke make release -f Makefile.release during test (#7338) + * Keep golang to 1.24.2 due to build issues in 1.24.3 (#7337) + * lint: enable protogetter linter (#7336) + * lint: enable nolintlint linter (#7332) + * fix: missing intrange lint fix (#7333) + * perf(kubernetes): optimize AutoPath slice allocation (#7323) + * lint: enable intrange linter (#7331) + * feat(plugin/file): fallthrough (#7327) + * lint: enable canonicalheader linter (#7330) + * fix(proxy): avoid Dial hang after Transport stopped (#7321) + * test(plugin): add tests for pkg/rand (#7320) + * test(dnsserver): add unit tests for gRPC and QUIC servers (#7319) + * fix: loop variable capture and linter (#7328) + * lint: enable usetesting linter (#7322) + * test: skip certain network-specific tests on non-Linux (#7318) + * test(dnsserver): improve core/dnsserver test coverage (#7317) + * fix(metrics): preserve request size from plugins (#7313) + * fix: ensure DNS query name reset in plugin.NS error path (#7142) + * feat: enable plugins via environment during build (#7310) + * fix(plugin/bind): remove zone for link-local IPv4 (#7295) + * test(request): improve coverage across package (#7307) + * test(coremain): Add unit tests (#7308) + * ci(test-e2e): add Go version setup to workflow (#7309) + * kubernetes: add multicluster support (#7266) + * chore: Add new maintainer thevilledev (#7298) + * Update golangci-lint (#7294) + * feat: limit concurrent DoQ streams and goroutines (#7296) + * docs: add man page for multisocket plugin (#7297) + * Prepare for the k8s api upgrade (#7293) + * fix(rewrite): truncated upstream response (#7277) + * fix(plugin/secondary): make transfer property mandatory (#7249) + * plugin/bind: remove macOS bug mention in docs (#7250) + * Remove `?bla=foo:443` for `POST` DoH (#7257) + * Do not interrupt querying readiness probes for plugins (#6975) + * Added `SetProxyOptions` function for `forward` plugin (#7229) +- removed patch fixquic-go.patch as already included in upstream + +------------------------------------------------------------------- +Mon May 5 06:21:40 UTC 2025 - Andrea Manzini + +- Added patch fixquic-go.patch + +------------------------------------------------------------------- +Wed Apr 30 20:11:19 UTC 2025 - Daniel Mulzer + +- Backported quic-go PR #5094: Fix parsing of ifindex from packets + to ensure compatibility with big-endian architectures + (see quic-go/quic-go#4978, coredns/coredns#6682). +- This patch can be removed with the next quic-go release. + +------------------------------------------------------------------- +Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini + +- Update to version 1.12.1: + * core: Increase CNAME lookup limit from 7 to 10 (#7153) + * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set + * plugin/kubernetes: Revert "only create PTR records for endpoints with + hostname defined" + * plugin/forward: added option failfast_all_unhealthy_upstreams to return + servfail if all upstreams are down + * bump dependencies, fixing bsc#1239294 and bsc#1239728 + +- dropped obscpio generation from _service + +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..52ea98c --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.1 +mtime: 1743450756 +commit: 707c7c10acd52cb94e959e76ae233d9b76af0854 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..9a98c74 --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.12.4 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.24.5 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView|TestMultisocket_Restart" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..1b56629 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deee26dbbb30b37fc10c1e3d48a928044a1b44de3b28366ccd64cac032d6194a +size 15138370 -- 2.51.1 From 4727abbcecdbfe0b35c9ac47e5a1e44a8be8ae311dc9a9f15c98303802f79aff Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 11 Sep 2025 12:41:34 +0000 Subject: [PATCH 10/14] Updating link to change in openSUSE:Factory/coredns revision 25 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=9c67ded636538714e47bd9e98c919769 --- coredns.changes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/coredns.changes b/coredns.changes index eeb577c..f5d78e6 100644 --- a/coredns.changes +++ b/coredns.changes @@ -1,6 +1,37 @@ ------------------------------------------------------------------- Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini +- Update to version 1.12.4: + * bump deps + * fix(transfer): goroutine leak on axfr err (#7516) + * plugin/etcd: fix import order for ttl test (#7515) + * fix(grpc): check proxy list length in policies (#7512) + * fix(https): propagate HTTP request context (#7491) + * fix(plugin): guard nil lookups across plugins (#7494) + * lint: add missing prealloc to backend lookup test (#7510) + * fix(grpc): span leak on error attempt (#7487) + * test(plugin): improve backend lookup coverage (#7496) + * lint: enable prealloc (#7493) + * lint: enable durationcheck (#7492) + * Add Sophotech to adopters list (#7495) + * plugin: Use %w to wrap user error (#7489) + * fix(metrics): add timeouts to metrics HTTP server (#7469) + * chore(ci): restrict token permissions (#7470) + * chore(ci): pin workflow dependencies (#7471) + * fix(forward): use netip package for parsing (#7472) + * test(plugin): improve test coverage for pprof (#7473) + * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) + * plugin/file: fix label offset problem in ClosestEncloser (#7465) + * feat(trace): migrate dd-trace-go v1 to v2 (#7466) + * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) + * chore: update Go version to 1.24.6 (#7437) + * plugin/header: Remove deprecated syntax (#7436) + * plugin/loadbalance: support prefer option (#7433) + * Improve caddy.GracefulServer conformance checks (#7416) + +------------------------------------------------------------------- +Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini + - fix CVE-2025-58063 https://bugzilla.suse.com/show_bug.cgi?id=1249389 - Update to version 1.12.4: * bump deps -- 2.51.1 From 411bcc83b654b844c93f642beb7247d6cd6eac131526857dcd89d2ed3cc2283d Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 11 Sep 2025 12:41:34 +0000 Subject: [PATCH 11/14] baserev update by copy to link target OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=58 --- coredns.changes | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/coredns.changes b/coredns.changes index f5d78e6..eeb577c 100644 --- a/coredns.changes +++ b/coredns.changes @@ -1,37 +1,6 @@ ------------------------------------------------------------------- Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini -- Update to version 1.12.4: - * bump deps - * fix(transfer): goroutine leak on axfr err (#7516) - * plugin/etcd: fix import order for ttl test (#7515) - * fix(grpc): check proxy list length in policies (#7512) - * fix(https): propagate HTTP request context (#7491) - * fix(plugin): guard nil lookups across plugins (#7494) - * lint: add missing prealloc to backend lookup test (#7510) - * fix(grpc): span leak on error attempt (#7487) - * test(plugin): improve backend lookup coverage (#7496) - * lint: enable prealloc (#7493) - * lint: enable durationcheck (#7492) - * Add Sophotech to adopters list (#7495) - * plugin: Use %w to wrap user error (#7489) - * fix(metrics): add timeouts to metrics HTTP server (#7469) - * chore(ci): restrict token permissions (#7470) - * chore(ci): pin workflow dependencies (#7471) - * fix(forward): use netip package for parsing (#7472) - * test(plugin): improve test coverage for pprof (#7473) - * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) - * plugin/file: fix label offset problem in ClosestEncloser (#7465) - * feat(trace): migrate dd-trace-go v1 to v2 (#7466) - * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) - * chore: update Go version to 1.24.6 (#7437) - * plugin/header: Remove deprecated syntax (#7436) - * plugin/loadbalance: support prefer option (#7433) - * Improve caddy.GracefulServer conformance checks (#7416) - -------------------------------------------------------------------- -Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini - - fix CVE-2025-58063 https://bugzilla.suse.com/show_bug.cgi?id=1249389 - Update to version 1.12.4: * bump deps -- 2.51.1 From 53bac407b4636e282fccd373375efc1d286889ad854b1e612188f69f98949aee Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Thu, 8 Jan 2026 15:33:50 +0000 Subject: [PATCH 12/14] - fix CVE-2025-68156 https://bugzilla.suse.com/show_bug.cgi?id=1255345 - Update to version 1.14.0: * core: Fix gosec G115 integer overflow warnings * core: Add regex length limit * plugin/azure: Fix slice init length * plugin/errors: Add optional show_first flag to consolidate directive * plugin/file: Fix for misleading SOA parser warnings * plugin/kubernetes: Rate limits to api server * plugin/metrics: Implement plugin chain tracking * plugin/sign: Report parser err before missing SOA * build(deps): bump github.com/expr-lang/expr from 1.17.6 to 1.17.7 - Update to version 1.13.2: * core: Add basic support for DoH3 * core: Avoid proxy unnecessary alloc in Yield * core: Fix usage of sync.Pool to save an alloc * core: Fix data race with sync.RWMutex for uniq * core: Prevent QUIC reload panic by lazily initializing the listener * core: Refactor/use reflect.TypeFor * plugin/auto: Limit regex length * plugin/cache: Remove superfluous allocations in item.toMsg * plugin/cache: Isolate metadata in prefetch goroutine * plugin/cache: Correct spelling of MaximumDefaultTTL in cache and dnsutil packages * plugin/dnstap: Better error handling (redial & logging) when Dnstap is busy * plugin/file: Performance finetuning * plugin/forward: Disallow NOERROR in failover * plugin/forward: Added support for per-nameserver TLS SNI * plugin/forward: Prevent busy loop on connection err * plugin/forward: Add max connect attempts knob * plugin/geoip: Add ASN schema support OBS-URL: https://build.opensuse.org/package/show/devel:kubic/coredns?expand=0&rev=60 --- .gitattributes | 23 ++ .gitignore | 1 + Corefile | 35 ++ _service | 15 + _servicedata | 4 + coredns-1.12.4.tar.gz | 3 + coredns-1.14.0.tar.gz | 3 + coredns.changes | 902 ++++++++++++++++++++++++++++++++++++++++++ coredns.obsinfo | 4 + coredns.service | 12 + coredns.spec | 126 ++++++ vendor.tar.gz | 3 + 12 files changed, 1131 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Corefile create mode 100644 _service create mode 100644 _servicedata create mode 100644 coredns-1.12.4.tar.gz create mode 100644 coredns-1.14.0.tar.gz create mode 100644 coredns.changes create mode 100644 coredns.obsinfo create mode 100644 coredns.service create mode 100644 coredns.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Corefile b/Corefile new file mode 100644 index 0000000..b38b31c --- /dev/null +++ b/Corefile @@ -0,0 +1,35 @@ +# +# Example configuration file for coredns. +# + +# All zones +. { + # Bind on a specific IP + bind 127.0.0.1 + + # Forward queries for all zones to a resolver using TLS + # forward . tls://1.1.1.1:853 tls://1.0.0.1:853 + + # Forward queries for all zones to a resolver using plain ol' DNS + #forward . dns://8.8.8.8:53 + + # Forward queries for all zones to /etc/resolv.conf + forward . /etc/resolv.conf + + # Errors related to query processing are printed to STDOUT + errors + + # Log all DNS queries + #log + + # Extra debug information + # debug + + # Resolve hostsnames specified in /etc/hosts + hosts { + fallthrough + } +} + +# Import Zone configurations from other files +# import AdditonalZones.conf diff --git a/_service b/_service new file mode 100644 index 0000000..17dfb90 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/coredns/coredns + git + .git + v1.14.0 + @PARENT_TAG@ + enable + v(.*) + + + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..feabf31 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/coredns/coredns + 1c964f2f68bd04a875a41479822ec3da1f1e76ef \ No newline at end of file diff --git a/coredns-1.12.4.tar.gz b/coredns-1.12.4.tar.gz new file mode 100644 index 0000000..6a8cda6 --- /dev/null +++ b/coredns-1.12.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfb2986777c7a89711bf9c18c02403c227747ead9d9c898a76822df8e24814c5 +size 704742 diff --git a/coredns-1.14.0.tar.gz b/coredns-1.14.0.tar.gz new file mode 100644 index 0000000..65be1eb --- /dev/null +++ b/coredns-1.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba5ae931cdd675a915988e2fe7d93591f451b33c5894bda4a11c90e749173e8d +size 745931 diff --git a/coredns.changes b/coredns.changes new file mode 100644 index 0000000..53973b5 --- /dev/null +++ b/coredns.changes @@ -0,0 +1,902 @@ +------------------------------------------------------------------- +Thu Jan 08 14:45:03 UTC 2026 - Andrea Manzini + +- fix CVE-2025-68156 https://bugzilla.suse.com/show_bug.cgi?id=1255345 +- Update to version 1.14.0: + * core: Fix gosec G115 integer overflow warnings + * core: Add regex length limit + * plugin/azure: Fix slice init length + * plugin/errors: Add optional show_first flag to consolidate directive + * plugin/file: Fix for misleading SOA parser warnings + * plugin/kubernetes: Rate limits to api server + * plugin/metrics: Implement plugin chain tracking + * plugin/sign: Report parser err before missing SOA + * build(deps): bump github.com/expr-lang/expr from 1.17.6 to 1.17.7 + +- Update to version 1.13.2: + * core: Add basic support for DoH3 + * core: Avoid proxy unnecessary alloc in Yield + * core: Fix usage of sync.Pool to save an alloc + * core: Fix data race with sync.RWMutex for uniq + * core: Prevent QUIC reload panic by lazily initializing the listener + * core: Refactor/use reflect.TypeFor + * plugin/auto: Limit regex length + * plugin/cache: Remove superfluous allocations in item.toMsg + * plugin/cache: Isolate metadata in prefetch goroutine + * plugin/cache: Correct spelling of MaximumDefaultTTL in cache and dnsutil + packages + * plugin/dnstap: Better error handling (redial & logging) when Dnstap is busy + * plugin/file: Performance finetuning + * plugin/forward: Disallow NOERROR in failover + * plugin/forward: Added support for per-nameserver TLS SNI + * plugin/forward: Prevent busy loop on connection err + * plugin/forward: Add max connect attempts knob + * plugin/geoip: Add ASN schema support + * plugin/geoip: Add support for subdivisions + * plugin/kubernetes: Fix kubernetes plugin logging + * plugin/multisocket: Cap num sockets to prevent OOM + * plugin/nomad: Support service filtering + * plugin/rewrite: Pre-compile CNAME rewrite regexp + * plugin/secondary: Fix reload causing secondary plugin goroutine to leak + +- Update to version 1.13.1: + * core: Avoid string concatenation in loops + * core: Update golang to 1.25.2 and golang.org/x/net to v0.45.0 on CVE fixes + * plugin/sign: Reject invalid UTF‑8 dbfile token + +- Update to version 1.13.0: + * core: Export timeout values in dnsserver.Server + * core: Fix Corefile infinite loop on unclosed braces + * core: Fix Corefile related import cycle issue + * core: Normalize panics on invalid origins + * core: Rely on dns.Server.ShutdownContext to gracefully stop + * plugin/dnstap: Add bounds for plugin args + * plugin/file: Fix data race in tree Elem.Name + * plugin/forward: No failover to next upstream when receiving SERVFAIL or + REFUSED response codes + * plugin/grpc: Enforce DNS message size limits + * plugin/loop: Prevent panic when ListenHosts is empty + * plugin/loop: Avoid panic on invalid server block + * plugin/nomad: Add a Nomad plugin + * plugin/reload: Prevent SIGTERM/reload deadlock + + +------------------------------------------------------------------- +Thu Sep 11 06:35:54 UTC 2025 - Andrea Manzini + +- fix CVE-2025-58063 https://bugzilla.suse.com/show_bug.cgi?id=1249389 +- Update to version 1.12.4: + * bump deps + * fix(transfer): goroutine leak on axfr err (#7516) + * plugin/etcd: fix import order for ttl test (#7515) + * fix(grpc): check proxy list length in policies (#7512) + * fix(https): propagate HTTP request context (#7491) + * fix(plugin): guard nil lookups across plugins (#7494) + * lint: add missing prealloc to backend lookup test (#7510) + * fix(grpc): span leak on error attempt (#7487) + * test(plugin): improve backend lookup coverage (#7496) + * lint: enable prealloc (#7493) + * lint: enable durationcheck (#7492) + * Add Sophotech to adopters list (#7495) + * plugin: Use %w to wrap user error (#7489) + * fix(metrics): add timeouts to metrics HTTP server (#7469) + * chore(ci): restrict token permissions (#7470) + * chore(ci): pin workflow dependencies (#7471) + * fix(forward): use netip package for parsing (#7472) + * test(plugin): improve test coverage for pprof (#7473) + * build(deps): bump github.com/go-viper/mapstructure/v2 (#7468) + * plugin/file: fix label offset problem in ClosestEncloser (#7465) + * feat(trace): migrate dd-trace-go v1 to v2 (#7466) + * test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438) + * chore: update Go version to 1.24.6 (#7437) + * plugin/header: Remove deprecated syntax (#7436) + * plugin/loadbalance: support prefer option (#7433) + * Improve caddy.GracefulServer conformance checks (#7416) + + +------------------------------------------------------------------- +Sun Aug 31 14:18:42 UTC 2025 - Andrea Manzini + +- Update to version 1.12.3: + * chore: Minor changes to `Dockerfile` (#7428) + * Properly create hostname from IPv6 (#7431) + * Bump deps + * fix: handle cached connection closure in forward plugin (#7427) + * plugin/test: fix TXT record comparison for multi-chunk vs multiple records + * plugin/file: preserve case in SRV record names and targets per RFC 6763 + * fix(auto/file): return REFUSED when no next plugin is available (#7381) + * Port to AWS Go SDK v2 (#6588) + * fix(cache): data race when refreshing cached messages (#7398) + * fix(cache): data race when updating the TTL of cached messages (#7397) + * chore: fix docs incompatibility (#7390) + * plugin/rewrite: Add EDNS0 Unset Action (#7380) + * add args: startup_timeout for kubernetes plugin (#7068) + * [plugin/cache] create a copy of a response to ensure original data is never + modified + * Add support for fallthrough to the grpc plugin (#7359) + * view: Add IPv6 example match (#7355) + * chore: enable more rules from revive (#7352) + * chore: enable early-return and superfluous-else from revive (#7129) + * test(plugin): improve tests for auto (#7348) + * fix(proxy): flaky dial tests (#7349) + * test: add t.Helper() calls to test helper functions (#7351) + * fix(kubernetes): multicluster DNS race condition (#7350) + * lint: enable wastedassign linter (#7340) + * test(plugin): add tests for any (#7341) + * Actually invoke make release -f Makefile.release during test (#7338) + * Keep golang to 1.24.2 due to build issues in 1.24.3 (#7337) + * lint: enable protogetter linter (#7336) + * lint: enable nolintlint linter (#7332) + * fix: missing intrange lint fix (#7333) + * perf(kubernetes): optimize AutoPath slice allocation (#7323) + * lint: enable intrange linter (#7331) + * feat(plugin/file): fallthrough (#7327) + * lint: enable canonicalheader linter (#7330) + * fix(proxy): avoid Dial hang after Transport stopped (#7321) + * test(plugin): add tests for pkg/rand (#7320) + * test(dnsserver): add unit tests for gRPC and QUIC servers (#7319) + * fix: loop variable capture and linter (#7328) + * lint: enable usetesting linter (#7322) + * test: skip certain network-specific tests on non-Linux (#7318) + * test(dnsserver): improve core/dnsserver test coverage (#7317) + * fix(metrics): preserve request size from plugins (#7313) + * fix: ensure DNS query name reset in plugin.NS error path (#7142) + * feat: enable plugins via environment during build (#7310) + * fix(plugin/bind): remove zone for link-local IPv4 (#7295) + * test(request): improve coverage across package (#7307) + * test(coremain): Add unit tests (#7308) + * ci(test-e2e): add Go version setup to workflow (#7309) + * kubernetes: add multicluster support (#7266) + * chore: Add new maintainer thevilledev (#7298) + * Update golangci-lint (#7294) + * feat: limit concurrent DoQ streams and goroutines (#7296) + * docs: add man page for multisocket plugin (#7297) + * Prepare for the k8s api upgrade (#7293) + * fix(rewrite): truncated upstream response (#7277) + * fix(plugin/secondary): make transfer property mandatory (#7249) + * plugin/bind: remove macOS bug mention in docs (#7250) + * Remove `?bla=foo:443` for `POST` DoH (#7257) + * Do not interrupt querying readiness probes for plugins (#6975) + * Added `SetProxyOptions` function for `forward` plugin (#7229) +- removed patch fixquic-go.patch as already included in upstream + +------------------------------------------------------------------- +Mon May 5 06:21:40 UTC 2025 - Andrea Manzini + +- Added patch fixquic-go.patch + +------------------------------------------------------------------- +Wed Apr 30 20:11:19 UTC 2025 - Daniel Mulzer + +- Backported quic-go PR #5094: Fix parsing of ifindex from packets + to ensure compatibility with big-endian architectures + (see quic-go/quic-go#4978, coredns/coredns#6682). +- This patch can be removed with the next quic-go release. + +------------------------------------------------------------------- +Tue Apr 01 10:17:23 UTC 2025 - Andrea Manzini + +- Update to version 1.12.1: + * core: Increase CNAME lookup limit from 7 to 10 (#7153) + * plugin/kubernetes: Fix handling of pods having DeletionTimestamp set + * plugin/kubernetes: Revert "only create PTR records for endpoints with + hostname defined" + * plugin/forward: added option failfast_all_unhealthy_upstreams to return + servfail if all upstreams are down + * bump dependencies, fixing bsc#1239294 and bsc#1239728 + +- dropped obscpio generation from _service + +------------------------------------------------------------------- +Fri Nov 22 13:44:39 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.12.0: + * New multisocket plugin - allows CoreDNS to listen on multiple sockets + * bump deps + +------------------------------------------------------------------- +Fri Nov 15 13:50:25 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.4: + * forward plugin: new option next, to try alternate upstreams when receiving + specified response codes upstreams on (functions like the external plugin + alternate) + * dnssec plugin: new option to load keys from AWS Secrets Manager + * rewrite plugin: new option to revert EDNS0 option rewrites in responses + +------------------------------------------------------------------- +Thu Nov 07 15:40:44 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3+git129.387f34d: + * fix CVE-2024-51744 (https://bugzilla.suse.com/show_bug.cgi?id=1232991) + build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#6955) + * core: set cache-control max-age as integer, not float (#6764) + * Issue-6671: Fixed the order of plugins. (#6729) + * `root`: explicit mark `dnssec` support (#6753) + * feat: dnssec load keys from AWS Secrets Manager (#6618) + * fuzzing: fix broken oss-fuzz build (#6880) + * Replace k8s.io/utils/strings/slices by Go stdlib slices (#6863) + * Update .go-version to 1.23.2 (#6920) + * plugin/rewrite: Add "revert" parameter for EDNS0 options (#6893) + * Added OpenSSF Scorecard Badge (#6738) + * fix(cwd): Restored backwards compatibility of Current Workdir (#6731) + * fix: plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (#6705) + * feature: log queue and buffer memory size configuration (#6591) + * plugin/bind: add zone for link-local IPv6 instead of skipping (#6547) + * only create PTR records for endpoints with hostname defined (#6898) + * fix: reverter should execute the reversion in reversed order (#6872) + * plugin/etcd: fix etcd connection leakage when reload (#6646) + * kubernetes: Add useragent (#6484) + * Update build (#6836) + * Update grpc library use (#6826) + * Bump go version from 1.21.11 to 1.21.12 (#6800) + * Upgrade antonmedv/expr to expr-lang/expr (#6814) + * hosts: add hostsfile as label for coredns_hosts_entries (#6801) + * fix TestCorefile1 panic for nil handling (#6802) + +------------------------------------------------------------------- +Thu Sep 19 09:14:06 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.3: + * optimize the performance for high qps (#6767) + * bump deps + * Fix zone parser error handling (#6680) + * Add alternate option to forward plugin (#6681) + * fix: plugin/file: return error when parsing the file fails (#6699) + * [fix:documentation] Clarify autopath README (#6750) + * Fix outdated test (#6747) + * Bump go version from 1.21.8 to 1.21.11 (#6755) + * Generate zplugin.go correctly with third-party plugins (#6692) + * dnstap: uses pointer receiver for small response writer (#6644) + * chore: fix function name in comment (#6608) + * [plugin/forward] Strip local zone from IPV6 nameservers (#6635) + +------------------------------------------------------------------- +Tue Apr 09 08:06:46 UTC 2024 - andrea.manzini@suse.com + +- Update to upstream head (git commit #5a52707): + * bump deps to address security issue CVE-2024-22189 + * Return RcodeServerFailure when DNS64 has no next plugin (#6590) + * add plusserver to adopters (#6565) + * Change the log flags to be a variable that can be set prior to calling Run (#6546) + * Enable Prometheus native histograms (#6524) + * forward: respect context (#6483) + * add client labels to k8s plugin metadata (#6475) + * fix broken link in webpage (#6488) + * Repo controlled Go version (#6526) + * removed the mutex locks with atomic bool (#6525) +- testsuite run during build (2 tests are skipped due to network requirement) +- note: 1.11.2 was briefly tagged/released and then revoked https://github.com/coredns/coredns/issues/6454 + +------------------------------------------------------------------- +Tue Feb 27 06:52:31 UTC 2024 - andrea.manzini@suse.com + +- Update to version 1.11.2: + * bump dependencies + * rewrite: fix multi request concurrency issue in cname rewrite (#6407) + * plugin/tls: respect the path specified by root plugin (#6138) + * plugin/auto: warn when auto is unable to read elements of the directory tree (#6333) + * fix: make the codeowners link relative (#6397) + * plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351) + * plugin/cache: key cache on Checking Disabled (CD) bit (#6354) + * Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395) + * Add PITS Global Data Recovery Services as an adopter (#6304) + * Handle UDP responses that overflow with TC bit with test case (#6277) + * plugin/rewrite: add rcode as a rewrite option (#6204) + +- Dropped patch fix-CVE-2024-0874.patch as already included in upstream + +------------------------------------------------------------------- +Thu Jan 25 11:05:35 UTC 2024 - Andrea Manzini + +- Added patch fix-CVE-2024-0874.patch to fix CVE-2024-0874: coredns: CD bit response is cached and served later + +------------------------------------------------------------------- +Tue Sep 19 08:26:26 UTC 2023 - andrea.manzini@suse.com + +- Update to version 1.11.1: + * Revert “plugin/forward: Continue waiting after receiving malformed responses + * plugin/dnstap: add support for “extra” field in payload + * plugin/cache: fix keepttl parsing + +- Update to version 1.11.0: + * Adds support for accepting DNS connections over QUIC (doq). + * Adds CNAME target rewrites to the rewrite plugin. + * Plus many bug fixes, and some security improvements. + + * This release introduces the following backward incompatible changes: + + In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, + since all supported K8s versions now use Endpointslice. + + The bufsize plugin changed its default size limit value to 1232 + + Some changes to forward plugin metrics. + +- Update to version 1.10.1: + * Corrected architecture labels in multi-arch image manifest + * A new plugin timeouts that allows configuration of server listener timeout durations + * acl can drop queries as an action + * template supports creating responses with extended DNS errors + * New weighted policy in loadbalance + * Option to serve original record TTLs from cache + +------------------------------------------------------------------- +Tue Nov 1 10:37:02 UTC 2022 - Andrea Manzini + +- Update to version 1.10.0: + + * core: add log listeners for k8s_event plugin (#5451) + * core: log DoH HTTP server error logs in CoreDNS format (#5457) + * core: warn when domain names are not in RFC1035 preferred syntax (#5414) + * plugin/acl: add support for extended DNS errors (#5532) + * plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602) + * plugin/cache: add cache disable option (#5540) + * plugin/cache: add metadata for wildcard record responses (#5308) + * plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320) + * plugin/cache: correct responses to Authenticated Data requests (#5191) + * plugin/dnstap: add identity and version support for the dnstap plugin (#5555) + * plugin/file: add metadata for wildcard record responses (#5308) + * plugin/forward: enable multiple forward declarations (#5127) + * plugin/forward: health_check needs to normalize a specified domain name (#5543) + * plugin/forward: remove unused coredns_forward_sockets_open metric (#5431) + * plugin/header: add support for query modification (#5556) + * plugin/health: bypass proxy in self health check (#5401) + * plugin/health: don't go lameduck when reloading (#5472) + * plugin/k8s_external: add support for PTR requests (#5435) + * plugin/k8s_external: resolve headless services (#5505) + * plugin/kubernetes: make kubernetes client log in CoreDNS format (#5461) + * plugin/ready: reset list of readiness plugins on startup (#5492) + * plugin/rewrite: add PTR records to supported types (#5565) + * plugin/rewrite: fix a crash in rewrite plugin when rule type is missing (#5459) + * plugin/rewrite: fix out-of-index issue in rewrite plugin (#5462) + * plugin/rewrite: support min and max TTL values (#5508) + * plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460) + * plugin/trace: read trace context info from headers for DOH (#5439) + * plugin/tsig: add new plugin TSIG for validating TSIG requests and signing responses (#4957) + * core: update gopkg.in/yaml.v3 to fix CVE-2022-28948 + * core: update golang.org/x/crypto to fix CVE-2022-27191 + * plugin/acl: adding a check to parse out zone info + * plugin/dnstap: support FQDN TCP endpoint + * plugin/errors: add stacktrace option to log a stacktrace during panic recovery + * plugin/template: return SERVFAIL for zone-match regex-no-match case + +------------------------------------------------------------------- +Fri Jan 08 12:19:37 UTC 2021 - rbrown@suse.com + +- Update to version 1.8.0: + * release: up version to 1.8.0 (#4225) + * add default reviewers for circleci config (#4222) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.33 to 1.1.34 (#4217) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.9 (#4213) + * build(deps): bump github.com/prometheus/client_golang (#4214) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.27.0 to 1.27.1 (#4212) + * auto make -f Makefile.doc + * plugin/autopath: slightly tweaks the docs (#4188) + * cache: do the msg copy right (#4207) + * reduce sleeps (#4205) + * Add #4171 in notes (#4204) + * notes: update with latest (#4203) + * deps: bump miekg/dns to new version (#4201) + * plugin/transfer: remove duplicate code (#4200) + * plugin/cache: fix removing OPT (#4190) + * notes: add dnstap PR (#4197) + * [plugin][trace] - Have a consistent spanName (#4171) + * auto make -f Makefile.doc + * plugin/dnstap: various cleanups (#4179) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4195) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.35.2 to 1.35.7 (#4191) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.2 to 4.1.0 (#4192) + * build(deps): bump github.com/miekg/dns from 1.1.31 to 1.1.32 (#4193) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4194) + * notes: more PR and clarify backwards incompat changes (#4185) + * core: fix crash with no plugins (#4184) + * fix alpn for http/2 upgrade when using DoH (#4182) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.26.0 to 1.27.0 (#4177) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4176) + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.32 to 1.35.2 (#4175) + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.1 to 0.2.2 (#4174) + * fix lameduck docs (#4169) + * More 1.8.0 notes updates: add latest merged PRs (#4168) + * dont return 200 during shutdown (#4167) + * plugins/auto: allow fallthrough if no zone match (#4166) + * update README examples to use transfer plugins (#4163) + * doh support: make no TLS config fatal (#4162) + * Add proto and remote tags to trace plugin (#4159) + * update 1.8.0 notes (#4156) + * plugin/cache: Fix filtering (#4148) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 (#4153) + * build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 (#4150) + * build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 (#4149) + * Add notes for next 1.8.0 release (#4143) + * auto make -f Makefile.doc + * Cherry-pick: Implement notifies for transfer plugin (#3972) (#4142) + * auto go mod tidy + * For caddy v1 in our org (#4018) + * goreport card fixes (#4139) + * coredns: bump version to 1.7.1 (#4136) + * plugin/hosts: make hosts plugin cursive (#4131) + * cache: default to DNSSEC (#4085) + * notes: update 1.7.1 (#4128) + * auto go mod tidy + * bump prometheus with zipkin (#4109) + * plugin/forward: fix panic when `expire` is configured as 0s (#4115) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 (#4118) + * auto make -f Makefile.doc + * plugin/forward: add hit/miss metrics for connection cache (#4114) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 (#4120) + * auto go mod tidy + * build(deps): bump github.com/farsightsec/golang-framestream (#4117) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4124) + * plugin/trace: fix struct allignment (#4112) + * plugin/forward: init ClientSessionCache in tls.Config (#4108) + * auto go mod tidy + * build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 (#4107) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 (#4105) + * Fix trailing whitespace (#4103) + * Fix some typos in comments. (#4100) + * clouddns,route53: fix lingering goroutines after restart (#4096) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 (#4092) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 (#4095) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4090) + * Update the 1.7.1 notes (#4086) + * auto make -f Makefile.doc + * Enable debug globally if enabled in any server config (#4007) + * cleanup tempfiles for erratic_autopath_test (#4080) + * fix misspell (#4081) + * Update README.md (#4068) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.34.0 to 1.34.5 (#4072) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.6 to 0.18.8 (#4074) + * auto go mod tidy + * build(deps): bump k8s.io/api from 0.18.6 to 0.18.8 (#4073) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4070) + * pkg/upstream: set edns0 and Do when required (#4055) + * Bump to golang 1.15 (#4064) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#4052) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.25.0 to 1.26.0 (#4050) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.17 to 1.34.0 (#4054) + * auto make -f Makefile.doc + * plugin/etcd: update documention (#4049) + * auto make -f Makefile.doc + * plugin/template: Add client IP data (#4034) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.30 to 1.1.31 (#4043) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.12 to 1.33.17 (#4041) + * backend: fix root zone usage (#4039) + * Fix wildcard records issue in rout53 plugin (#4038) + * 1.7.x note fixes (#4033) + * Update coredns-1.6.9.md (#4031) + * Update coredns-1.7.0.md (#4030) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027) + * Add initial notes for 1.7.1 (#4026) + * auto go mod tidy + * using promauto package to ensure all created metrics are properly registered (#4025) + * register HealthcheckBrokenCount (#4021) + * auto make -f Makefile.doc + * Disable debug mode for tracing - removes extra logging (#4016) + * ignore vendor when presubmit test (#3999) + * fix metric naming test (#4017) + * Manually update client-go to v0.18.6 (#4015) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011) + * build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012) + * Improve gRPC Plugin when backend is not available (#3966) + * Add DCO requirement in Contributing guidelines (#4008) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004) + * build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003) + * build(deps): bump github.com/Azure/go-autorest/autorest (#4002) + * build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001) + * remove TestProxyClose (#4005) + * Minor grammatical fixes to release notes (#3998) + * Revert "Implement notifies for transfer plugin (#3972)" (#3995) + * Implement notifies for transfer plugin (#3972) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991) + * build(deps): bump github.com/opentracing/opentracing-go (#3990) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992) + * Add timeouts for http server (#3920) + * Cleanup tempfiles (#3986) + * complete nsid plugin test case (#3981) + * complete transfer plugin test case (#3967) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3979) + * build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978) + * plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971) + * plugin/forward: remove exp backoff stuff (#3970) + * format and add newline (#3969) + * auto make -f Makefile.doc + * completed metrics of cache and forward (#3962) + * add test case of remote ip (#3964) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.26.0 to 0.28.0 (#3960) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.3 to 0.18.4 (#3956) + * build(deps): bump github.com/prometheus/client_golang (#3957) + * build(deps): bump github.com/aws/aws-sdk-go from 1.32.1 to 1.32.6 (#3961) + * Update dns64 plugin bugs list (#3955) + +------------------------------------------------------------------- +Mon Aug 31 14:29:45 UTC 2020 - rbrown@suse.com + +- Update to version 1.7.0: + * Update release note date for 1.7.0 (#3950) + * Bump version to 1.7.0 (#3782) + * plugin/kubernetes: fix tombstone unwrapping (#3924) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.12 to 1.32.1 (#3948) + * transfer deferred (#3949) + * Update release note of 1.7.0 (#3947) + * Regenerate man page (#3946) + * weight for SRV records should be at least 1 (#3931) + * update k8s version u=in circleci (#3942) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.7 to 1.31.12 (#3933) + * build(deps): bump google.golang.org/api from 0.25.0 to 0.26.0 (#3932) + * plugin/azure: Fix environment option (#3922) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.31.4 to 1.31.7 (#3921) + * k8s_external can now resolve CNAME returned by AWS ELB/NLB (#3916) + * plugin/forward/grpc: Revert forward/grpc policy dedup (#3919) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.0 to 1.24.1 (#3914) + * build(deps): bump google.golang.org/api from 0.24.0 to 0.25.0 (#3912) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3910) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.2 to 0.18.3 (#3909) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.29 to 1.31.4 (#3908) + * Improvements in the documentation (README.md) (#3907) + * auto go mod tidy + * build(deps): bump github.com/prometheus/common from 0.9.1 to 0.10.0 (#3894) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.24 to 1.30.29 (#3895) + * build(deps): bump google.golang.org/api from 0.23.0 to 0.24.0 (#3896) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.2 to 1.24.0 (#3897) + * build(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#3893) + * plugin/kubernetes: handle tombstones in default processor (#3890) + * plugin/kubernetes: Handle endpoint tombstones (#3887) + * fix readme (#3889) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3884) + * build(deps): bump github.com/golang/protobuf from 1.4.0 to 1.4.1 (#3883) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.19 to 1.30.24 (#3882) + * build(deps): bump google.golang.org/api from 0.22.0 to 0.23.0 (#3881) + * Fix query for SOA record for delegated zone (#3875) + * Fix plugin forward fuzz target (#3877) + * plugin/kubernetes: Mention remote IP requirement for autopath and metadata in README (#3876) + * always add client metadata (#3874) + * fix description of bufsize plugin (#3873) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.14 to 1.30.19 (#3872) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.23.1 to 1.23.2 (#3871) + * build(deps): bump github.com/prometheus/client_golang (#3870) + * plugin/kubernetes: Don't panic with metadata enabled and pods mode not verified (#3869) + * Fix CIDR in example (#3864) + * Fix NSID not being set on cached responses (#3822) + * auto go mod tidy + * build(deps): bump google.golang.org/api from 0.20.0 to 0.22.0 (#3859) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.9 to 1.30.14 (#3858) + * build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 (#3857) + * Run go generate (#3856) + * Fix mixed indentation within tests (#3855) + * not implemented yet (#3851) + * Fix readme test by removing extra `~` (#3850) + * auto make -f Makefile.doc + * plugin/dns64: update readme and owners (#3848) + * Fix to: (#3840) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.5 to 1.4.0 (#3845) + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.7 to 1.30.9 (#3843) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.1 to 0.18.2 (#3841) + * Remove grobie from maintainers (#3833) + * introduce myself to some components (#3831) + * remove ignored option at kubernetes plugin (#3737) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 (#3827) + * auto go mod tidy + * build(deps): bump google.golang.org/grpc from 1.28.0 to 1.28.1 (#3825) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.18.0 to 0.18.1 (#3826) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.30.4 to 1.30.7 (#3828) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.22.0 to 1.23.1 (#3829) + * plugin/forward: crash if using https (#3817) + * Remove all editor stuff from .gitignore (#3820) + * auto go mod tidy + * build(deps): bump github.com/cenkalti/backoff/v4 from 4.0.0 to 4.0.2 (#3813) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.33 to 1.30.4 (#3814) + * correct metrics name of cache size (#3805) + * Detail metrics name changes (#3798) + * auto make -f Makefile.doc + * Update more metrics names (#3799) + * Change the recommened version to 1.14 (as we use 1.14 by default) (#3801) + * auto make -f Makefile.doc + * Move doc test to workflow (#3800) + * auto go mod tidy + * Update various vendor dependencies (#3785) + * introduce metric naming test (#3789) + * auto go mod tidy + * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) + * remove federation (#3794) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790) + * Remove top level clutter: move fixup_file_mtime (#3786) + * regitry reload metrics (#3784) + * Fix plugin name in project README (#3683) + * Fix 1.7.0 notes. (#3781) + * Add 1.7.0 notes already (#3779) + * Add CI test for man page updates (#3729) + * Documentation improvements for dns64 plugin (#3777) + * Cleanup metrics (#3776) + * add known issue (#3770) + * Add dns64 plugin (#3534) + * export config file hash in a metric (#3768) + * Bump to version 1.6.9 (#3773) + * release: up the version to 1.6.8 (#3772) + * 1.6.8 release notes: set date to today (#3771) + * Bumb travis Go version to 1.14 (#3716) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763) + * build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762) + * send token in the header instead of api call (#3764) + * plugin/cache: fix negative cache masking cases (#3744) + * register missing metric (#3756) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750) + * auto go mod tidy + * build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752) + * build(deps): bump github.com/prometheus/client_golang (#3749) + * build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747) + * build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746) + * parse.HostPortorFile: return error when 0 found (#3742) + * Add missing PR to release notes (#3743) + * Add private DNS support for azure plugin (#3516) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740) + * build(deps): bump github.com/prometheus/client_golang (#3739) + * build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738) + * auto go mod tidy + * Update etcd and grpc to latest version (#3733) + * Initial set of release notes for 1.6.8 (#3728) + * doc: regen man-pages (#3725) + * Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679) + * validate object implements the corresponding interface (#3724) + * Update README.md (#3721) + * fix link (#3719) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714) + * auto go mod tidy + * build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713) + * build(deps): bump github.com/Azure/go-autorest/autorest (#3711) + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710) + * auto go mod tidy + * build(deps): bump github.com/caddyserver/caddy from 1.0.4 to 1.0.5 (#3712) + * Fix placeholders in LICENSE (#3707) + * explain drop metric (#3706) + * auto go mod tidy + * bump client-go and api (#3694) + * plugin/hosts: Modifies NODATA handling (#3536) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3691) + * build(deps): bump github.com/aws/aws-sdk-go from 1.29.3 to 1.29.8 (#3692) + * return all records with matching ip (#3687) + * metrics: add type to latency as well (#3685) + * Replacing 'HTTP' by 'HTTPS' for securing links (#3682) + * auto go mod tidy + * build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.1 to 1.21.0 (#3675) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.13 to 1.29.3 (#3676) + * auto go mod tidy + * build(deps): bump k8s.io/apimachinery from 0.17.2 to 0.17.3 (#3674) + * plugin/template: fix panic when missing next handler (#3672) + * auto go mod tidy + * build(deps): bump github.com/Azure/go-autorest/autorest (#3666) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667) + * build(deps): bump github.com/prometheus/client_golang (#3665) + * plugin/pkg/up: make default intervals shorter (#3651) + * Update README.md (#3655) + * Add exponential backoff to healthcheck (#3643) + * plugins/forward: Add max_concurrent option (#3640) + * auto go mod tidy + * build(deps): bump github.com/prometheus/client_golang (#3647) + * build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646) + * plugin/kubernetes: fix metadata (#3642) + * presubmit: test README.md sections (#3644) + * presubmit: improve output (#3641) + * presubmit: check import path ordering (#3636) + * fix error formatting (#3639) + +------------------------------------------------------------------- +Tue Jul 14 20:58:42 UTC 2020 - Dirk Mueller + +- fix vendoring to build against go 1.13+ + +------------------------------------------------------------------- +Wed Mar 25 13:51:22 UTC 2020 - Michal Jura + +- Update to version 1.6.7: + * Required by Kubernetes 1.18 + * make -f Makefile.doc (#3633) + * Update date on notes (#3632) + * Remove all shell presubmits (#3631) + * presubmit tests (#3630) + * presubmit: add whitespace test in go (#3629) + * auto go mod tidy + * build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621) + * auto go mod tidy + * build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625) + * build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622) + +------------------------------------------------------------------- +Mon Dec 16 10:46:00 UTC 2019 - Richard Brown + +- Update to version 1.6.5: + * Required by Kubernetes 1.17 + * Three new plugins: kubernetes, foreward, file + +------------------------------------------------------------------- +Thu Oct 10 09:47:44 UTC 2019 - Richard Brown + +- Update to version 1.6.2: + * Required by Kubernetes 1.16 + * Three new plugins: azure, route53 and forward + +------------------------------------------------------------------- +Tue Sep 10 07:19:30 UTC 2019 - Jan Engelhardt + +- Fix summary of coredns-extras. + +------------------------------------------------------------------- +Mon Sep 2 10:19:48 UTC 2019 - Marco Vedovati + +- Update to version 1.6.3: + * Spelling corrections and other minor improvements and polish. + * Two new plugins: clouddns and sign. + +- Changed included from version 1.6.1: + * Fix a panic in the hosts plugin. + * The reload now detects changes in files imported from the main Corefile. + * route53 increases the paging size when talking to the AWS API, this + decreases the chances of getting throttled. + +- Changed included from version 1.6.0: + * The -cpu flag is removed from this version. + * This release sports changes in the file plugin. + A speed up in the log plugin and fixes in the cache and hosts plugins. + * Upcoming deprecation: the kubernetes federation plugin will be moved to + github.com/coredns/federation. This is likely to happen in CoreDNS 1.7.0. + +- Changed included from version 1.5.2: + * Small bugfixes and a change to Caddy’s import path + (mholt/caddy -> caddyserver/caddy). + * Doing a release helps plugins deal with the change better. + +- Changed included from version 1.5.1: + * Various bugfixes, better documentation and cleanups. + * The -cpu flag is somewhat redundant (cgroups/systemd/GOMAXPROCS are better + ways to deal with this) and we want to remove it; if you depend on it in + some way please voice that in this PR otherwise we’ll remove it in the next + release. + +- Changed included from version 1.5.0: + * Two new plugins in this release: grpc, and ready. And some polish and + simplifications in the core server code. + * The use of TIMEOUT and no_reload in file and auto have been fully deprecated. + As is the proxy plugin. + * And a update on two important and active bugs: + - 2593 seems to hone in on Docker and/or the container environment being a + contributing factor. + - 2624 is because of TLS session negotiating in the forward plugin. + +- Changed included from version 1.4.0: + * Our first release after we became a graduated project in CNCF. + * Deprecation notice for the next release: + - auto will deprecate TIMEOUT and recommends the use of RELOAD (2516). + - auto and file will deprecate NO_RELOAD and recommends the use of RELOAD + set to 0 (2536). + - health will revert back to report process level health without plugin status. + A new ready plugin will make sure plugins have at least completed their + startup sequence. + - The proxy will be moved to an external repository and as such be + deprecated from the default set of plugin; use the forward as a replacement. + - The previous announced deprecations have been enacted. + - The (unused) gRPC watch functionally was removed from the server. + +------------------------------------------------------------------- +Wed Jul 24 13:26:10 UTC 2019 - Marco Vedovati + +- Add coredns-extras package to allow use of coredns in a non-containerized + environment + +------------------------------------------------------------------- +Mon Jul 22 18:58:18 CEST 2019 - kukuk@suse.de + +- Remove systemd support, not needed on openSUSE Kubic +- Build with pie (security policy) + +------------------------------------------------------------------- +Tue Jul 2 23:55:24 UTC 2019 - Daniel Orf + +- Update to version 1.3.1: + * log now allows multiple names to be specified + * import was added to give it a README.md to make it’s documentation more discoverable + * kubernetes TTL is also applied to negative responses (NXDOMAIN, etc) + +- Changed included from version 1.3.0: + * EDNS0 handling in the server and make it compliant with https://dnsflagday.net/ + * k8s_external a new plugin that allows external zones to point to Kubernetes in-cluster services. + * rewrite fixes a bug where a rule would eat the first character of a name + * log now supported the metadata labels. It also fixes a bug in the formatting of a plugin logging a info/failure/warning + * forward removes the dynamic read timeout and uses a fixed value now. + * kubernetes now checks if a zone transfer is allowed. Also allow a TTL of 0 to avoid caching in the cache plugin. + +------------------------------------------------------------------- +Wed Jun 5 15:33:00 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + make the build dep chain cheaper by using systemd-mini. + +------------------------------------------------------------------- +Tue Mar 26 03:45:07 UTC 2019 - Daniel Orf + +- Update spec file BuildRequires golang(API) >= 1.11 + +------------------------------------------------------------------- +Tue Dec 11 14:37:15 UTC 2018 - Jan Engelhardt + +- Trim bias and rhetorics from descriptions. +- Use a single %setup statement. + +------------------------------------------------------------------- +Tue Dec 11 09:34:54 UTC 2018 - Marco Vedovati + +- Include source tarballs for each of the used golang packages created with + _service. + + beorn7-perks.tar.xz + + golang-protobuf.tar.xz + + matttproud-golang_protobuf_extensions.tar.xz + + mholt-caddy.tar.xz + + miekg-dns.tar.xz + + prometheus-client_golang.tar.xz + + prometheus-client_model.tar.xz + + prometheus-common.tar.xz + + prometheus-procfs.tar.xz +- Remove makearchive script, previously used to create a single source tarball. + - makearchive.sh + +------------------------------------------------------------------- +Mon Dec 10 09:45:41 UTC 2018 - Marco Vedovati + +- Initial package creation version 1.2.6 diff --git a/coredns.obsinfo b/coredns.obsinfo new file mode 100644 index 0000000..52ea98c --- /dev/null +++ b/coredns.obsinfo @@ -0,0 +1,4 @@ +name: coredns +version: 1.12.1 +mtime: 1743450756 +commit: 707c7c10acd52cb94e959e76ae233d9b76af0854 diff --git a/coredns.service b/coredns.service new file mode 100644 index 0000000..c18bf0e --- /dev/null +++ b/coredns.service @@ -0,0 +1,12 @@ +[Unit] +Description=Fast and flexible DNS server +After=network-online.target +Wants=network-online.target +Documentation=man:coredns(1) + +[Service] +Type=simple +ExecStart=/usr/sbin/coredns -conf /etc/coredns/Corefile -pidfile /var/run/coredns.pid + +[Install] +WantedBy=multi-user.target diff --git a/coredns.spec b/coredns.spec new file mode 100644 index 0000000..af583e8 --- /dev/null +++ b/coredns.spec @@ -0,0 +1,126 @@ +# +# spec file for package coredns +# +# Copyright (c) 2026 SUSE LLC and contributors +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define project github.com/coredns/coredns +Name: coredns +Version: 1.14.0 +Release: 0 +Summary: DNS server written in Go +License: Apache-2.0 +Group: Productivity/Networking/DNS/Servers +URL: https://coredns.io +Provides: dns_daemon +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source10: Corefile +Source11: coredns.service +BuildRequires: fdupes +BuildRequires: golang(API) >= 1.24.5 + +%description +CoreDNS is a DNS server in Go. It has a plugin architecture for +extending it. + +CoreDNS can listen for DNS request coming in over UDP/TCP (RFC 1035), +TLS (RFC 7858) and gRPC (not a standard). + +%package extras +Summary: Extra components for the %{name} package +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Supplements: %{name} +BuildArch: noarch +BuildRequires: pkgconfig(systemd) + +%description extras +Extra components for the %{name} package, to make %{name} usable in a +non-containerized environment (man pages, configuration, unit file). + +%prep +%autosetup -a1 -p1 + +%build + +# We can't use symlinks here because go-list gets confused by symlinks, so we +# have to copy the source to $HOME/go and then use that as the GOPATH. +export GOPATH=$HOME/go +export PATH=$PATH:$GOPATH/bin +rm -rf $HOME/go/src +mkdir -pv $HOME/go/src/%{project} +find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \; + +cd $HOME/go/src/%{project} +go generate coredns.go +go build -mod=vendor -v -buildmode=pie -o coredns + +%check +# Too many tests fail due to the restricted permissions in the build enviroment. +# Updates must be tested manually. +go test ./... -skip="TestZoneExternalCNAMELookupWithProxy|TestReadme|TestCorefile1|TestView|TestMultisocket_Restart" + +%install +cd $HOME/go/src/%{project} + +# Binaries +install -D -m 0755 %{name} %{buildroot}%{_sbindir}/%{name} +ln -s service %{buildroot}%{_sbindir}/rccoredns +# Configuration +install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/%{name}/Corefile +# systemd service +install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/%{name}.service +# Manpages +install -d %{buildroot}/%{_mandir}/man1 +install -m 0644 man/coredns*.1 %{buildroot}/%{_mandir}/man1 +install -d %{buildroot}/%{_mandir}/man5 +install -m 0644 man/corefile*.5 %{buildroot}/%{_mandir}/man5 +install -d %{buildroot}/%{_mandir}/man7 +install -m 0644 man/coredns-*.7 %{buildroot}/%{_mandir}/man7 + +%fdupes %{buildroot}/%{_prefix} + +%pre extras +%service_add_pre %{name}.service + +%post extras +%service_add_post %{name}.service +%{fillup_only -n coredns} + +%preun extras +%service_del_preun %{name}.service + +%postun extras +%service_del_postun %{name}.service + +%files +# Binaries +%{_sbindir}/coredns +# License +%license LICENSE + +%files extras +%{_sbindir}/rccoredns +# Manpages +%{_mandir}/man1/coredns* +%{_mandir}/man5/corefile* +%{_mandir}/man7/coredns-* +# Configs +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/Corefile +%{_unitdir}/%{name}.service + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..b04e048 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2fc57fc2932f660f3e706e5029f0c84da65ef773862197b281401ae63c7eb80 +size 16016814 -- 2.51.1 From 2d395280681310b97b7b53cdd5ceb6f1cce9a408c7ec4f98af06eb8599fc5b14 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 20 Jan 2026 15:47:51 +0100 Subject: [PATCH 13/14] changed bugzilla url --- coredns.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coredns.changes b/coredns.changes index 53973b5..34df041 100644 --- a/coredns.changes +++ b/coredns.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Thu Jan 08 14:45:03 UTC 2026 - Andrea Manzini -- fix CVE-2025-68156 https://bugzilla.suse.com/show_bug.cgi?id=1255345 +- fix CVE-2025-68156 bsc#1255345 - Update to version 1.14.0: * core: Fix gosec G115 integer overflow warnings * core: Add regex length limit -- 2.51.1 From 8273aa64e4b861649bfe5131d494f3071cdeabcd0f155e04e24296b97c8b059c Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 20 Jan 2026 16:27:58 +0100 Subject: [PATCH 14/14] changed bugzilla url --- coredns.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/coredns.changes b/coredns.changes index 34df041..492b5b4 100644 --- a/coredns.changes +++ b/coredns.changes @@ -2,6 +2,7 @@ Thu Jan 08 14:45:03 UTC 2026 - Andrea Manzini - fix CVE-2025-68156 bsc#1255345 +- fix CVE-2025-68161 bsc#1256411 - Update to version 1.14.0: * core: Fix gosec G115 integer overflow warnings * core: Add regex length limit -- 2.51.1