Commit graph

2870 commits

Author SHA1 Message Date
Miek Gieben
7bb32dee7d
Detail metrics name changes (#3798)
* Detail metrics rename in the notes

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

* Update notes/coredns-1.7.0.md

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

* More words

Details and fix the metric name change and add words on the federation
plugin as well.

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

* Add dns64 plugin

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

Co-authored-by: Ben Kochie <superq@gmail.com>
2020-04-01 10:02:57 +02:00
coredns-auto-go-mod-tidy[bot]
0a4047d88e auto make -f Makefile.doc 2020-03-31 18:03:49 +00:00
Ben Kochie
a29a594e5c
Update more metrics names (#3799)
The subsystem of a metric must be it's plugin name. "dns" is reserved
for the core. Use a const convention to avoid copy-paste mistakes in
naming.

Fix dns64 and acl plugin.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-31 20:03:18 +02:00
Yong Tang
e2ece87035
Change the recommened version to 1.14 (as we use 1.14 by default) (#3801)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-03-31 08:03:11 -07:00
coredns-auto-go-mod-tidy[bot]
db1d4f91da auto make -f Makefile.doc 2020-03-31 14:18:39 +00:00
Ben Kochie
d4cac0c43a
Move doc test to workflow (#3800)
Replace doc CI test with automatic workflow.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-31 16:18:10 +02:00
coredns-auto-go-mod-tidy[bot]
753d22d140 auto go mod tidy 2020-03-31 09:39:39 +00:00
Ben Kochie
347d66d930
Update various vendor dependencies (#3785)
Mostly `go get -u`, but rolled back k8s and etcd changes due to some
dependency chaining issues.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-31 11:39:02 +02:00
Zou Nengren
87214a4c5c
introduce metric naming test (#3789)
* introduce metric naming test

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>

* Update metrics.go

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-31 08:07:36 +02:00
coredns-auto-go-mod-tidy[bot]
10d176b811 auto go mod tidy 2020-03-30 18:11:14 +00:00
Yong Tang
ebbfffaf9d
Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796)
* Update k8s.io/[api|apimachinery|client-go] to v0.18.0

This PR updates k8s.io/[api|apimachinery|client-go] to v0.18.0

This PR closes 3791
This PR closes 3792
This PR closes 3793

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

* Fix test failures

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

* Fix failed tests

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

* Fix test failure

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-03-30 11:10:41 -07:00
Zou Nengren
8bbfa19223
remove federation (#3794)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-30 09:08:20 -07:00
coredns-auto-go-mod-tidy[bot]
021f761291 auto go mod tidy 2020-03-30 14:16:29 +00:00
dependabot-preview[bot]
2722990afb
build(deps): bump github.com/aws/aws-sdk-go from 1.29.29 to 1.29.34 (#3790)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.29.29 to 1.29.34.
- [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.29...v1.29.34)

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-30 07:15:39 -07:00
Miek Gieben
66dceea95e
Remove top level clutter: move fixup_file_mtime (#3786)
Move this to .circlci where it's used.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-27 10:38:18 -07:00
Zou Nengren
fa1e909d0b
regitry reload metrics (#3784)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-27 09:40:59 +01:00
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>
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
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