Commit graph

114 commits

Author SHA1 Message Date
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
Miek Gieben
b139ba34f3
Set version to 1.6.4 (#3317)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-09-27 14:36:14 +01:00
li mengyang
50bac4d3c3 fix: delete unused var and const (#3294)
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-09-24 07:06:37 +01:00
Miek Gieben
37b9550d62
Up version to 1.6.3 (#3233)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-31 10:08:22 +01:00
Miek Gieben
c466003a94
startup: add logo (#3230)
* startup: add logo

As discussed in #3225, lets add a little logo. This PR incorperates this
in the startup text. It also removes the logging output as this outputs
identical lines of text, but for no clear reason. This means --quiet now
means "no output on startup at all".

Currently it looks like this:

~~~
.:1053
   ______                ____  _   _______
  / ____/___  ________  / __ \/ | / / ___/	CoreDNS-1.6.2
 / /   / __ \/ ___/ _ \/ / / /  |/ /\__ \ 	linux/amd64, go1.12.9,
/ /___/ /_/ / /  /  __/ /_/ / /|  /___/ /
\____/\____/_/   \___/_____/_/ |_//____/
~~~

We have 2 lines extra on the right if we need to print more (no ideas
come to mind currently).

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

* Add distinct marker for grep and cut purposes

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-30 15:12:17 +01:00
Miek Gieben
795a3ebb64
up version to 1.6.2 (#3129)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-14 08:22:30 +00:00
Miek Gieben
1fda5703fc Release 1.6.1 (#3081)
... and another one

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-01 09:50:28 -04:00
Miek Gieben
0a218d3cf4
Tag v1.6.0 (#3059)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-28 20:00:28 +00:00
Miek Gieben
f5fe98395e
Remove -cpu flag (#2793)
The -cpu flag is a weird one (and copied originally from Caddy), it
basically sets GOMAXPROCS which can be *easily* done by just setting
that environment variable. Also with systemd and containerized env you
set this externally *anyway*, so there is little use to do this again in
the binary.

Also the option's help was confusing (i.e. percentage of what?). Remove
the option and supporting files.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03 20:12:51 +01:00
Miek Gieben
d933f635af
Bump version to 1.5.2 (#2969)
Run through the motions; create manual pages. Run go generate for good
measure. Fix typo in Makefile.release while at it.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03 19:47:38 +01:00
Yong Tang
f8bba51f84
Update Caddy to 1.0.1, and update import path (#2961)
* Update Caddy to 1.0.1, and update import path

This fix updates caddy to 1.0.1 and also
updates the import path to github.com/caddyserver/caddy

This fix fixes 2959

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

* Also update plugin.cfg

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

* Update and bump zplugin.go

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-03 09:04:47 +08:00
Miek Gieben
6c33397d29
Tag 1.5.1 (#2927)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-06-26 12:46:34 +01:00
Miek Gieben
58c703f5ef
Run gofmt -w -s on codebase (#2773)
This formats and simplifies all code by running gofmt -w -s on all Go
files.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-08 11:13:46 +01:00
Miek Gieben
0e2467d3ed
Bump version to 1.5.0 (#2765)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-06 14:11:03 +01:00
Francois Tur
97e2a53a65 - remove caddy event, It is now triggered directly by Caddy in the Start function of the Instance (#2656) 2019-03-07 20:05:19 +00:00
Miek Gieben
8dcc7fccd7
up the version to 1.4.0 (#2642)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-03 10:41:41 +00:00
Miek Gieben
6b56a9c921
Tag version 1.3.1 (#2458)
Tag the 1.3.1 version.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-13 14:18:46 +00:00