Commit graph

2709 commits

Author SHA1 Message Date
coredns-auto-go-mod-tidy[bot]
94e027cd6f auto make -f Makefile.doc 2021-03-08 11:15:45 +00:00
Miek Gieben
ec9e8168e5
plugin/file: add small zonefile example (#4509)
Watching TGI Kubernetes 147 and it helps to show a small zonefile
example in the documentation.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-03-08 12:15:20 +01:00
Paco Xu
93c57b613d
Correct the link to dnstap plugin in release note (#4503) 2021-03-03 22:56:42 -08:00
Miek Gieben
1df7daf995
Point to github discussion in issue template (#4491)
A generic question might be more suited for a discussion, add pointer to
the issue template.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-25 09:46:47 -08:00
Miek Gieben
c2028e330f
plugin/kubernetes: don't return when ServerVersion return an error (#4490)
When err=nil try to determine the version of the k8s cluster and disable
endpoint slices. Don't return from connecting to the cluster.

In the future we should just default to true, and delete all this code.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-25 18:14:57 +01:00
Chris O'Haver
4843cdfe1e
rebuild go.mod/sum with go mod download before go test (#4487)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-02-25 18:13:14 +01:00
Miek Gieben
9d3a84377c
Makefile.release: do a complete dry-run (#4488)
Just dry-run all important targets.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 10:03:16 -08: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
6e50faa907
release: add 1.8.3 release notes (#4485)
Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 14:38:46 +01:00
Miek Gieben
f64d06e8b0
Fix release script (#4483)
Move the make syntax out of the shell syntax section and pull it to the
top of the file.

Also add notes on how to test this script. And yes Makefile syntax is
pretty horrible. Testing on a release machine with my personal docker
repo.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 14:35:20 +01:00
coredns-auto-go-fmt[bot]
ff9b4bcb98 auto go fmt 2021-02-24 10:22:15 +00: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
8fdd363c79
release notes for 1.8.2 (#4480)
Update the notes and set the date to tomorrow.

See #4479

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 09:23:54 +01:00
Miek Gieben
908622a664
Fix go-test yaml (#4481)
unsure why this only pops up, but the yaml was not correct for this
workflow. Randomly added whitespace until it parsed as proper yaml

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-23 14:12:00 +01:00
coredns-auto-trailing-whitespaces[bot]
f9b98a1d06 auto remove trailing whitespaces 2021-02-23 09:12:58 +00:00
slick-nic
0103931263
Rewrite SRV targets and additional names in response (#4287)
* Rewrite plugin - rewrite SRV targets and names in response answer and additional records

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Added README content to describe new behaviour

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Added more record types to rewrite handling based on PR/Issue feedback

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Updated README.md for plugin

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Updated unit tests.
Small refactor of getTarget... function.

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Refactor to add response value rewrite as answer value option

Signed-off-by: Nic Colledge <nic@njcolledge.net>

* Removed TODO comment, added test for NAPTR record.

Signed-off-by: Nic Colledge <nic@njcolledge.net>
2021-02-23 10:12:40 +01:00
Johnny Bergström
fe2b5f630d
doh: set http request in writer (#4445)
Makes it possible to read the current http request while serving DNS

Signed-off-by: Johnny Bergström <johnny@klaudify.se>
2021-02-17 20:45:04 +01:00
chantra
8ecde0f37b
[request] Also clear do and size (#4465)
Those 2 attriburtes were not cleared as part of `Clear()` call.

Signed-off-by: chantra <chantr4@gmail.com>
2021-02-17 20:42:37 +01:00
coredns-auto-go-mod-tidy[bot]
5e7d25ddce auto go mod tidy 2021-02-15 14:42:33 +00:00
dependabot-preview[bot]
3b4e457e57
build(deps): bump github.com/aws/aws-sdk-go from 1.37.6 to 1.37.10 (#4468) 2021-02-15 06:41:58 -08:00
coredns-auto-go-mod-tidy[bot]
37d8f8ca73 auto go mod tidy 2021-02-15 13:28:58 +00:00
dependabot-preview[bot]
f7e1c42121
build(deps): bump github.com/Azure/go-autorest/autorest (#4467) 2021-02-15 05:28:26 -08:00
dependabot-preview[bot]
15c17ebb16
build(deps): bump github.com/dnstap/golang-dnstap from 0.3.0 to 0.4.0 (#4466) 2021-02-15 05:28:05 -08:00
Miek Gieben
1db575a2ce
A noop target to Makefile.release and run it in CI (#4462) 2021-02-13 05:03:22 -08:00
Miek Gieben
527bee5b6d
Add 1.8.2 notes (#4461) 2021-02-12 04:27:21 -08:00
Miek Gieben
c4720b8ad2
plugin/sign: track zone file's mtime (#4431)
* plugin/sign: track zone file's mtime

Resign if the original zone's mtime is change in some way.

Closes #4407

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

* Update plugin/sign/README.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

Co-authored-by: Yong Tang <yong.tang.github@outlook.com>
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2021-02-10 07:56:03 -08:00
coredns-auto-go-mod-tidy[bot]
d29fd8c550 auto make -f Makefile.doc 2021-02-09 13:36:55 +00:00
Jun Chen
a5bc3891e8
make kubernetes plugin kubeconfig argument 'context' optional (#4451)
Signed-off-by: answer1991 <answer1991.chen@gmail.com>
2021-02-09 14:36:32 +01:00
coredns-auto-go-mod-tidy[bot]
632463d3a9 auto go mod tidy 2021-02-08 14:29:17 +00:00
dependabot-preview[bot]
5cb7776c87
build(deps): bump github.com/miekg/dns from 1.1.37 to 1.1.38 (#4459) 2021-02-08 06:28:33 -08:00
dependabot-preview[bot]
b1f131d694
build(deps): bump github.com/aws/aws-sdk-go from 1.37.1 to 1.37.6 (#4458) 2021-02-08 06:28:14 -08:00
dependabot-preview[bot]
2f96fdfd34
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4457) 2021-02-08 06:27:52 -08:00
Miek Gieben
56bc7f399a
plugin/transfer: only allow outgoing axfr over tcp (#4452)
* plugin/transfer: only allow outgoing axfr over tcp

Return refused when the query comes in over udp.
No need to add a new test case as the current crop needed to be changed
to use TCP.

Fixes: #4450

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

* transfer tests: this needs tcp as well

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-05 10:51:29 +01:00
Miek Gieben
03812bb1e7
plugin/rewrite: copy msg before rewritting (#4443)
Copy the msg to prevent messing with the (via the pointer) original
created message that may be stored in the cache or anything other data
store.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-01 06:52:50 -08:00
George Shammas
117a389e40
plugin/acl: add the ability to filter records (#4389)
Currently ACLs only allow for allow and block, however it isn't
always desirable to set the status code to REFUSED. Often times
you want to completely hide the fact that those records even exist.

Adding the ability to acl to filter results makes it significantly
harder for a third party to know that the records are being masked.

Signed-off-by: George Shammas <george@shamm.as>
2021-02-01 06:52:23 -08:00
dependabot-preview[bot]
d289b4ea26
build(deps): bump github.com/miekg/dns from 1.1.35 to 1.1.37 (#4442)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.35 to 1.1.37.
- [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.35...v1.1.37)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-01 06:51:59 -08:00
dependabot-preview[bot]
487339bbb1
build(deps): bump github.com/aws/aws-sdk-go from 1.36.31 to 1.37.1 (#4441)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.31 to 1.37.1.
- [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.36.31...v1.37.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-01 06:51:47 -08:00
Manuel Rüger
028f0eb331
Makefile.release: Replace manifest-tool with docker manifest (#4421)
This commit replaces `manifest-tool` with `docker manifest`, which should
hopefully provide a better experience for releasing coredns.

In addition it integrates mips64le (since it's supported by `docker
manifest`) in LINUX_ARCHES, so docker images for mips64le are pushed as
well.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-01-28 19:11:38 +01:00
Miek Gieben
60e1490ed6
copy rrs (#4416)
* Revert "make copies of RRs before returning them (#4409)"

This reverts commit 8b2ff6c388.

* Document copying responses

See #4409 and the comments. This documents that issue, but doesn't
change the in-tree plugins just yet.

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

* Update plugin.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2021-01-28 16:50:35 +01:00
Bob
d8d2c16905
plugin/trace - Use compatible tag name for datadog (#4408)
Traces are currently working properly with datadog with the exception of having the ability to facet the tags

![image](https://user-images.githubusercontent.com/5513509/105051238-dddbbd00-5a6e-11eb-8fb2-071b3b1fa8cc.png)

In order to get valuable graph in dashboard the tag on the metrics need to be faceted by datadog.
This PR update the tags with facetable path.
While keeping backward compatibility with existing path for zipkin.

Graph like:
![image](https://user-images.githubusercontent.com/5513509/93375960-339e1f80-f859-11ea-81f0-a1074c375630.png)
![image](https://user-images.githubusercontent.com/5513509/93375997-4153a500-f859-11ea-9f8d-63d45217c681.png)
![image](https://user-images.githubusercontent.com/5513509/93376064-5597a200-f859-11ea-823a-6768f59e3497.png)
![image](https://user-images.githubusercontent.com/5513509/93376405-d6ef3480-f859-11ea-8d6f-58dda247cc86.png)
![image](https://user-images.githubusercontent.com/5513509/93376518-069e3c80-f85a-11ea-9a7e-0426a3817439.png)

Signed-off-by: bob <bob.bouteillier@datadoghq.com>
2021-01-28 16:38:24 +01:00
coredns-auto-go-mod-tidy[bot]
fc5c172109 auto make -f Makefile.doc 2021-01-28 15:37:39 +00:00
Maxime Ginters
b1173ed2a5
plugin/forward Add rcode and rtype to request_duration_seconds metric (#4391)
* plugin/forward Add rcode and rtype to request_duration_seconds metric

Signed-off-by: Maxime Ginters <maxime.ginters@shopify.com>

* Control the cardinality of query type

Signed-off-by: Maxime Ginters <maxime.ginters@shopify.com>
2021-01-28 16:37:17 +01:00
TimYin
2ab304078b
modify the error url of DWF (#4425)
Signed-off-by: timyinshi <shiguangyin@inspur.com>
2021-01-26 17:21:56 +01:00
TimYin
1bc84e61f9
modify the error url of hualala (#4426) 2021-01-26 17:21:38 +01:00
Lars Ekman
6ff19342d3
Corrected detection of K8s minor version (#4430)
Fixes #4428

Signed-off-by: Lars Ekman <lars.g.ekman@est.tech>
2021-01-26 09:27:37 -05:00
Miek Gieben
a9206996eb
core: flag blacklisting not needed anymore (#4420)
Automatically submitted.
2021-01-26 08:18:40 +00:00
coredns-auto-go-mod-tidy[bot]
e222193539 auto go mod tidy 2021-01-25 14:12:48 +00:00
dependabot-preview[bot]
fade9329a5
build(deps): bump github.com/aws/aws-sdk-go from 1.36.28 to 1.36.31 (#4424) 2021-01-25 06:12:06 -08:00
Miek Gieben
38d4dacb88
Fix import ordering presubmit test (#4422)
Automatically submitted.
2021-01-24 17:28:49 +00:00
Frank Riley
eba74389c4
Fix #4395, fix out of order messages and fix forward perspective. (#4396)
Signed-off-by: Frank Riley <fhriley@gmail.com>
2021-01-21 10:00:27 +01:00