Features:
- Add rewrite support to custom DNS (#449) -> thanks @ThinkChaos
- CustomDNS: parameter "filterUnmappedTypes" to allow/disable forwarding to the upstream resolver
- filtering of queries (#450) (#474)
- Support of DoH/DoT as bootstrap DNS (#485) -> thanks @ThinkChaos
- Memory optimization internal blacklist/whitelist cache (#513) (#514)
- Cache refresh memory consumption optimization (#470) (#515)
- Enable "ForceAttemptHTTP2" for DoH upstreamClient -> thanks @PeterDaveHello
- Improve DoT server TLS cipher suites -> thanks @PeterDaveHello
- Hide DoH client http header "User-Agent" -> thanks @PeterDaveHello
- Add HTTP Secure Headers on HTTPS server response (#545) -> thanks @PeterDaveHello
- Make DoH/DoT server mininum TLS version configurable (#546) -> thanks @PeterDaveHello
- Adds user customizable DoH upstream user agent (#525) -> thanks @FileGo
- Support for multiple configuration files (#534) -> thanks @FileGo
- Self-signed certificate generation (#532) -> thanks @FileGo
Misc
- Updated dependencies and documentation
- Environment variable for configurable config file location -> thanks @ohemmali
Changelog
- e6957a3 Make DoH/DoT server mininum TLS version configurable (#546)
- a120aaf Add HTTP Secure Headers on HTTPS server response (#545)
- 3a7d52b Add default Block TTL information in the docs (#484)
- 5878314 Add default Block TTL information in the docs (#484)
- f8b6e59 Add rewrite support to custom DNS (#449)
- 776c51f Adds user customizable DoH upstream user agent (#525)
- 81dd0c9 Bump github.com/alicebob/miniredis/v2 from 2.18.0 to 2.19.0 (#458)
- 8acf474 Bump github.com/alicebob/miniredis/v2 from 2.19.0 to 2.20.0 (#468)
- 8753b91 Bump github.com/alicebob/miniredis/v2 from 2.20.0 to 2.21.0 (#507)
- b503422 Bump github.com/avast/retry-go/v4 from 4.0.3 to 4.0.4
- 2f8ad8a Bump github.com/avast/retry-go/v4 from 4.0.4 to 4.0.5 (#528)
- 568e255 Bump github.com/creasty/defaults from 1.5.2 to 1.6.0
- 3774b8c Bump github.com/go-chi/cors from 1.2.0 to 1.2.1 (#499)
- e0f2ba4 Bump github.com/go-redis/redis/v8 from 8.11.4 to 8.11.5 (#460)
- 404313c Bump github.com/miekg/dns from 1.1.46 to 1.1.47 (#453)
- b2c0535 Bump github.com/miekg/dns from 1.1.47 to 1.1.48 (#489)
- 651ab87 Bump github.com/miekg/dns from 1.1.48 to 1.1.49 (#511)
- 1197d61 Bump github.com/onsi/ginkgo/v2 from 2.1.3 to 2.1.4 (#506)
- 56712ff Bump github.com/onsi/gomega from 1.18.1 to 1.19.0 (#469)
- 688dae8 Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 (#521)
- dbd1730 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#451)
- 7289db8 Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#456)
- 0247a54 Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#555)
- 1253913 Bump github.com/swaggo/swag from 1.7.8 to 1.8.0
- c686ca0 Bump github.com/swaggo/swag from 1.8.0 to 1.8.1 (#479)
- 9734eef Bump gorm.io/driver/mysql from 1.3.2 to 1.3.3
- 620e6fe Bump gorm.io/driver/mysql from 1.3.3 to 1.3.4 (#549)
- 79f982c Bump gorm.io/driver/postgres from 1.3.1 to 1.3.3 (#487)
- 8fabd2c Bump gorm.io/driver/postgres from 1.3.3 to 1.3.4
- 8e472aa Bump gorm.io/driver/postgres from 1.3.4 to 1.3.5 (#503)
- 8d0bd8e Bump gorm.io/driver/postgres from 1.3.5 to 1.3.6 (#530)
- f151699 Bump gorm.io/driver/postgres from 1.3.6 to 1.3.7 (#548)
- 89fdaa8 Bump gorm.io/driver/sqlite from 1.2.6 to 1.3.1 (#439)
- 8397c44 Bump gorm.io/driver/sqlite from 1.3.1 to 1.3.2 (#504)
- 6d33ec7 Bump gorm.io/gorm from 1.22.5 to 1.23.2 (#448)
- 07f0d1f Bump gorm.io/gorm from 1.23.2 to 1.23.3 (#463)
- bc8a35e Bump gorm.io/gorm from 1.23.3 to 1.23.4 (#488)
- e34c6c7 Bump gorm.io/gorm from 1.23.4 to 1.23.5 (#505)
- 3392de0 Cache refresh memory consumption optimization (#470) (#515)
- 102d31e Change swagger URL to match blocky's version (#498)
- 2bb2f97 CustomDNS: parameter "filterUnmappedTypes" to allow/disable forwarding to the upstream resolver (#467)
- beb380e Defining env var for configurable config file location (#473)
- 63cfaba Enable "ForceAttemptHTTP2" for DoH upstreamClient (#519)
- 45fae43 Fix the indent of yaml code block in docs/configuration.md (#481)
- 72a982c Fix the indent of yaml code block in docs/configuration.md (#481)
- 4d1f09f Fixing unexpanded CMD variable with correct defaulting behavior. (#478)
- 4690ed8 Hide DoH client http header "User-Agent", fix #446 (#518)
- 4780b48 Improve DoT server TLS cipher suites (#520)
- 6772438 Memory optimization internal blacklist/whitelist cache (#513) (#514)
- eb305d7 Merge branch 'development'
- 97aa99d Merge branch 'development'
- b67df0b Merge pull request #486 from 0xERR0R/dependabot/go_modules/gorm.io/driver/mysql-1.3.3
- e60b213 Merge pull request #492 from 0xERR0R/dependabot/go_modules/gorm.io/driver/postgres-1.3.4
- 0029899 Merge pull request #496 from 0xERR0R/dependabot/go_modules/github.com/avast/retry-go/v4-4.0.4
- 3ae4050 Merge pull request #497 from 0xERR0R/dependabot/go_modules/github.com/creasty/defaults-1.6.0
- 8bb4f73 Removed net.Error.Temporary (#536)
- 92fd623 Self-signed certificate generation (#532)
- 0731ebe Support for multiple configuration files (#534)
- 62c7816 Support of DoH/DoT as bootstrap DNS (#485)
- bec973b Update reference configuration file in the docs (#480)
- c4ed82f Update reference configuration file in the docs (#480)
- 2944deb Update to Go 1.18 (#540)
- 27c8cbf Update to gingko v2 (#447)
- 43d3e15 Use same minTLS ver & cipher for DoH as DoT server (#524)
- 2994e2a add additional logging context (#482) (#516)
- f2d5b56 add logging on server start
- f44fc03 cache DNS queries in bootstrap DNS (#454)
- 28789ee filtering of queries (#450) (#474)
- 07b7765 generate self-signed certificate only if TLS or HTTPS listener are enabled
- 1ddf397 go mod tidy
- c96802b go mod tidy
- 2aee3ce improved LRU cache operations (avoid expensive iteration in TotalCount)
- fd8c61c improved LRU cache operations (avoid write lock on TotalCount)
- d1289e8 removed deprecated configuration parameters
- 476dd7d update go-enum to v0.4.0
- a4b8953 update golangci-lint (#510)
- 828a706 update golangci-lint-action
- 8d5c2b1 update setup-go action