130 Commits

Author SHA1 Message Date
Ville Vesilehto
b72d267a29 chore(lint): bump to v2.5.0 and enable godoclint (#7632) 2025-10-23 10:01:57 -07:00
Yong Tang
1db4568df6 Bump version to 1.13.1 (#7599) 2025-10-08 08:26:37 -07:00
Yong Tang
51f94b0bb4 Bump version 1.13.0 (#7587) 2025-09-30 12:46:15 -07:00
Ville Vesilehto
39abf5aeba chore(lint): modernize Go (#7536)
Use modern Go constructs through the modernize analyzer from the
golang.org/x/tools package.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-10 13:08:27 -07:00
Yong Tang
96819edef2 Update note and versioon for 1.12.4 release (#7518) 2025-09-08 06:44:56 -07:00
Ville Vesilehto
41a0b70e75 chore(deps): upgrade Go requirement to 1.24.0 (#7456)
- Update Go version requirement to 1.24.0
- Bump build version to 1.25.0
- Upgrade golangci-lint action to latest
- Use t.Chdir in tests to address linter issue

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-08-15 11:20:54 -07:00
Yong Tang
17020f09a8 Bump version to 1.12.3 (#7429)
This PR bumps version to 1.12.3 for preparation of the next release.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2025-08-04 16:53:19 -07:00
Yong Tang
7ecb5011b2 Update version to 1.12.2 (#7334)
This PR updates version to 1.12.2 for preparation of a release

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2025-05-29 07:09:19 -07:00
Ville Vesilehto
a61d8b3143 lint: enable nolintlint linter (#7332) 2025-05-29 07:19:04 +03:00
Ville Vesilehto
93ec38a661 test(coremain): Add unit tests (#7308)
Add comprehensive test coverage for the coremain package,
focusing on configuration loading, version information, and
output formatting. Test coverage improves from 0% to 59.7%.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-19 14:23:36 -04:00
Chris O'Haver
707c7c10ac 1.12.1 release (#7220)
* bump version and draft release notes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* bump version and draft release notes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* tweak noteworthies

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* update authors

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* remove note about new expr features.  too esoteric in our use case.

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

---------

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2025-03-31 15:52:36 -04:00
Chris O'Haver
12a36bdeda 1.12.0 bump version (#6986) 2024-11-21 10:25:25 -05:00
Viktor
43fdf737d6 automaxprocs (#6948)
* Add automaxprocs for better multi processor support in containerized environments 

Signed-off-by: Viktor Rodionov <33463837+Shmillerov@users.noreply.github.com>

* correct imports ordering

Signed-off-by: Viktor Rodionov <33463837+Shmillerov@users.noreply.github.com>

* warning instead of fatal

Signed-off-by: Viktor Rodionov <33463837+Shmillerov@users.noreply.github.com>

* fix imports ordering

Signed-off-by: Viktor Rodionov <33463837+Shmillerov@users.noreply.github.com>

---------

Signed-off-by: Viktor Rodionov <33463837+Shmillerov@users.noreply.github.com>
2024-11-13 09:36:36 -08:00
Chris O'Haver
6e11ebddfc bump version to 1.11.4 and add notes (#6967)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2024-11-12 20:31:15 -05:00
Manuel Rüger
ebbbb453be kubernetes: Add useragent (#6484)
In kubernetes' audit logs you'll see:

"userAgent":"coredns/v0.0.0 (linux/amd64) kubernetes/$Format"

This change adds a userAgent to the requests made by CoreDNS against the kubernetes API:

"userAgent":"CoreDNS/v1.11.1 git_commit:ae2bbc29be1aaae0b3ded5d188968a6c97bb3144 (linux/amd64/go1.22)"

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2024-08-26 16:45:39 -04:00
Ted Ford
c15fe973ee 1.11.3 release notes and version bump (#6639)
Signed-off-by: tedaford <ted.ford@helpsystems.com>
2024-04-26 13:05:41 -04:00
jdamick
24c64f97c9 Change the log flags to be a variable that can be set prior to calling Run (#6546)
Signed-off-by: Jeffrey Damick <jdamick@amazon.com>
Co-authored-by: Jeffrey Damick <jdamick@amazon.com>
2024-03-13 09:43:06 -04:00
Chris O'Haver
01bded8194 CoreDNS 1.11.2 release notes and version bump (#6476)
* 1.11.2 release notes and version bump

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.11.2.md

Co-authored-by: Brad Beam <bradbeam@users.noreply.github.com>

---------

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Co-authored-by: Brad Beam <bradbeam@users.noreply.github.com>
2024-01-29 13:02:12 -05:00
Chris O'Haver
ae2bbc29be 1.11.1 release: bump version + add notes (#6273)
* bump version; add notes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

---------

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-08-15 15:30:32 -04:00
Chris O'Haver
c1b479fd02 1.11.0 release prep (#6135)
* add draft notes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2023-07-12 15:12:35 -04:00
David Hadas
280ef6f405 Move flags to coremain (#5865) 2023-01-23 04:27:18 -08:00
Yong Tang
504e1d9b2e Bump version to 1.10.1 (#5845)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2023-01-09 18:02:34 -05:00
Ondřej Benkovský
257ca65a17 GO linting bump and removal of deprecated linters (#5624)
* bump golangci-lint with support of go 1.19

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

* remove deprecated usage of varcheck, deadcode, and structcheck

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2022-09-19 05:53:43 -07:00
Chris O'Haver
596a9f9e67 add notes; bump version (#5625)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-09-19 05:43:31 -07:00
Yong Tang
1f0a41a665 Update Release note and prepare 1.9.4 release (#5604)
* Update Release note and prepare 1.9.4 release

This PR updates release notes and prepare 1.9.4 release

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Remove spaces

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Add additional note for header plugin change.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-09-08 10:35:03 -07:00
Yong Tang
45b0a11294 Update version and release note to 1.9.3 (#5411)
* Update version and release note to 1.9.3

This PR update version and release note to prepare for 1.9.3.
Main reason is to address CVE-2022-27191 and CVE-2022-28948

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.3.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.3.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2022-05-27 08:39:59 -07:00
Yong Tang
092c144491 Update version to 1.9.2 and add release note. (#5374) 2022-05-10 06:43:22 -07:00
Yong Tang
4b597f8308 Bump version to 1.9.1, and add release notes (#5247)
This PR bumps coredns to 1.9.1 and add release notes.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-03-11 09:30:37 -08:00
Yong Tang
c6709d930f Fix security scans by cleaning up file path (#5185)
While performing security scans there were several
issue raised as G304 (CWE-22): Potential file inclusion via variable.
As some files path are taken from user input, it is possible the
filepath passed by user may have unintended effect if not properly formed.
This fix add Clean to remove the security warning and address some
potential issue.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-02-14 11:24:21 -05:00
Yong Tang
ace3dcb1a3 Add inital 1.9.0 release note (#5145)
* Add inital 1.9.0 release note

Add inital 1.9.0 release note, will update later if there are
more items to add.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update version string to 1.9.0

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-09 11:26:02 -08:00
Yong Tang
16ff95eced Bump version to 1.8.7 (#5011)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-12-09 08:41:43 -08:00
Zou Nengren
5191959bd7 cleanup deprecated package io/ioutil (#4920)
Signed-off-by: zounengren <zouyee1989@gmail.com>
2021-10-13 09:30:31 +02:00
Chris O'Haver
31c5532380 bump version (#4895)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-10-06 16:54:34 -07:00
Yong Tang
6196125c21 Update version string to 1.8.5 (#4855)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-09-09 16:21:24 -04:00
Miek Gieben
053c4d5ca1 Bump version and amend notes to include latest PRs (#4634)
* Bump version and amend notes to include latest PRs

Signed-off-by: Miek Gieben <miek@miek.nl>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Remove newline and set data anew

Signed-off-by: Miek Gieben <miek@miek.nl>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2021-05-28 12:14:09 +02:00
Miek Gieben
4293992bb8 Up release to 1.8.3 (#4486)
See #4484

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 14:51:28 +01:00
Miek Gieben
d07a3ac6c2 Up to version 1.8.2 (#4482)
See #4479

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 11:21:58 +01:00
Miek Gieben
a9206996eb core: flag blacklisting not needed anymore (#4420)
Automatically submitted.
2021-01-26 08:18:40 +00:00
Yong Tang
15ff9f3795 Update release notes and version number to 1.8.1 (#4370)
This PR updates release notes and version number to 1.8.1

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-01-10 08:19:39 +01:00
Miek Gieben
054c9ae1fb release: up version to 1.8.0 (#4225)
Slight rewording of the release notes; also set date to today.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-10-22 10:52:10 +02:00
Miek Gieben
b003d06003 For caddy v1 in our org (#4018)
* For caddy v1 in our org

This RP changes all imports for caddyserver/caddy to coredns/caddy. This
is the v1 code of caddy.

For the coredns/caddy repo the following changes have been made:

* anything not needed by us is deleted
* all `telemetry` stuff is deleted
* all its import paths are also changed to point to coredns/caddy
* the v1 branch has been moved to the master branch
* a v1.1.0 tag has been added to signal the latest release

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix imports

Signed-off-by: Miek Gieben <miek@miek.nl>

* Group coredns/caddy with out plugins

Signed-off-by: Miek Gieben <miek@miek.nl>

* remove this file

Signed-off-by: Miek Gieben <miek@miek.nl>

* Relax import ordering

github.com/coredns is now also a coredns dep, this makes
github.com/coredns/caddy fit more natural in the list.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix final import

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-09-24 18:14:41 +02:00
Miek Gieben
aa82ca62fb coredns: bump version to 1.7.1 (#4136)
Set correct date on the release notes and add one more PR (for cache)

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-09-21 12:10:03 +02:00
Yong Tang
8ee4c1fa2f Bump version to 1.7.0 (#3782)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-06-15 07:23:25 -07:00
Miek Gieben
1766568398 Bump to version 1.6.9 (#3773)
See #3727 for the details. Copying release notes
verbatim to coredns-1.6.9.md and fix the release script (because
Makefile are stupid). Up version to 1.6.9 here as well.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 16:26:01 +01:00
Miek Gieben
187d0f3c71 release: up the version to 1.6.8 (#3772)
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 15:51:29 +01:00
Dominic Yin
65218e8fb3 Bump version to 1.6.7 (#3594)
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-18 12:27:07 -08:00
Yong Tang
5c5f18c50c Bump version to 1.6.6 (#3520)
For release tracking 3519

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 06:05:44 -08:00
Miek Gieben
c2fd1b2467 dump version to 1.6.5 (#3425)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-05 13:46:54 +00:00
Anshul Sharma
c187d8fa01 Issue-3374 (#3383)
- Remove logo

Signed-off-by: Anshul Sharma <sharmaanshul2102@gmail.com>
2019-10-17 15:36:35 +01:00
Miek Gieben
dbd1c047cb Run gostaticheck (#3325)
* Run gostaticheck

Run gostaticcheck on the codebase and fix almost all flagged items.

Only keep

* coremain/run.go:192:2: var appVersion is unused (U1000)
* plugin/chaos/setup.go:54:3: the surrounding loop is unconditionally terminated (SA4004)
* plugin/etcd/setup.go:103:3: the surrounding loop is unconditionally terminated (SA4004)
* plugin/pkg/replacer/replacer.go:274:13: argument should be pointer-like to avoid allocations (SA6002)
* plugin/route53/setup.go:124:28: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made.  (SA1019)
* test/grpc_test.go:25:69: grpc.WithTimeout is deprecated: use DialContext and context.WithTimeout instead.  Will be supported throughout 1.x.  (SA1019)

The first one isn't true, as this is set via ldflags. The rest is
minor. The deprecation should be fixed at some point; I'll file some
issues.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Make sure to plug in the plugins

import the plugins, that file that did this was removed, put it in the
reload test as this requires an almost complete coredns server.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-01 07:41:29 +01:00