Commit Graph

2254 Commits

Author SHA1 Message Date
Chris O'Haver
5cd8472384 Fix plugin name in project README (#3683)
* Update README.md

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

* fix readme occurances

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-26 10:24:56 -04:00
Ben Kochie
8584c6ce60 Fix 1.7.0 notes. (#3781)
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-26 14:02:48 +01:00
Miek Gieben
1c06f39a59 Add 1.7.0 notes already (#3779)
* Add 1.7.0 notes already

This is the work-in-progress release notes for 1.7.0, adding it now so
we can craft it will we work towards 1.7.0.

Notes currently yell that 1.7.0 is backwards incompatible.

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

* Update notes/coredns-1.7.0.md

Co-Authored-By: Ben Kochie <superq@gmail.com>

Co-authored-by: Ben Kochie <superq@gmail.com>
2020-03-26 12:29:47 +01:00
Ben Kochie
570bfba80e Add CI test for man page updates (#3729)
Run make -f Makefile.doc in CircleCI to test that man pages are updated
in PRs.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-26 10:00:46 +01:00
Ben Kochie
14ca454981 Documentation improvements for dns64 plugin (#3777)
Minor typo and improvements to the dns64 plugin README.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-26 09:22:29 +01:00
Miek Gieben
19cfa2960c Cleanup metrics (#3776)
Cleanup a variety of metric issues.
* Eliminate department of redundancy "count_total" naming.
* Use the plural of the unit when appropriate. (ex, "requests")
* Remove label names from metric names where appropriate. (ex, "rcode")
* Simplify request metrics by consolidating type label in to the base
request counter.
* Re-generate man pages.

Signed-off-by: Ben Kochie <superq@gmail.com>

Co-authored-by: Ben Kochie <superq@gmail.com>
2020-03-26 09:17:33 +01:00
Chris O'Haver
eb23cce1a7 add known issue (#3770)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-26 08:42:32 +01:00
Ben Kochie
4eeaef29ea Add dns64 plugin (#3534)
* Add dns64 plugin

Add external plugin to core in-tree.
* Pull code from upstream: https://github.com/serverwentdown/dns64
* Update docs.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Make dns64 consistent.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Cleanup README

Signed-off-by: Ben Kochie <superq@gmail.com>

* Cleanup minor issues.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Remove proxy method.

Signed-off-by: Ben Kochie <superq@gmail.com>

* dns64: big cleanup

* Make the code a bit more idiomatic
* Add tests
* use proper Upstream API

Signed-off-by: Casey Callendrello <c1@caseyc.net>
Signed-off-by: Ben Kochie <superq@gmail.com>

* A little more clenaup

* Fix some docs.
* Use the correct plugin register method.
* Cleanup some review items.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Add metrics counter for DNS64 translations

Add a basic counter of how many DNS64 translations have been completed.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Add DNSSEC bug link

Signed-off-by: Ben Kochie <superq@gmail.com>

* Test cleanup

Signed-off-by: Ben Kochie <superq@gmail.com>

* dns64: more test cleanup

Signed-off-by: Casey Callendrello <c1@caseyc.net>

Co-authored-by: Casey Callendrello <c1@caseyc.net>
2020-03-26 08:42:23 +01:00
Zou Nengren
1dba31ee7d export config file hash in a metric (#3768)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-25 14:33:04 +01: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>
v1.6.9
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>
v1.6.8
2020-03-24 15:51:29 +01:00
Miek Gieben
7b08fa6fc8 1.6.8 release notes: set date to today (#3771)
We should really release. I'm setting the date to today, and kick off a
release after this is merged.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 15:47:32 +01:00
Miek Gieben
56917eaff4 Bumb travis Go version to 1.14 (#3716)
Start using latest Go for .travis.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 07:36:01 +01:00
coredns-auto-go-mod-tidy[bot]
46084c9c90 auto go mod tidy 2020-03-24 06:30:42 +00:00
dependabot-preview[bot]
ad6a0a43b8 build(deps): bump github.com/aws/aws-sdk-go from 1.29.24 to 1.29.29 (#3763)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.29.24 to 1.29.29.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.24...v1.29.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 07:30:09 +01:00
dependabot-preview[bot]
ecc073927e build(deps): bump github.com/miekg/dns from 1.1.28 to 1.1.29 (#3762)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.28 to 1.1.29.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.28...v1.1.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 07:30:00 +01:00
Zou Nengren
5adefab053 send token in the header instead of api call (#3764)
Automatically submitted.
2020-03-24 06:22:43 +00:00
Chris O'Haver
40c7b9174b plugin/cache: fix negative cache masking cases (#3744)
* fix negative cache masking cases

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

* remove unecessary param

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-20 10:05:09 +01:00
Chris O'Haver
d18b48e36c register missing metric (#3756)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-17 21:19:52 +01:00
coredns-auto-go-mod-tidy[bot]
d7910ac7a4 auto go mod tidy 2020-03-16 15:33:59 +00:00
dependabot-preview[bot]
d2d86af160 build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 (#3750)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.3...v0.17.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 08:32:14 -07:00
coredns-auto-go-mod-tidy[bot]
a79d365f9c auto go mod tidy 2020-03-16 14:19:10 +00:00
dependabot-preview[bot]
1d70d7fa98 build(deps): bump github.com/miekg/dns from 1.1.27 to 1.1.28 (#3748)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.27 to 1.1.28.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.27...v1.1.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 07:17:01 -07:00
coredns-auto-go-mod-tidy[bot]
194e3f41e4 auto go mod tidy 2020-03-16 13:57:43 +00:00
dependabot-preview[bot]
64343a10f1 build(deps): bump github.com/golang/protobuf from 1.3.4 to 1.3.5 (#3753)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.3.4...v1.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 06:55:53 -07:00
dependabot-preview[bot]
54816d9c82 build(deps): bump github.com/aws/aws-sdk-go from 1.29.19 to 1.29.24 (#3752)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.29.19 to 1.29.24.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.19...v1.29.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 06:55:38 -07:00
dependabot-preview[bot]
60d40ebe16 build(deps): bump github.com/prometheus/client_golang (#3749)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 06:55:04 -07:00
dependabot-preview[bot]
96f7c12d6f build(deps): bump google.golang.org/grpc from 1.27.1 to 1.28.0 (#3747)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.27.1...v1.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 06:54:39 -07:00
dependabot-preview[bot]
52a9bcb644 build(deps): bump k8s.io/apimachinery from 0.17.3 to 0.17.4 (#3746)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.17.3...v0.17.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 06:54:22 -07:00
Miek Gieben
c52a51fac8 parse.HostPortorFile: return error when 0 found (#3742)
* parse.HostPortorFile: return error when 0 found

Return an error when we haven't found any nameservers. This is the
alternative considered in #3735. It's also slighly less code to be
changing.

Replaces: #3741
Closes: #3741 #3735

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

* Add extra test case here as well

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-13 14:23:10 +01:00
Miek Gieben
68ddba05da Add missing PR to release notes (#3743)
* Add missing PR to release notes

Add some misssing PRs to the notes.

This will need one more update: new date for the release and I want
include the panic-fix in the forward plugin as well.

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

* Update notes/coredns-1.6.8.md

Co-Authored-By: Chris O'Haver <cohaver@infoblox.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-13 14:09:08 +01:00
Darshan Chaudhary
085826776f Add private DNS support for azure plugin (#3516)
* plugin/azure: fix bug in setting up plugin

Signed-off-by: darshanime <deathbullet@gmail.com>

* plugin/azure: add support for private zones

Signed-off-by: darshanime <deathbullet@gmail.com>

* plugin/azure: change syntax for access level

Signed-off-by: darshanime <deathbullet@gmail.com>

* plugin/azure: change import alias for azure dns

Signed-off-by: darshanime <deathbullet@gmail.com>

* plugin/azure: reword readme, var names

Signed-off-by: darshanime <deathbullet@gmail.com>

* plugin/azure: remove newline in imports

Signed-off-by: darshanime <deathbullet@gmail.com>

* fix import grouping

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-10 15:22:23 -04:00
coredns-auto-go-mod-tidy[bot]
3c19f9f181 auto go mod tidy 2020-03-09 10:39:54 +00:00
dependabot-preview[bot]
e6c3579a59 build(deps): bump github.com/aws/aws-sdk-go from 1.29.14 to 1.29.19 (#3740)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.29.14 to 1.29.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.14...v1.29.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 11:38:00 +01:00
dependabot-preview[bot]
cc696afa2e build(deps): bump github.com/prometheus/client_golang (#3739)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.4.1...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 11:37:51 +01:00
dependabot-preview[bot]
fa607b9fe2 build(deps): bump google.golang.org/api from 0.15.0 to 0.20.0 (#3738)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.15.0 to 0.20.0.
- [Release notes](https://github.com/google/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/google/google-api-go-client/compare/v0.15.0...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 11:37:31 +01:00
coredns-auto-go-mod-tidy[bot]
a64f0c7597 auto go mod tidy 2020-03-07 19:38:29 +00:00
Yong Tang
b3d4877b12 Update etcd and grpc to latest version (#3733)
This PR supersede 3664. With recent etcd changes, we can finally
get around the bump caused by incompatiblity between grpc and etcd.

This fix closes 3664.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-03-07 11:36:37 -08:00
Miek Gieben
ab032fe693 Initial set of release notes for 1.6.8 (#3728)
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-06 07:08:11 -08:00
Miek Gieben
e2515fe0e3 doc: regen man-pages (#3725)
Mechanical change: make -f Makefile.doc

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-06 12:11:45 +01:00
Christian Tryti
116bda4d27 Add configuration flag to set if RecursionDesired should be set on health checkers in Forward-plugin (#3679)
* Make the RD-flag in health-checks in the Forward-plugin configurable

Introduces a new configuration flag; `health_check_non_recursive`. This
flag makes the health-checker do non-recursive requests when checking
the health of upstream servers.

Signed-off-by: Geir Haugom <ghagit@haugom.org>
Signed-off-by: Christian Tryti <ctryti@gmail.com>

* Changes after feedback from reviewer

* Better tests of health-checks with and without recursion
* Removed the health_check_non_recursive configuration in favor of
extending the existing health_check configuration. Now supports an
optional `no_rec` argument.

Signed-off-by: Christian Tryti <ctryti@gmail.com>

* Add new test that checks setup of health_check.

Signed-off-by: Christian Tryti <ctryti@gmail.com>
2020-03-06 11:52:43 +01:00
Zou Nengren
a74a209129 validate object implements the corresponding interface (#3724)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2020-03-06 09:25:07 +01:00
Miek Gieben
b8e96b61fc Update README.md (#3721)
Signed-off-by: imba-tjd <imba-tjd@users.noreply.github.com>
2020-03-05 11:09:19 +01:00
Chris O'Haver
8b0760b6b3 fix link (#3719)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-03-03 10:01:43 -05:00
coredns-auto-go-mod-tidy[bot]
42d755c029 auto go mod tidy 2020-03-02 11:11:48 +00:00
dependabot-preview[bot]
c9ddda5f40 build(deps): bump github.com/aws/aws-sdk-go from 1.29.8 to 1.29.14 (#3714)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.29.8 to 1.29.14.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.29.8...v1.29.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 11:10:03 +00:00
coredns-auto-go-mod-tidy[bot]
06a8d207ff auto go mod tidy 2020-03-02 10:35:53 +00:00
dependabot-preview[bot]
acae2b0459 build(deps): bump github.com/golang/protobuf from 1.3.3 to 1.3.4 (#3713)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.3.3...v1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:34:07 +00:00
dependabot-preview[bot]
cb1c755510 build(deps): bump github.com/Azure/go-autorest/autorest (#3711)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.9.6...autorest/v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:33:44 +00:00
dependabot-preview[bot]
fe72e1f377 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.21.0 to 1.22.0 (#3710)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:33:36 +00:00