Commit graph

2870 commits

Author SHA1 Message Date
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
Yong Tang
b53d822e62 Additional content in clouddns plugin, and format of markdown (#3138)
This PR adds some content in clouddns plugin to mention about
the fact that privately hosted zone does not need to attach to
a VPC.
Also change PROJECT_NAME to PROJECTT_ID, and reformt the markdown
to replace tab with 4 whitespace.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-17 21:46:48 +00:00
Yong Tang
ef7efae761 Remove merge left overs (#3136)
Looks like there were some leftover in PR 3011 during
the merge conflict rebase. This PR removes the unneeded file
and fixed the plugin.cfg

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-17 21:07:23 +00:00
Palash Nigam
194b0f95b4 Add Google Cloud DNS plugin (#3011)
Signed-off-by: Palash Nigam <npalash25@gmail.com>

Closes: #2822
2019-08-17 13:59:09 -07:00
AllenZMC
bde393096f fix wrong spells in zone.go (#3135) 2019-08-17 15:29:46 +00:00
zhangguoyan
86edb15c27 plugin/forward: fix a typo (#3133) 2019-08-16 16:34:12 +00:00
AllenZMC
d36ca09c97 fix mis-spelling in object.go (#3134) 2019-08-16 09:29:06 -04:00
AllenZMC
fe60f10300 fix typos in kubernetes.go (#3132) 2019-08-15 09:15:23 -04:00
Cricket Liu
d42f54467f Update README.md (#3131)
Just minor textual cleanup.
2019-08-14 13:48:14 -04:00
AllenZMC
70b9cdb541 fix wrong spells in coredns-002.md (#3130) 2019-08-14 13:39:25 +00: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
ea0d6abc85
Tweak the notes a bit (#3128)
Say a thing about 1.12.8 and HTTP/2

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-14 08:10:50 +00:00
Miek Gieben
fcbe70f4f8
run gofmt -w -s **/*.go (#3126)
format and simplify; highlighted some stuff in route53_test.go that
could be further simplified.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-14 07:56:12 +00:00
AllenZMC
3c45e55f91 Update parse.go (#3122) 2019-08-13 09:47:23 -07:00
Miek Gieben
a23617b84b Add release notes for 1.6.2
Add notes for next release; azure was merged, nice to get that out, some
other bugfixes.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-13 16:46:45 +01:00