Commit Graph

1934 Commits

Author SHA1 Message Date
AllenZMC
55160492cd fix mis-spelling in request.go (#3213) 2019-08-27 09:01:17 -04:00
Chris O'Haver
f491880d68 plugin/kubernetes: Restore k8s.io/client-go to v12.0.0 (#3209)
* bump k8s.io/client-go and azure/go-autorest

* bump azure

* bump azure 2
2019-08-27 06:19:48 +00:00
Chris O'Haver
f189dba69d Update README.md (#3207) 2019-08-26 09:27:18 -07:00
Chris Aniszczyk
73391f639d SECURITY.md to take advantage of GitHub features (#3206)
https://help.github.com/en/articles/adding-a-security-policy-to-your-repository
https://help.github.com/en/articles/about-maintainer-security-advisories

Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
2019-08-26 09:13:07 -07:00
xieyanker
9fe7fb95c6 return standardized text for ready and health endpoint (#3195) 2019-08-26 10:31:24 +00:00
li mengyang
dd8238ba9b fix spelling mistakes (#3202)
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-08-26 09:33:57 +00:00
Miek Gieben
2332467b87 Fuzz: fix forward build (#3200)
* Fuzz: fix forward build

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

* Flag not released yet, wget quiet

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-26 09:33:20 +00:00
dependabot-preview[bot]
295be732ac build(deps): bump github.com/coreos/etcd (#3199)
Bumps [github.com/coreos/etcd](https://github.com/coreos/etcd) from 3.3.13+incompatible to 3.3.15+incompatible.
- [Release notes](https://github.com/coreos/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.4.md)
- [Commits](https://github.com/coreos/etcd/compare/v3.3.13...v3.3.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 08:26:32 +00:00
dependabot-preview[bot]
934e3721fb build(deps): bump github.com/aws/aws-sdk-go from 1.23.3 to 1.23.8 (#3198)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.23.3 to 1.23.8.
- [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.23.3...v1.23.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 08:26:12 +00:00
Miek Gieben
aeb27bdb5b plugin/file: close reader for reload (#3196)
This reloader didn't close the openened file handle. Add a close. Can't
use `defer` because this is in a endless loop.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-26 08:25:02 +00:00
dependabot-preview[bot]
d4cef05d0f build(deps): bump google.golang.org/api from 0.8.0 to 0.9.0 (#3197)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.8.0 to 0.9.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.8.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 08:19:35 +00:00
Miek Gieben
8bc4b85b1f fuzz: use new fuzzit (#3193)
Upgrade to new version and add if-not-exists to the cmdline

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-26 08:15:05 +00:00
Miek Gieben
d65cd709cd plugin/file: respond correctly to IXFR message (#3177)
* plugin/file: respond correctly to IXFR message

Respond with a sing SOA record to an IXFR request if the SOA serials
match.

The added test fails on the current code with:

~~~
=== RUN   TestIxfrResponse
--- FAIL: TestIxfrResponse (0.00s)
    secondary_test.go:122: Expected answer section with single RR
FAIL
exit status 1
~~~

And obviously passes with the new code. This should cut down on the
weird number of zone transfers that I was seeing. At some point IXFR
support might be cool.

Fixes: #3176

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

* reuse code

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

* Sligtht tweaks

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-26 08:14:43 +00:00
Miek Gieben
e08d3335b0 fuzz: revert setup function (#3189)
This can't be used in its current form; revert the entire PR.

Revert "fuzzing: allow setup function to be called (#3175)"

This reverts commit 62451fd3eb.
2019-08-25 19:01:35 +00:00
Miek Gieben
793bd32499 plugin/forward: add fuzzing (#3188)
* plugin/forward: add fuzzing

Add fuzz.go for forward

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

* Make it compile

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-25 19:00:59 +00:00
Muhammad Falak R Wani
01ccbbb12d fuzz: use gofuzz build tag instead of fuzz (#3185)
* fuzz: use gofuzz build tag instead of fuzz

Since go-fuzz does not support Go modules yet, vendor dependencies.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* fuzz: avoid vendoring code for go-fuzz

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2019-08-25 13:02:44 +00:00
Miek Gieben
7219bce285 testing: TCPServer was only used in secondary_test.go (#3186)
TCPServer was only used in secondary_test.go and even there it wasn't
needed. Remove the file.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-25 12:59:44 +00:00
Miek Gieben
07748d0c34 go report card fixes (#3182)
Went over the list at https://goreportcard.com/report/github.com/coredns/coredns
and removed/fix some code to make it slightly happier.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-24 18:14:25 +00:00
Miek Gieben
62451fd3eb fuzzing: allow setup function to be called (#3175)
This allows to fuzzing of more interesting targets that require setup.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-24 18:13:47 +00:00
Chris O'Haver
59e74eb15d correct test and code (#3184) 2019-08-23 11:51:42 -07:00
Chris O'Haver
338d148c78 plugin/k8s_external/kubernetes: handle NS records (#3160)
* fix external ns records

* use k8s service name for ns record

* update test, add func comment

* expand nsAddrs() test cases

* support local ipv6 ip

* use less confusing pod ip in test
2019-08-23 16:54:06 +00:00
Sakura
84988ce2c2 fix typo in ADOPTERS.md (#3181)
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2019-08-23 06:50:54 +00:00
Sakura
88faf63017 fix typo in coredns-1.0.1.md (#3179)
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2019-08-23 06:29:39 +00:00
wwgfhf
1590320ff2 fix typo (#3180) 2019-08-23 06:29:17 +00:00
Miek Gieben
9f49d694e9 fuzz: fix rewrite crash by fixing fuzz/do.go (#3178)
Automatically submitted.
2019-08-22 18:49:22 +00:00
xieyanker
f8e0ae6330 fix typo "dnstop" >> "dnstap" (#3170) 2019-08-22 16:44:25 +00:00
Guangming Wang
7918190901 Cleanup: fix some typos in code comment (#3172)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-22 14:35:55 +00:00
AllenZMC
434ac69a03 fix wrong spells in parse_test.go (#3173) 2019-08-22 09:59:12 -04:00
Chris O'Haver
3f47fc8ba4 typo fixes (#3169)
* spelling fixes

* its/it's
2019-08-21 16:08:55 -04:00
Sakura
6881d6d585 fix typo in coredns-006.md (#3168)
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2019-08-21 12:15:11 -04:00
Yong Tang
1b3fb834da Revert "Validate zone during normalization (#3165)" (#3167)
This reverts commit f888c5f7f6.
2019-08-21 11:01:45 -04:00
Julien Garcia Gonzalez
f888c5f7f6 Validate zone during normalization (#3165) 2019-08-21 06:34:21 -07:00
AllenZMC
27f44f60ee fix mis-spelling in clouddns.go (#3166) 2019-08-21 06:16:00 -07:00
AllenZMC
25632d6a23 fix mis-spelling in owners_generate.go (#3159) 2019-08-20 13:00:19 +00:00
Yong Tang
eae97e84ae Update replace statement in go.mod: (#3157)
```
replace github.com/miekg/dns v1.1.3 => github.com/miekg/dns v1.1.16
```

so that we only end up with one version of github.com/miekg/dns
(caddy still use 1.1.3)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-19 18:06:51 +00:00
dependabot-preview[bot]
297299e308 build(deps): bump github.com/miekg/dns from 1.1.15 to 1.1.16 (#3153)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.15 to 1.1.16.
- [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.15...v1.1.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 08:58:34 -07:00
dependabot-preview[bot]
960474aab9 build(deps): bump github.com/aws/aws-sdk-go from 1.22.3 to 1.23.3 (#3151)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.22.3 to 1.23.3.
- [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.22.3...v1.23.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 08:58:16 -07:00
dependabot-preview[bot]
9f950d8bac build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3150)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.1.0 to 0.3.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/logger/v0.1.0...tracing/v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 08:25:10 -07:00
dependabot-preview[bot]
66a9c7b82a build(deps): bump google.golang.org/grpc from 1.22.0 to 1.23.0 (#3155)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.22.0...v1.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:54:18 -07:00
dependabot-preview[bot]
95f412a5be build(deps): bump google.golang.org/api from 0.7.0 to 0.8.0 (#3154)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.7.0 to 0.8.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.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:54:07 -07:00
dependabot-preview[bot]
ee84d4555f build(deps): bump github.com/Azure/go-autorest/autorest (#3149)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.8.0 to 0.9.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.8.0...autorest/v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:53:25 -07:00
dependabot-preview[bot]
fe0f3d9818 build(deps): bump github.com/caddyserver/caddy from 1.0.1 to 1.0.3 (#3148)
Bumps [github.com/caddyserver/caddy](https://github.com/caddyserver/caddy) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/caddyserver/caddy/releases)
- [Commits](https://github.com/caddyserver/caddy/compare/v1.0.1...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:53:09 -07:00
AllenZMC
8ab83a175a fix mis-spelling in item.go (#3156) 2019-08-19 09:36:59 -04:00
Xigang Wang
81bba80159 Change the ToEndpoints method comment to replace the Service with Endpoints (#3146) 2019-08-19 09:34:09 -04:00
Miek Gieben
6f028d0427 fuzz: some cleanups (#3143)
* fuzz: some cleanups

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

* smaller

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

* documentation

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

* comments

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-19 08:06:25 +00:00
Yong Tang
6fa61119bd Update build command inside docker (#3145)
Since we use golang 1.12 and gomod, it is not necessary
to match the impor path to `/go/src/github.com/coredns/coredns`
in order to build coredns. For that reason the build command
inside docker could be simplified with:
```
$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.12 make
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-19 07:02:08 +00:00
Yong Tang
6402cef337 Move federation plugin to github.com/coredns/federation (#3139)
* Remove federation

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

* Rebuild and point to github.com/coredns/federation

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

* Export `localNodeName` => `LocalNodeName`, to be used by federation (until deprecation)

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

* Remove plugin/kubernetes/federation.go (=> kubernetes/federation repo)

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

* Update github.com/coredns/federation

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

* sticker-ci fix

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-18 14:41:51 -07:00
AllenZMC
bbf148360b fix wrong spells in coredns-007.md (#3142) 2019-08-18 16:53:46 +00:00
Yevgeny Pats
c33fc9e3b0 Add Continuous Fuzzing Integration to Fuzzit (#3093)
This feature introduce continuous fuzzing with the following
features:

* Ruzzing: fuzz-targets are run continuously on master
( the fuzzers are updated every time new code is pushed to master)
* Regresion: In addition to unit-tests travis runs all fuzz
targets through the generated corpus to catch bugs early  on
in the CI process before merge.
2019-08-18 08:40:59 +00:00
Miek Gieben
bbc78abf6f plugin/clouddns: tiny fixes for the README (#3140)
* plugin/clouddns: tiny fixes for the README

Did a post-merge review. Fix a few typos.

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

* Naming;

coredns -> CoreDNS
clouddns -> Cloud DNS
and italics then the plugin's name are mentioned.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-18 08:40:34 +00:00