Commit Graph

667 Commits

Author SHA1 Message Date
dependabot[bot]
6b0973d238 build(deps): bump k8s.io/client-go from 0.21.2 to 0.21.3 (#4761)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.21.2 to 0.21.3.
- [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.21.2...v0.21.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 08:56:23 -07:00
dependabot[bot]
c3b8bd4687 build(deps): bump github.com/aws/aws-sdk-go from 1.39.4 to 1.40.2 (#4763)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.39.4 to 1.40.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.39.4...v1.40.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 08:18:02 -07:00
dependabot[bot]
86993554d8 build(deps): bump k8s.io/api from 0.21.2 to 0.21.3 (#4760)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.21.2...v0.21.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-19 08:17:33 -07:00
Sven Nebel
21f1207afe Create geoip plugin (#4688)
* Create geoip plugin

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/README.md

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/README.md

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/README.md

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Move DBFILE bullet below example

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/README.md

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove plugin name test case

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove languages option

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update free database link

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove last language bits

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Use 127.0.0.1 as probing IP

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/geoip.go

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Update plugin/geoip/geoip.go

Co-authored-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Use relative path for fixtures dir

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Set names with default string zero value

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove unused db types

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove non city databases in testdata

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Remove create databases main

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Fix metadata label format test case

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Fix import path block

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* go fmt after changes

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Tidy up go.mod and go.sum

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

* Add plugin to CODEOWNERS

Signed-off-by: Sven Nebel <nebel.sven@gmail.com>

Co-authored-by: Miek Gieben <miek@miek.nl>
2021-07-14 09:25:30 +02:00
dependabot[bot]
729de52163 build(deps): bump github.com/aws/aws-sdk-go from 1.39.0 to 1.39.4 (#4744)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.39.0 to 1.39.4.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.39.0...v1.39.4)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 08:26:30 -07:00
Chris O'Haver
bdaa2a5527 Share plugins among zones in the same server block (#4593)
* share plugins among zones in the same server block

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

* update caddy dep

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

* simp code

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

* copy ListenHosts and Debug from first config

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

* copy tls configs from first config

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

* add test to validate debug setting is replicated to all configs in block

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

* stop server

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-07-09 17:12:06 +02:00
dependabot[bot]
bfb6972d30 build(deps): bump google.golang.org/api from 0.49.0 to 0.50.0 (#4732) 2021-07-05 08:03:31 -07:00
dependabot[bot]
59c460df3f build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4733) 2021-07-05 07:25:25 -07:00
dependabot[bot]
2d56836679 build(deps): bump google.golang.org/grpc from 1.38.0 to 1.39.0 (#4731) 2021-07-05 07:24:40 -07:00
dependabot[bot]
e788cf8a4b build(deps): bump github.com/aws/aws-sdk-go from 1.38.68 to 1.39.0 (#4734) 2021-07-05 07:21:26 -07:00
dependabot[bot]
a5ab94eabb build(deps): bump github.com/aws/aws-sdk-go from 1.38.64 to 1.38.68 (#4723)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.64 to 1.38.68.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.64...v1.38.68)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:55:23 -07:00
dependabot[bot]
2f4fd0113e build(deps): bump github.com/miekg/dns from 1.1.42 to 1.1.43 (#4722)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.42 to 1.1.43.
- [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.42...v1.1.43)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:54:59 -07:00
dependabot[bot]
eb5d77137b build(deps): bump google.golang.org/api from 0.48.0 to 0.49.0 (#4721)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:54:20 -07:00
dependabot[bot]
780c256c5f build(deps): bump k8s.io/client-go from 0.21.1 to 0.21.2 (#4710) 2021-06-21 05:52:36 -07:00
dependabot[bot]
36bf876aaf build(deps): bump k8s.io/api from 0.21.1 to 0.21.2 (#4708) 2021-06-21 05:31:45 -07:00
dependabot[bot]
397fe7051f build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.0-rc.1 to 3.5.0 (#4707) 2021-06-21 05:31:17 -07:00
dependabot[bot]
5f3ee3412e build(deps): bump k8s.io/apimachinery from 0.21.1 to 0.21.2 (#4705) 2021-06-21 04:50:54 -07:00
dependabot[bot]
71c68354ad build(deps): bump github.com/aws/aws-sdk-go from 1.38.60 to 1.38.64 (#4706) 2021-06-21 04:50:43 -07:00
dependabot[bot]
c1140c399d build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.0-rc.1 to 3.5.0 (#4709) 2021-06-21 04:50:16 -07:00
dependabot[bot]
0f061cc9f7 build(deps): bump go.etcd.io/etcd/client/v3 (#4692) 2021-06-14 06:34:38 -07:00
dependabot[bot]
95faa85641 build(deps): bump google.golang.org/api from 0.47.0 to 0.48.0 (#4694) 2021-06-14 05:51:39 -07:00
dependabot[bot]
8edc01132d build(deps): bump github.com/prometheus/common from 0.28.0 to 0.29.0 (#4693) 2021-06-14 05:50:38 -07:00
dependabot[bot]
9020e1f6e4 build(deps): bump github.com/aws/aws-sdk-go from 1.38.55 to 1.38.60 (#4691) 2021-06-14 05:50:16 -07:00
dependabot[bot]
7dbadc1261 build(deps): bump go.etcd.io/etcd/client/v3 (#4671)
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0-beta.4 to 3.5.0-rc.0.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.4.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0-beta.4...v3.5.0-rc.0)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 06:59:45 -07:00
dependabot[bot]
dbcdb61e3f build(deps): bump github.com/prometheus/common from 0.26.0 to 0.28.0 (#4678)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.26.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 06:59:31 -07:00
dependabot[bot]
86519762ca build(deps): bump github.com/prometheus/client_golang (#4676) 2021-06-07 06:35:15 -07:00
dependabot[bot]
ab32b3f72a build(deps): bump github.com/aws/aws-sdk-go from 1.38.51 to 1.38.55 (#4675) 2021-06-07 06:12:55 -07:00
dependabot[bot]
d151ea74df build(deps): bump github.com/Azure/go-autorest/autorest (#4672) 2021-06-07 05:52:40 -07:00
dependabot[bot]
ad731b700d build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.0-beta.4 to 3.5.0-rc.0 (#4670) 2021-06-07 05:52:06 -07:00
dependabot[bot]
19e14cb0b5 build(deps): bump github.com/aws/aws-sdk-go from 1.38.45 to 1.38.51 (#4657) 2021-05-31 06:23:42 -07:00
dependabot[bot]
0bacc2c953 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.28.0 to 1.31.1 (#4660) 2021-05-31 06:23:21 -07:00
dependabot[bot]
0566aa3e28 build(deps): bump go.etcd.io/etcd/client/v3 (#4658) 2021-05-31 06:22:45 -07:00
dependabot[bot]
037802dae5 build(deps): bump google.golang.org/grpc from 1.37.1 to 1.38.0 (#4643)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 07:33:16 -07:00
dependabot[bot]
ca9a8584eb build(deps): bump k8s.io/client-go from 0.21.0 to 0.21.1 (#4646)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.21.0 to 0.21.1.
- [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.21.0...v0.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
2021-05-24 10:07:51 -04:00
dependabot[bot]
2741b5d3ca build(deps): bump github.com/prometheus/common from 0.24.0 to 0.25.0 (#4644)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.24.0...v0.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 06:48:34 -07:00
dependabot[bot]
5fdfb67484 build(deps): bump k8s.io/apimachinery from 0.21.0 to 0.21.1 (#4642)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.21.0...v0.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 06:47:55 -07:00
dependabot[bot]
fa5f715dfa build(deps): bump google.golang.org/api from 0.29.0 to 0.47.0 (#4641)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.29.0 to 0.47.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.29.0...v0.47.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 06:47:44 -07:00
dependabot[bot]
e097dfdc2d build(deps): bump github.com/aws/aws-sdk-go from 1.38.40 to 1.38.45 (#4640)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.40 to 1.38.45.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.40...v1.38.45)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 06:47:30 -07:00
Chris O'Haver
df736adbc8 bump etcd to v3.5.0-beta3 (#4638)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-05-19 09:30:06 -07:00
Chris O'Haver
e4f7f19f58 bump etcd to v3.5.0-beta2 (#4635)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-05-19 11:03:33 +02:00
dependabot[bot]
fc24fe076f build(deps): bump github.com/aws/aws-sdk-go from 1.38.37 to 1.38.40 (#4630)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.37 to 1.38.40.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.37...v1.38.40)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 00:24:08 -07:00
dependabot[bot]
aaad8dbf14 build(deps): bump github.com/prometheus/common from 0.23.0 to 0.24.0 (#4629)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.23.0...v0.24.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 00:23:54 -07:00
Jason Du
d1f520a5b2 Fix etcd to use v3.5.0-alpha.0 (#4628)
Signed-off-by: Jason Du <xdu@infoblox.com>
2021-05-14 23:55:01 -07:00
dependabot[bot]
c6cd160ec4 build(deps): bump github.com/aws/aws-sdk-go from 1.38.30 to 1.38.37 (#4619)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.30 to 1.38.37.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.30...v1.38.37)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 10:32:36 +02:00
Miek Gieben
e42614edc5 reverse zones (#4538)
* core: fix v4 non-octet reverse zones

This fixes the reverse zones handling. Add expanstion of the reverse
notation to all octet boundary subnets and add those to the config - just as if
they were directly typed in the config.

This takes inspiration from #4501, but that (even with DCO!!) seems to
be just using https://github.com/apparentlymart/go-cidr/ so use that
instead - I think a minor function is still needed that one is copied
from #4501.

Also sort the zones we are listing on startup - caught in this PR
because of the expanded zones being not listed next to each other.

This also removes the need for FilterFunc from the config, so this is
now gone as well, making the whole thing slightly more efficient.

Add couple of reverse unit tests and a e2e test that queries for the
correct (and incorrect) reverse zones and checks the reply.

Closes: #4501
Fixes: #2779

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

* Add more test cases

Add test from origin bug report: #2779

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

* Rebase and fix conflicts

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-05-11 09:50:18 +02:00
dependabot[bot]
7354552296 build(deps): bump github.com/miekg/dns from 1.1.41 to 1.1.42 (#4612) 2021-05-10 06:08:54 -07:00
dependabot[bot]
32e2bd1ddd build(deps): bump github.com/prometheus/common from 0.21.0 to 0.23.0 (#4596) 2021-05-03 02:23:20 -07:00
dependabot[bot]
b37eb74498 build(deps): bump github.com/aws/aws-sdk-go from 1.38.25 to 1.38.30 (#4597) 2021-05-03 02:22:04 -07:00
dependabot[bot]
236c6cee68 build(deps): bump github.com/prometheus/common from 0.18.0 to 0.21.0 (#4589) 2021-04-26 06:34:01 -07:00
dependabot[bot]
51607fcdf8 build(deps): bump github.com/aws/aws-sdk-go from 1.38.16 to 1.38.25 (#4587) 2021-04-26 06:33:36 -07:00