Commit Graph

630 Commits

Author SHA1 Message Date
Dimitri Herzog b67df0b24f
Merge pull request #486 from 0xERR0R/dependabot/go_modules/gorm.io/driver/mysql-1.3.3
Bump gorm.io/driver/mysql from 1.3.2 to 1.3.3
2022-04-14 08:49:13 +02:00
Dimitri Herzog 002989951b
Merge pull request #496 from 0xERR0R/dependabot/go_modules/github.com/avast/retry-go/v4-4.0.4
Bump github.com/avast/retry-go/v4 from 4.0.3 to 4.0.4
2022-04-13 09:52:51 +02:00
Dimitri Herzog 3ae405002c
Merge pull request #497 from 0xERR0R/dependabot/go_modules/github.com/creasty/defaults-1.6.0
Bump github.com/creasty/defaults from 1.5.2 to 1.6.0
2022-04-13 09:52:38 +02:00
dependabot[bot] 9734eef2cb
Bump gorm.io/driver/mysql from 1.3.2 to 1.3.3
Bumps [gorm.io/driver/mysql](https://github.com/go-gorm/mysql) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/go-gorm/mysql/releases)
- [Commits](https://github.com/go-gorm/mysql/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 07:24:28 +00:00
dependabot[bot] b503422dc6
Bump github.com/avast/retry-go/v4 from 4.0.3 to 4.0.4
Bumps [github.com/avast/retry-go/v4](https://github.com/avast/retry-go) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/avast/retry-go/releases)
- [Commits](https://github.com/avast/retry-go/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: github.com/avast/retry-go/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 07:24:25 +00:00
dependabot[bot] 568e2554a1
Bump github.com/creasty/defaults from 1.5.2 to 1.6.0
Bumps [github.com/creasty/defaults](https://github.com/creasty/defaults) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/creasty/defaults/releases)
- [Commits](https://github.com/creasty/defaults/compare/v1.5.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 07:24:01 +00:00
Dimitri Herzog 8d5c2b10b5
update setup-go action 2022-04-13 09:19:00 +02:00
Dimitri Herzog 828a706ee3
update golangci-lint-action 2022-04-13 09:12:08 +02:00
Dimitri Herzog e60b213a7d
Merge pull request #492 from 0xERR0R/dependabot/go_modules/gorm.io/driver/postgres-1.3.4
Bump gorm.io/driver/postgres from 1.3.3 to 1.3.4
2022-04-11 22:40:56 +02:00
dependabot[bot] 8fabd2c92d
Bump gorm.io/driver/postgres from 1.3.3 to 1.3.4
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/go-gorm/postgres/releases)
- [Commits](https://github.com/go-gorm/postgres/compare/v1.3.3...v1.3.4)

---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 04:06:06 +00:00
dependabot[bot] 79f982cf91
Bump gorm.io/driver/postgres from 1.3.1 to 1.3.3 (#487)
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/go-gorm/postgres/releases)
- [Commits](https://github.com/go-gorm/postgres/compare/v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
  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>
2022-04-06 16:32:38 +02:00
dependabot[bot] bc8a35e501
Bump gorm.io/gorm from 1.23.3 to 1.23.4 (#488)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.23.3 to 1.23.4.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.23.3...v1.23.4)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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>
2022-04-06 16:32:28 +02:00
dependabot[bot] b2c0535aed
Bump github.com/miekg/dns from 1.1.47 to 1.1.48 (#489)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.47 to 1.1.48.
- [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.47...v1.1.48)

---
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>
2022-04-05 17:29:09 +02:00
Peter Dave Hello 3a7d52b546
Add default Block TTL information in the docs (#484) 2022-04-02 22:05:07 +02:00
Peter Dave Hello 45fae43b10
Fix the indent of yaml code block in docs/configuration.md (#481) 2022-04-02 22:04:26 +02:00
Peter Dave Hello bec973b4f3
Update reference configuration file in the docs (#480)
To prevent the warning:

> net prefix tcp is deprecated, using tcp+udp as default fallback
2022-04-02 21:54:20 +02:00
ohemmali 4d1f09f184
Fixing unexpanded CMD variable with correct defaulting behavior. (#478)
Co-authored-by: Omar <omar@hemmali.com>
2022-04-01 09:12:03 +02:00
dependabot[bot] c686ca0379
Bump github.com/swaggo/swag from 1.8.0 to 1.8.1 (#479)
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  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>
2022-04-01 09:11:41 +02:00
Dimitri Herzog 28789ee7fe
filtering of queries (#450) (#474) 2022-04-01 08:58:09 +02:00
Dimitri Herzog 5427c1697c docs: added container parameters description 2022-03-31 22:50:20 +02:00
ohemmali beb380edcb
Defining env var for configurable config file location (#473)
Co-authored-by: Omar <omar@hemmali.com>
2022-03-31 22:49:23 +02:00
Dimitri Herzog 27f9c8b9a0 chore: improved error logging 2022-03-31 22:29:36 +02:00
Dimitri Herzog 81b896a01d chore: increased test timeout 2022-03-31 22:27:45 +02:00
Dimitri Herzog c96802b546 go mod tidy 2022-03-28 21:49:26 +02:00
Dimitri Herzog d1289e8452 removed deprecated configuration parameters 2022-03-28 21:48:49 +02:00
Dimitri Herzog 476dd7d0eb update go-enum to v0.4.0 2022-03-28 21:35:48 +02:00
dependabot[bot] 56712ff1be
Bump github.com/onsi/gomega from 1.18.1 to 1.19.0 (#469)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.18.1...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  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>
2022-03-28 08:44:08 +02:00
Dimitri Herzog 78376058c2 test: added unmarshalling tests 2022-03-25 22:04:26 +01:00
dependabot[bot] 8acf47456f
Bump github.com/alicebob/miniredis/v2 from 2.19.0 to 2.20.0 (#468)
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/alicebob/miniredis/releases)
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alicebob/miniredis/compare/v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
  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>
2022-03-24 08:26:02 +01:00
Dimitri Herzog 2bb2f97f8f
CustomDNS: parameter "filterUnmappedTypes" to allow/disable forwarding to the upstream resolver (#467) 2022-03-22 22:15:31 +01:00
Dimitri Herzog 108d5ba9f7 test: increased the timeout 2022-03-22 22:11:13 +01:00
dependabot[bot] 07f0d1f0f8
Bump gorm.io/gorm from 1.23.2 to 1.23.3 (#463)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.23.2 to 1.23.3.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.23.2...v1.23.3)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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>
2022-03-21 13:45:13 +01:00
Dimitri Herzog f44fc032f0 cache DNS queries in bootstrap DNS (#454) 2022-03-19 22:56:18 +01:00
dependabot[bot] dbd17303d6
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#451)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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>
2022-03-18 07:35:02 +01:00
dependabot[bot] e0f2ba4e27
Bump github.com/go-redis/redis/v8 from 8.11.4 to 8.11.5 (#460)
Bumps [github.com/go-redis/redis/v8](https://github.com/go-redis/redis) from 8.11.4 to 8.11.5.
- [Release notes](https://github.com/go-redis/redis/releases)
- [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-redis/redis/compare/v8.11.4...v8.11.5)

---
updated-dependencies:
- dependency-name: github.com/go-redis/redis/v8
  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>
2022-03-18 07:34:06 +01:00
dependabot[bot] 7289db85c2
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#456)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2022-03-17 22:31:53 +01:00
dependabot[bot] 81dd0c979a
Bump github.com/alicebob/miniredis/v2 from 2.18.0 to 2.19.0 (#458)
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/alicebob/miniredis/releases)
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alicebob/miniredis/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
  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>
2022-03-17 22:31:28 +01:00
ThinkChaos f8b6e59ef4
Add rewrite support to custom DNS (#449)
This commit extracts rewriting logic from `ConditionalUpstreamResolver`
into the new `RewriterResolver`, and uses that to enable rewriting for
the `CustomDNSResolver`.
`RewriterResolver` wraps a resolver and applies the rewrite to the
request that is forwarded to the inner resolver.

It also introduces a new optional interface: `NamedResolver`.
This allows a `Resolver` to choose what its user friendly name is,
instead of always being its type name.
2022-03-17 22:30:21 +01:00
Johannes Kastl e6a5af33f2
docs: changed default for tlsPort to 853 in example configuration file (#457) 2022-03-17 09:08:52 +01:00
dependabot[bot] 404313c087
Bump github.com/miekg/dns from 1.1.46 to 1.1.47 (#453)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.46 to 1.1.47.
- [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.46...v1.1.47)

---
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>
2022-03-14 08:18:06 +01:00
dependabot[bot] 6d33ec7825
Bump gorm.io/gorm from 1.22.5 to 1.23.2 (#448)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.22.5 to 1.23.2.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.22.5...v1.23.2)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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>
2022-03-03 15:11:51 +01:00
dependabot[bot] 89fdaa8cde
Bump gorm.io/driver/sqlite from 1.2.6 to 1.3.1 (#439)
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.2.6 to 1.3.1.
- [Release notes](https://github.com/go-gorm/sqlite/releases)
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.2.6...v1.3.1)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
  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>
2022-03-03 13:08:40 +01:00
ThinkChaos 27c8cbf2b7
Update to gingko v2 (#447) 2022-03-03 11:27:27 +01:00
Kwitsch cd09a7640e
Merge pull request #7 from 0xERR0R/development
[pull] development from 0xERR0R:development
2022-02-26 13:13:36 +01:00
dependabot[bot] 1253913e63 Bump github.com/swaggo/swag from 1.7.8 to 1.8.0
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.7.8 to 1.8.0.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.7.8...v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 22:19:42 +01:00
Dimitri Herzog 75bd9f3f99 added timeout parameter 2022-02-22 10:55:26 +01:00
Dimitri Herzog f9369d8fe0 Use full qualified client name as group name (#329) 2022-02-22 10:55:26 +01:00
Dimitri Herzog df9866f760
Docker image vulnerability scan with grype (#441)
* vulnerability scan (#381)
2022-02-22 10:54:36 +01:00
dependabot[bot] 6270b6b4e8
Bump github.com/miekg/dns from 1.1.45 to 1.1.46 (#429)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.45 to 1.1.46.
- [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.45...v1.1.46)

---
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>
2022-02-08 08:50:41 +01:00
Dimitri Herzog 5e0a4cffcc Release binaries for darwin (MacOS) (#390) 2022-02-01 22:07:24 +01:00