Releases: 0xERR0R/blocky
v0.26.2
v0.26
Changelog
- 5bc70eb: build(deps): bump github.com/avast/retry-go/v4 from 4.6.0 to 4.6.1 (#1716) (@dependabot[bot])
- d37ecbd: build(deps): bump github.com/breml/rootcerts from 0.2.19 to 0.2.20 (#1702) (@dependabot[bot])
- 3cc1b45: build(deps): bump github.com/breml/rootcerts from 0.2.20 to 0.2.21 (#1774) (@dependabot[bot])
- 16a4bea: build(deps): bump github.com/docker/docker (#1695) (@dependabot[bot])
- 90888bf: build(deps): bump github.com/docker/docker (#1711) (@dependabot[bot])
- 66ddeef: build(deps): bump github.com/docker/docker (#1737) (@dependabot[bot])
- cc7a4a6: build(deps): bump github.com/docker/docker (#1744) (@dependabot[bot])
- dc7def7: build(deps): bump github.com/docker/docker (#1763) (@dependabot[bot])
- cc5b0ec: build(deps): bump github.com/getkin/kin-openapi from 0.127.0 to 0.131.0 (#1773) (@dependabot[bot])
- 62c08f5: build(deps): bump github.com/go-chi/chi/v5 from 5.2.0 to 5.2.1 (#1703) (@dependabot[bot])
- 8b2911e: build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#1715) (@dependabot[bot])
- 15c0d94: build(deps): bump github.com/miekg/dns from 1.1.62 to 1.1.63 (#1697) (@dependabot[bot])
- 79d88bc: build(deps): bump github.com/miekg/dns from 1.1.63 to 1.1.64 (#1736) (@dependabot[bot])
- 6183476: build(deps): bump github.com/miekg/dns from 1.1.64 to 1.1.66 (#1771) (@dependabot[bot])
- 1c9ed54: build(deps): bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.22.2 (#1677) (@dependabot[bot])
- 7fea188: build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.0 to 2.23.2 (#1739) (@dependabot[bot])
- 49d9ac7: build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.2 to 2.23.3 (#1742) (@dependabot[bot])
- b910289: build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 (#1755) (@dependabot[bot])
- e4a5bec: build(deps): bump github.com/onsi/gomega from 1.36.2 to 1.36.3 (#1743) (@dependabot[bot])
- 2ae32a0: build(deps): bump github.com/onsi/gomega from 1.36.3 to 1.37.0 (#1751) (@dependabot[bot])
- d0b29c6: build(deps): bump github.com/prometheus/client_golang (#1710) (@dependabot[bot])
- 2024167: build(deps): bump github.com/prometheus/client_golang (#1724) (@dependabot[bot])
- bef4b0d: build(deps): bump github.com/prometheus/client_golang (#1757) (@dependabot[bot])
- b3968bf: build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#1748) (@dependabot[bot])
- 15df4a9: build(deps): bump golang.org/x/net from 0.38.0 to 0.40.0 (#1769) (@dependabot[bot])
- d6672f6: build(deps): bump golang.org/x/tools from 0.24.0 to 0.29.0 (#1681) (@dependabot[bot])
- 0d3545d: build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0 (#1705) (@dependabot[bot])
- 857a76f: build(deps): bump uraimo/run-on-arch-action from 2 to 3 (#1721) (@dependabot[bot])
- 0a0761c: build(deps): update dependencies (@0xERR0R)
- bb8f535: build: replace tools.go with go.mod tool (#1733) (@0xERR0R)
- 7f39f02: chore(build): refactor Dockerfile (#1694) (@0xERR0R)
- bc2f532: deps: update testcontainers (@0xERR0R)
- 5380fb9: docs(grafana): overview supporting native histograms (#1729) (@krohrsb)
- 3a449b0: feat: add "cache-control" http header to DoH response (#1732) (@0xERR0R)
- 6674c55: feat: add cache exclude configuration (#1753) (@macsign)
- e6c535c: feat: improve Grafana dashboard (#1722) (@maxim-mityutko)
- daadf3e: feat: remove "||" and "^" from host names to allow Adblock plus flavored lists (#1740) (@0xERR0R)
- 7e5ea53: fix(docs): Update Alpine Linux package link (#1752) (@fhemberger)
- f7afe1b: fix(docs): fix stale link in example Allowlists (#1700) (#1701) (@erictelkkala)
- a398516: fix: fix queries in Grafana dashboard (#1693) (@0xERR0R)
- fb13581: fix: fix queries in Grafana dashboard (#1693) (@0xERR0R)
v0.25
Changelog
-
4eff0b3: Add support for SRV and TXT in custom DNS zones (#1588) (@Terrance)
-
3dcd310: feat: CLI command for configuration validation (#1497) (@0xERR0R)
-
51db8db: feat: ability to disable "Special Use Domain Name" blocking (#1618) (@mapl)
-
6259e13: feat: add Timescale DB with Hypertable and Retention support (#1517) (@m4rcs)
-
f1386a0: feat: added ip argument to health check (#1667) (@cosmikwolf)
-
e485df1: feat: configurable file write timeouts (#1653) (@TheoTechnicguy)
-
49581ff: feat: configurable request header read timeout (#1664) (@TheoTechnicguy)
-
0d00311: feat: configurable request read timeouts (#1663) (@TheoTechnicguy)
-
8f08b7b: fix(docs): mark config mount as read-only (@zygm0nt)
-
7b5d341: fix(server): typo causing HTTPS router to be used for HTTP server (@ThinkChaos)
-
5a5ba55: fix: configuration error if customDNS.mappings contains multiple entries with whitespace (#1496) (@0xERR0R)
-
bc5b59d: refactor(server): deduplicate HTTP server setup with new
httpServer
(@ThinkChaos) -
0f1cf4f: refactor(server): deduplicate
tls.Config
setup (@ThinkChaos) -
ae9651d: refactor(server): move middleware setup to
httpServer
(@ThinkChaos) -
78f05ae: refactor(server): setup TLS listeners manually to remove
ServeTLS
use (@ThinkChaos) -
037efeb: refactor(server): simplify HTTP router setup (@ThinkChaos)
-
a2d7daa: refactor: Use package local metrics (#1578) (@SuperQ)
-
6aae002: refactor: add
:
prefix to ports during config unmarshaling (@ThinkChaos) -
8c3d858: refactor: cleanup TLS self-signed cert generation (@ThinkChaos)
-
70afa43: refactor: make QueryLoggingResolver read the hostname on creation (@ThinkChaos)
-
b589dca: refactor: move
createSelfSignedCert
to util (@ThinkChaos) -
aff2998: build(deps): bump codecov/codecov-action from 4 to 5 (#1645) (@dependabot[bot])
-
ba774ec: build(deps): bump docker/build-push-action from 5 to 6 (#1526) (@dependabot[bot])
-
64384e4: build(deps): bump github.com/alicebob/miniredis/v2 from 2.32.1 to 2.33.0 (#1502) (@dependabot[bot])
-
9326457: build(deps): bump github.com/alicebob/miniredis/v2 from 2.33.0 to 2.34.0 (#1668) (@dependabot[bot])
-
b54675a: build(deps): bump github.com/creasty/defaults from 1.7.0 to 1.8.0 (#1573) (@dependabot[bot])
-
3a80ed4: build(deps): bump github.com/deepmap/oapi-codegen from 1.16.2 to 1.16.3 (#1512) (@dependabot[bot])
-
aef4eca: build(deps): bump github.com/docker/docker (#1488) (@dependabot[bot])
-
12d3e6a: build(deps): bump github.com/docker/docker (#1516) (@dependabot[bot])
-
cc9ce6c: build(deps): bump github.com/docker/docker (#1556) (@dependabot[bot])
-
02e3828: build(deps): bump github.com/docker/docker (#1571) (@dependabot[bot])
-
564b41e: build(deps): bump github.com/docker/docker (#1589) (@dependabot[bot])
-
e5500a0: build(deps): bump github.com/docker/docker (#1600) (@dependabot[bot])
-
832d6c4: build(deps): bump github.com/docker/docker (#1611) (@dependabot[bot])
-
a47a249: build(deps): bump github.com/docker/docker (#1659) (@dependabot[bot])
-
a2c5f25: build(deps): bump github.com/docker/docker (#1670) (@dependabot[bot])
-
17fa01d: build(deps): bump github.com/docker/docker (#1691) (@dependabot[bot])
-
d42c174: build(deps): bump github.com/go-chi/chi/v5 from 5.0.12 to 5.0.13 (#1527) (@dependabot[bot])
-
ddebd34: build(deps): bump github.com/go-chi/chi/v5 from 5.0.13 to 5.0.14 (#1529) (@dependabot[bot])
-
e511003: build(deps): bump github.com/go-chi/chi/v5 from 5.0.14 to 5.1.0 (#1532) (@dependabot[bot])
-
2108018: build(deps): bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.0 (#1665) (@dependabot[bot])
-
6ddac04: build(deps): bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 (#1687) (@dependabot[bot])
-
f655780: build(deps): bump github.com/miekg/dns from 1.1.59 to 1.1.61 (#1524) (@dependabot[bot])
-
6c499c7: build(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62 (#1572) (@dependabot[bot])
-
5aa3103: build(deps): bump github.com/onsi/ginkgo/v2 from 2.18.0 to 2.19.0 (#1498) (@dependabot[bot])
-
0beb35c: build(deps): bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 (#1561) (@dependabot[bot])
-
a7c8aed: build(deps): bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 (#1569) (@dependabot[bot])
-
0cf7cb5: build(deps): bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 (#1584) (@dependabot[bot])
-
a28a007: build(deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 (#1590) (@dependabot[bot])
-
d1d283f: build(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.1 (#1562) (@dependabot[bot])
-
3e6b61b: build(deps): bump github.com/onsi/gomega from 1.34.1 to 1.34.2 (#1591) (@dependabot[bot])
-
a377180: build(deps): bump github.com/onsi/gomega from 1.34.2 to 1.35.1 (#1635) (@dependabot[bot])
-
f38b4a1: build(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 (#1649) (@dependabot[bot])
-
2e7fda9: build(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#1660) (@dependabot[bot])
-
4805cb6: build(deps): bump github.com/prometheus/client_golang (#1480) (@dependabot[bot])
-
766dc79: build(deps): bump github.com/prometheus/client_golang (#1575) (@dependabot[bot])
-
437e0cd: build(deps): bump github.com/prometheus/client_golang (#1586) (@dependabot[bot])
-
776a8f1: build(deps): bump github.com/prometheus/client_golang (#1598) (@dependabot[bot])
-
cea540f: build(deps): bump github.com/prometheus/client_golang (#1607) (@dependabot[bot])
-
76aa6cc: build(deps): bump github.com/prometheus/client_golang (#1626) (@dependabot[bot])
-
0a35489: build(deps): bump github.com/ramr/go-reaper from 0.2.1 to 0.2.3 (#1637) (@dependabot[bot])
-
4986914: build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#1525) (@dependabot[bot])
-
128dd4f: build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#1648) (@dependabot[bot])
-
f78e213: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1582) (@dependabot[bot])
-
cf5e496: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1630) (@dependabot[bot])
-
23e4672: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1686) (@dependabot[bot])
-
5996f5a: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1583) (@dependabot[bot])
-
7e23557: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1629) (@dependabot[bot])
-
111bb02: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1690) (@dependabot[bot])
-
13c5ca9: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1580) (@dependabot[bot])
-
feaaed8: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1627) (@dependabot[bot])
-
0baf23c: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1689) (@dependabot[bot])
-
7f9399b: build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 (#1662) (@dependabot[bot])
-
1157f92: build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 (#1539) (@dependabot[bot])
-
0dff6f1: build(deps): bump golang.org/x/net from 0.28.0 to 0.30.0 (#1621) (@dependabot[bot])
-
72b397c: build(deps): bump golang.org/x/net from 0.30.0 to 0.32.0 (#1655) (@dependabot[bot])
-
11a910a: build(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 (#1669) (@dependabot[bot])
-
23fd5bb...
v0.24
Features:
- support client name lookup when querying via the API (@ThinkChaos)
- Support defining records by dns zone format (#1360) (@BenMcH)
- add
queryLog.ignore.sudn
option to ignore SUDN responses (@ThinkChaos) - add a unique ID (
req_id
) to all logs related to a request (@ThinkChaos) - do not hardcode the job name in the grafana dashboard.(#1326) (@shizunge)
- log the rule which is the cause of blocking (#1460) (@zc-devs)
- support CNAME records in customDNS mappings (#1352) (@BenMcH)
Misc:
- Updated dependencies and documentation
- update list config and code to use "allow/deny" language (@ThinkChaos)
- code refactoring and build optimization (thanks @kwitsch)
Bugfix:
- use proxy env vars via Go default HTTP Transport values (@ThinkChaos)
- don't print querylog target password when using a database (@ThinkChaos)
- use RCode=ServFail instead of HTTP 500 for internal errors (@ThinkChaos)
- Parse time from file names in the local system timezone (@BenMcH)
- add
Resolver.String
so logs don't use Go's default format (@ThinkChaos) - api regression breaking
blocky blocking disable
(#1373) (@BenMcH) - don't use upstream
ServFail
responses besides forwarding them (@ThinkChaos)
Changelog
- 3ab0456: --- (#1490) (@dependabot[bot])
- 7eef4bf: Build Cache Optimization (#1402) (@kwitsch)
- 30cda6c: Feature: binary build workflow (#1445) (@kwitsch)
- 999a168: Fix docs: upstream spelling (#1333) (@DerRockWolf)
- 2d3ad83: Refactoring/e2e tests (#1316) (@kwitsch)
- debac9e: Refactoring/linter (#1447) (@kwitsch)
- 8bb5b17: build(deps): bump codecov/codecov-action from 3 to 4 (#1363) (@dependabot[bot])
- b302582: build(deps): bump github.com/DATA-DOG/go-sqlmock from 1.5.1 to 1.5.2 (#1327) (@dependabot[bot])
- c8b1dd6: build(deps): bump github.com/alicebob/miniredis/v2 from 2.31.0 to 2.31.1 (#1324) (@dependabot[bot])
- ca74978: build(deps): bump github.com/alicebob/miniredis/v2 from 2.31.1 to 2.32.1 (#1400) (@dependabot[bot])
- cbbe8d4: build(deps): bump github.com/avast/retry-go/v4 from 4.5.1 to 4.6.0 (#1456) (@dependabot[bot])
- ac2bfd9: build(deps): bump github.com/docker/docker (#1350) (@dependabot[bot])
- 2973045: build(deps): bump github.com/docker/docker (#1362) (@dependabot[bot])
- e26ebfc: build(deps): bump github.com/docker/docker (#1372) (@dependabot[bot])
- c3c2291: build(deps): bump github.com/docker/docker (#1396) (@dependabot[bot])
- 80e7b14: build(deps): bump github.com/docker/docker (#1412) (@dependabot[bot])
- 58c5069: build(deps): bump github.com/docker/docker (#1444) (@dependabot[bot])
- 62b1354: build(deps): bump github.com/docker/docker (#1459) (@dependabot[bot])
- e12f6b5: build(deps): bump github.com/docker/go-connections from 0.4.0 to 0.5.0 (#1328) (@dependabot[bot])
- efc14d2: build(deps): bump github.com/go-chi/chi/v5 from 5.0.11 to 5.0.12 (#1381) (@dependabot[bot])
- 3817d98: build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (#1349) (@dependabot[bot])
- 5d0397d: build(deps): bump github.com/miekg/dns from 1.1.57 to 1.1.58 (#1341) (@dependabot[bot])
- 4ebe1ef: build(deps): bump github.com/miekg/dns from 1.1.58 to 1.1.59 (#1452) (@dependabot[bot])
- 1d1206f: build(deps): bump github.com/oapi-codegen/runtime from 1.1.0 to 1.1.1 (#1325) (@dependabot[bot])
- 49c808f: build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0 (#1334) (@dependabot[bot])
- 8790876: build(deps): bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0 (#1339) (@dependabot[bot])
- d32f3b8: build(deps): bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0 (#1388) (@dependabot[bot])
- 24f1187: build(deps): bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 (#1407) (@dependabot[bot])
- 28f979f: build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 (#1415) (@dependabot[bot])
- bbdb80a: build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2 (#1465) (@dependabot[bot])
- 2476d38: build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 (#1475) (@dependabot[bot])
- aaee562: build(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0 (#1340) (@dependabot[bot])
- cf5c09a: build(deps): bump github.com/onsi/gomega from 1.31.0 to 1.31.1 (#1345) (@dependabot[bot])
- 12e5ffa: build(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 (#1406) (@dependabot[bot])
- 7f20d17: build(deps): bump github.com/onsi/gomega from 1.32.0 to 1.33.0 (#1455) (@dependabot[bot])
- d51d399: build(deps): bump github.com/onsi/gomega from 1.33.0 to 1.33.1 (#1467) (@dependabot[bot])
- 5cde62f: build(deps): bump github.com/prometheus/client_golang (#1322) (@dependabot[bot])
- f93d3f8: build(deps): bump github.com/prometheus/client_golang (#1384) (@dependabot[bot])
- ddbf7a3: build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#1386) (@dependabot[bot])
- 85ae0e7: build(deps): bump github.com/testcontainers/testcontainers-go (#1377) (@dependabot[bot])
- 6bcc1d0: build(deps): bump github.com/testcontainers/testcontainers-go (#1392) (@dependabot[bot])
- 7ce7f9a: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1380) (@dependabot[bot])
- 615fd81: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1393) (@dependabot[bot])
- 5040ed8: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1438) (@dependabot[bot])
- 07b864e: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1379) (@dependabot[bot])
- fc490ec: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1394) (@dependabot[bot])
- 1d71bc5: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1439) (@dependabot[bot])
- ed20720: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1378) (@dependabot[bot])
- 160e159: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1395) (@dependabot[bot])
- 166ecbe: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1437) (@dependabot[bot])
- 75a7914: build(deps): bump golang.org/x/net from 0.19.0 to 0.20.0 (#1330) (@dependabot[bot])
- db016bb: build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 (#1374) (@dependabot[bot])
- 82578d2: build(deps): bump golang.org/x/net from 0.21.0 to 0.22.0 (#1389) (@dependabot[bot])
- 3482e93: build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 (#1472) (@dependabot[bot])
- e686a1d: build(deps): bump golang.org/x/tools from 0.16.1 to 0.17.0 (#1335) (@dependabot[bot])
- e98e343: build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 (#1375) (@dependabot[bot])
- 4d8595f: build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 (#1387) (@dependabot[bot])
- f61c93b: build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 (#1431) (@dependabot[bot])
- 63468a7: build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 (#1473) (@dependabot[bot])
- 09ce2a1: build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#1399) (@dependabot[bot])
- b7abcc3: build(deps): bump gorm.io/driver/mysql from 1.5.2 to 1.5.4 (#1371) (@dependabot[bot])
- f00dbb4: build(deps): bump gorm.io/driver/mysql from 1.5.4 to 1.5.5 (#1404) (@dependabot[bot])
- 2d49a9f: build(deps): bump gorm.io/driver/mysql from 1.5.5 to 1.5.6 (#1413) (@dependabot[bot])
- 29cd780: build(deps): bump gorm.io/driver/postgres from 1.5.4 to 1.5.6 (#1370) (@dependabot[bot])
- e5cb34e: build(deps): bump gorm.io/driver/postgres from 1.5.6 to 1.5.7 (#1397) (@dependabot[bot])
- 10e293f: build(deps): bump gorm.io/driver/sqlite from 1.5.4 to 1.5.5 (#1367) (@dependabot[bot])
- 3eaee7a: build(deps): bump gorm.io/gorm from 1.25.5 to 1.25.6 (#1358) (@dependabot[bot])
- 7de0dfe...
v0.23
Features:
- add support for wildcard lists using a custom Trie (#1233) (Thanks @ThinkChaos)
- querylog: add flushInterval parameter
- race UDP and TCP when connecting upstream (Thanks @ThinkChaos)
- API-first approach for REST interface (#1129)
- add API endpoint to flush the DNS Cache (#1178)
- add
upstreams.init.strategy
(Thanks @ThinkChaos) - add timeout to bootstrap (#1158)
- add upstream strategy
random
(#1221) (Thanks @DerRockWolf) - reduce DNS response cache memory consumption (#1196)
- EDNS: Client Subnet (#1007) (Thanks @kwitsch)
Misc
- Updated dependencies and documentation
Bugfix
- make
FatalOnError
overridelog.Silence
(Thanks @ThinkChaos) - ANSI color codes being printed on Windows (#1225) (Thanks @kwitsch)
- conditional resolver panics on response without question (#1148)
- don't cache DNS responses with CD flag
- don't cache EDNS pseudo records (#1150)
- don't convert regex from punycode to ASCII (#1126) (#1131)
- log.privacy option no longer hides domain names being resolved (#1255)
- return error code on server starup failure (#1165)
- truncated responses should not be cached (#1149)
- use different TTL of multiple records in answer
- rewrite: support the case where upstream doesn't echo the question (Thanks @ThinkChaos)
Changelog
- 9a77dcd: BlockingConfig -> Blocking (@kwitsch)
- 1154335: Bugfix in ECS forward (#1290) (@kwitsch)
- fb8c419: Bugfix/GitHub workflows (#1234) (@kwitsch)
- dc66eff: Bugfix/readme (#1232) (@kwitsch)
- e30e852: ClientLookupConfig -> ClientLookup (@kwitsch)
- 00d4341: ConditionalUpstreamConfig -> ConditionalUpstream (@kwitsch)
- 26d5f62: CustomDNSConfig -> CustomDNS (@kwitsch)
- 6fca40c: Dockerfile streamline (#1185) (@kwitsch)
- d37d183: EDNS: Client Subnet (#1007) (@kwitsch)
- acfc291: Feature/devcontainer (#1179) (@kwitsch)
- 7615584: Feature/ginkgolinter (#1235) (@kwitsch)
- 1a200c7: Fix/opencontainer labels (#1192) (@kwitsch)
- fda2dbe: Refactoring Redis (#1271) (@kwitsch)
- 976d619: Refactoring server.go (#1277) (@kwitsch)
- 03131c4: Refactoring/config struct names (#1315) (@kwitsch)
- 3378316: Refactoring: FileDownloader (#1281) (@kwitsch)
- 6c00009: Unit test refactoring & devcontainer enhancement(#1245) (@kwitsch)
- 72352a9: UpstreamsConfig -> Upstreams (@kwitsch)
- d8d7fa5: build(deps): bump actions/checkout from 3 to 4 (#1127) (@dependabot[bot])
- c703f8f: build(deps): bump actions/download-artifact from 3 to 4 (#1305) (@dependabot[bot])
- 3e8b7af: build(deps): bump actions/setup-go from 4 to 5 (#1294) (@dependabot[bot])
- 79d3afa: build(deps): bump actions/setup-python from 4 to 5 (#1295) (@dependabot[bot])
- 5490fc6: build(deps): bump actions/stale from 8 to 9 (#1296) (@dependabot[bot])
- 343d38c: build(deps): bump actions/upload-artifact from 3 to 4 (#1306) (@dependabot[bot])
- c72a0e1: build(deps): bump codecov/codecov-action from 3 to 4 (#1147) (@dependabot[bot])
- e31d20c: build(deps): bump crazy-max/ghaction-docker-meta from 4 to 5 (#1142) (@dependabot[bot])
- cb5f72f: build(deps): bump docker/build-push-action from 4 to 5 (#1140) (@dependabot[bot])
- c212ab3: build(deps): bump docker/login-action from 2 to 3 (#1139) (@dependabot[bot])
- e187aaa: build(deps): bump docker/setup-buildx-action from 2 to 3 (#1143) (@dependabot[bot])
- 4006b16: build(deps): bump docker/setup-qemu-action from 2 to 3 (#1141) (@dependabot[bot])
- 825f1dd: build(deps): bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.1 (#1297) (@dependabot[bot])
- 4c65865: build(deps): bump github.com/abice/go-enum from 0.5.10 to 0.6.0 (#1309) (@dependabot[bot])
- 710efa3: build(deps): bump github.com/abice/go-enum from 0.5.7 to 0.5.8 (@dependabot[bot])
- 7f7161f: build(deps): bump github.com/abice/go-enum from 0.5.8 to 0.5.10 (@dependabot[bot])
- 9f49291: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.5 to 2.31.0 (#1201) (@dependabot[bot])
- 5fefca5: build(deps): bump github.com/avast/retry-go/v4 from 4.5.0 to 4.5.1 (#1249) (@dependabot[bot])
- 4e90109: build(deps): bump github.com/containerd/containerd from 1.7.7 to 1.7.11 (#1310) (@dependabot[bot])
- e4e46d7: build(deps): bump github.com/deepmap/oapi-codegen from 1.14.0 to 1.15.0 (@dependabot[bot])
- 18be1e9: build(deps): bump github.com/deepmap/oapi-codegen from 1.15.0 to 1.16.2 (#1209) (@dependabot[bot])
- 68eeebe: build(deps): bump github.com/docker/docker (#1216) (@dependabot[bot])
- f9fa81d: build(deps): bump github.com/docker/docker (@dependabot[bot])
- c6304e9: build(deps): bump github.com/go-chi/chi/v5 from 5.0.10 to 5.0.11 (#1314) (@dependabot[bot])
- fd8ee7c: build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 (#1218) (@dependabot[bot])
- abe9e5c: build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 (#1300) (@dependabot[bot])
- 9f532ce: build(deps): bump github.com/miekg/dns from 1.1.55 to 1.1.56 (@dependabot[bot])
- f1a6fb0: build(deps): bump github.com/miekg/dns from 1.1.56 to 1.1.57 (#1253) (@dependabot[bot])
- 7edb856: build(deps): bump github.com/oapi-codegen/runtime from 1.0.0 to 1.1.0 (#1250) (@dependabot[bot])
- f512e11: build(deps): bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 (@dependabot[bot])
- 02569b0: build(deps): bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#1195) (@dependabot[bot])
- 6448be6: build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 (#1237) (@dependabot[bot])
- 77ef228: build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#1280) (@dependabot[bot])
- d76740e: build(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 (@dependabot[bot])
- 589e998: build(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 (#1207) (@dependabot[bot])
- 5ba1cc2: build(deps): bump github.com/onsi/gomega from 1.28.1 to 1.29.0 (#1213) (@dependabot[bot])
- ad27adc: build(deps): bump github.com/onsi/gomega from 1.29.0 to 1.30.0 (#1228) (@dependabot[bot])
- d923c8c: build(deps): bump github.com/prometheus/client_golang (@dependabot[bot])
- 23ce44d: build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1223) (@dependabot[bot])
- 51bb54b: build(deps): bump github.com/swaggo/swag from 1.16.1 to 1.16.2 (#1123) (@dependabot[bot])
- 3dc0ca1: build(deps): bump github.com/testcontainers/testcontainers-go (@dependabot[bot])
- e63ad38: build(deps): bump github.com/testcontainers/testcontainers-go (@dependabot[bot])
- 7f38a3b: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1181) (@dependabot[bot])
- 4c62b2d: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (#1219) (@dependabot[bot])
- 1292a20: build(deps): bump github.com/testcontainers/testcontainers-go/modules/mariadb (@dependabot[bot])
- ed3a3de: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1182) (@dependabot[bot])
- 1aec7d6: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (#1214) (@dependabot[bot])
- b87c545: build(deps): bump github.com/testcontainers/testcontainers-go/modules/postgres (@dependabot[bot])
- 10b678b: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1183) (@dependabot[bot])
- b277506: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (#1215) (@dependabot[bot])
- 69f6ae4: build(deps): bump github.com/testcontainers/testcontainers-go/modules/redis (@dependabot[bot])
- c814667: build(deps): bump github/codeql-action from 2 to 3 (#1303) (@dependabot[bot])
- 4217e93: build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#1308) (@dependabot[bot])
- ccabb5a...
v0.22
Features:
- expand supported special use domains RFCs (thanks @ThinkChaos)
- add upstream strategy
strict
(#1093) (thanks @DerRockWolf) - support multiple hosts files (thanks @ThinkChaos)
- support IDNA in lists (@ThinkChaos)
Misc
- fixed several errors in the documentation
- Updated dependencies and documentation
- allow more configuration for
upstreams
(thanks @ThinkChaos) - Ci workflow improvements (thanks @kwitsch )
Bugfix
- use correct resolver in "using response from resolver" debug log (#1082) (@DerRockWolf)
- make domain validation in list parser more lenient (thanks @ThinkChaos)
Changelog
- 8d48a21: Add homebrew link to the installation docs (#995) (@log-to-code)
- 015b565: Add maxErrorsPerFile blocking configuration (#986) (@mandrav)
- 2496c36: GitHub Actions Update (#951) (@kwitsch)
- 1d25cca: Goreleaser fix (#1003) (@kwitsch)
- f204809: Update deprecated port specification in example config (#1042) (@73567876543783)
- 6028a64: Update prometheus_grafana.md with correct grafana config (@aman207)
- 30ead04: build(deps): bump github.com/abice/go-enum from 0.5.5 to 0.5.6 (#955) (@dependabot[bot])
- 417a353: build(deps): bump github.com/abice/go-enum from 0.5.6 to 0.5.7 (@dependabot[bot])
- ed00064: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.1 to 2.30.2 (@dependabot[bot])
- 2ccc414: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.2 to 2.30.3 (@dependabot[bot])
- 7dacf6f: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.3 to 2.30.4 (@dependabot[bot])
- 5e49e7a: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.4 to 2.30.5 (#1104) (@dependabot[bot])
- e4f467c: build(deps): bump github.com/avast/retry-go/v4 from 4.3.3 to 4.3.4 (@dependabot[bot])
- 8957e40: build(deps): bump github.com/avast/retry-go/v4 from 4.3.4 to 4.5.0 (@dependabot[bot])
- 2a55526: build(deps): bump github.com/docker/distribution (@dependabot[bot])
- 5fc02bb: build(deps): bump github.com/docker/docker (@dependabot[bot])
- eb5f666: build(deps): bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10 (@dependabot[bot])
- 420b4fd: build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1112) (@dependabot[bot])
- ed89f62: build(deps): bump github.com/hashicorp/golang-lru from 0.5.4 to 1.0.2 (@dependabot[bot])
- b856837: build(deps): bump github.com/miekg/dns from 1.1.52 to 1.1.53 (#965) (@dependabot[bot])
- b198560: build(deps): bump github.com/miekg/dns from 1.1.53 to 1.1.54 (@dependabot[bot])
- fa73edd: build(deps): bump github.com/miekg/dns from 1.1.54 to 1.1.55 (@dependabot[bot])
- 2dfef13: build(deps): bump github.com/mroth/weightedrand/v2 from 2.0.1 to 2.0.2 (@dependabot[bot])
- 39208d8: build(deps): bump github.com/mroth/weightedrand/v2 from 2.0.2 to 2.1.0 (@dependabot[bot])
- 405f3f7: build(deps): bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 (#1115) (@dependabot[bot])
- 0bc3914: build(deps): bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.5 (@dependabot[bot])
- 954ad56: build(deps): bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.11.0 (@dependabot[bot])
- 4d01349: build(deps): bump github.com/onsi/gomega from 1.27.5 to 1.27.6 (#968) (@dependabot[bot])
- 879a79c: build(deps): bump github.com/onsi/gomega from 1.27.6 to 1.27.7 (@dependabot[bot])
- 173d31b: build(deps): bump github.com/onsi/gomega from 1.27.7 to 1.27.8 (@dependabot[bot])
- d3fc1bc: build(deps): bump github.com/onsi/gomega from 1.27.8 to 1.27.10 (@dependabot[bot])
- 2b1786a: build(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 (#967) (@dependabot[bot])
- 1b478d0: build(deps): bump github.com/prometheus/client_golang (@dependabot[bot])
- 6be1c65: build(deps): bump github.com/prometheus/client_golang (@dependabot[bot])
- 2205aa7: build(deps): bump github.com/prometheus/client_golang (@dependabot[bot])
- 1a9f629: build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 (@dependabot[bot])
- 1766be0: build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (@dependabot[bot])
- 7b13810: build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (@dependabot[bot])
- c7a540b: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (@dependabot[bot])
- a039c41: build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (@dependabot[bot])
- 2a22696: build(deps): bump github.com/swaggo/swag from 1.8.11 to 1.8.12 (#964) (@dependabot[bot])
- 2866932: build(deps): bump github.com/swaggo/swag from 1.8.12 to 1.16.1 (@dependabot[bot])
- 79300a4: build(deps): bump github.com/testcontainers/testcontainers-go (#1108) (@dependabot[bot])
- c33ed14: build(deps): bump github.com/testcontainers/testcontainers-go (@dependabot[bot])
- baf3cdb: build(deps): bump github.com/testcontainers/testcontainers-go (@dependabot[bot])
- d7d354b: build(deps): bump github.com/testcontainers/testcontainers-go (@dependabot[bot])
- 702442d: build(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 (@dependabot[bot])
- 2523165: build(deps): bump golang.org/x/net from 0.12.0 to 0.14.0 (@dependabot[bot])
- c88270b: build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 (#982) (@dependabot[bot])
- 53d6d46: build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 (@dependabot[bot])
- 64eee04: build(deps): bump golang.org/x/tools from 0.10.0 to 0.11.0 (@dependabot[bot])
- 3a13103: build(deps): bump golang.org/x/tools from 0.11.0 to 0.11.1 (@dependabot[bot])
- 34dd6eb: build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 (#1098) (@dependabot[bot])
- 3970c43: build(deps): bump golang.org/x/tools from 0.8.0 to 0.9.1 (@dependabot[bot])
- 7c07de7: build(deps): bump golang.org/x/tools from 0.9.1 to 0.10.0 (@dependabot[bot])
- a077b1a: build(deps): bump google.golang.org/grpc from 1.47.0 to 1.53.0 (@dependabot[bot])
- c7d6cca: build(deps): bump gorm.io/driver/mysql from 1.4.7 to 1.5.0 (@dependabot[bot])
- 0431a64: build(deps): bump gorm.io/driver/postgres from 1.5.0 to 1.5.2 (@dependabot[bot])
- d0c6a1d: build(deps): bump gorm.io/driver/sqlite from 1.4.4 to 1.5.0 (@dependabot[bot])
- 45850f4: build(deps): bump gorm.io/driver/sqlite from 1.5.0 to 1.5.1 (@dependabot[bot])
- d400567: build(deps): bump gorm.io/driver/sqlite from 1.5.1 to 1.5.3 (#1110) (@dependabot[bot])
- c786d41: build(deps): bump gorm.io/gorm (@dependabot[bot])
- b533b56: build(deps): bump gorm.io/gorm from 1.25.0 to 1.25.2 (@dependabot[bot])
- 32ceb68: build(deps): bump gorm.io/gorm from 1.25.2 to 1.25.4 (#1111) (@dependabot[bot])
- 74516ca: build(deps): bump mvdan.cc/gofumpt from 0.4.0 to 0.5.0 (#984) (@dependabot[bot])
- 68a8476: chore(build): Automation workflows (#972) (@kwitsch)
- 74fcd50: chore(build): add format with gofumpt to build (#974) (@0xERR0R)
- 8757dea: chore(docs): add release alias for docs deployment (@0xERR0R)
- 8614fde: chore(test): add HTTP listener readiness check (@0xERR0R)
- eda3b50: chore(test): set default timeout for eventually (@0xERR0R)
- 1f2f875: ci(docs): show pages URL in step summary (@ThinkChaos)
- 2bd5948: ci: deploy docs on forks if they have pages enabled (@ThinkChaos)
- 56633da: feat(sudn): refactor and expand supported special use domains RFCs (@ThinkChaos)
- c112e86: feat: add upstream strategy
strict
(#1093) (@DerRockWolf) - cfc3699: feat: support multiple hosts files (@ThinkChaos)
- 795f3dd: fix: configuration for FQDN only resolver (#1025) (@ThinkChaos)
- f22e310: fix: duration checks to ta...
v0.21
Features:
- support for redis sentinel(#632) -> thanks @kwitsch
- querylog: log instance hostname to distinguish log entries in multi-instance installation(#319) -> thanks @kwitsch
- querylog: define which information should be logged (#765)
- querylog: reduce bulk size in database writer (#733)
- bootstrap: support multiple upstreams (#760) -> thanks @ThinkChaos
- bootstrap: support IP only encrypted DNS -> thanks @ThinkChaos
- bootstrap: always prefetch upstream IPs to avoid stalling user queries -> thanks @ThinkChaos
- hostfile: allow hosts file resolver to use a HTTP(S) link or inline block (#884) -> thanks @ThinkChaos
- client name in clientGroupsBlock should not be case-sensitive (#894)
Misc
- Restructuring of configuration (#771) -> thanks @kwitsch
- reduce retry delay of the upstream resolver -> thanks @ThinkChaos
- Updated dependencies and documentation
- ignore end of line comments when parsing lists (#859) -> thanks @ThinkChaos
- code mirror on codeberg.org
- e2e integration tests
Bugfix
- ede: fix runtime panic (#778) -> thanks @ThinkChaos
- 'startVerifyUpstream' not disabling all start checks -> thanks @ThinkChaos
- crash when using client upstream (#791)
- no initial cache refresh with "fast" start strategy (#804)
- bootstrap: connectIPVersion not being respected for upstream connections
- query command doesn't show the client IP (#861)
- wrong prefetch metrics if bootstrap is enabled (#891)
Changelog
- fac872b: @0xERR0R chore(docs): minor changes (@0xERR0R)
- 9abeaed: Added gofumpt (#805) (@kwitsch)
- 9be0d64: CONFIG_FILE -> BLOCKY_CONFIG_FILE (#784) (@suhaibmalik)
- b73cd3b: Config restructuring (#771) (@kwitsch)
- 641cf3d: Fb badge fix (#874) (@kwitsch)
- a04a418: Fix docs for connectIPVersion param (@tmuellerleile)
- 12ebe2a: Merge branch 'development' (@0xERR0R)
- 53a7d4f: Test refactoring (#798) (@0xERR0R)
- 101e2c5: Workflow changes (#857) (@kwitsch)
- ebad2d1: build(deps): bump actions/setup-go from 3 to 4 (#936) (@dependabot[bot])
- 30086dc: build(deps): bump actions/stale from 6 to 7 (#809) (@dependabot[bot])
- 7af43da: build(deps): bump actions/stale from 7 to 8 (#949) (@dependabot[bot])
- 6e69d46: build(deps): bump docker/build-push-action from 3 to 4 (#856) (@dependabot[bot])
- 7874fbe: build(deps): bump github.com/abice/go-enum from 0.5.3 to 0.5.4 (#810) (@dependabot[bot])
- de013ad: build(deps): bump github.com/abice/go-enum from 0.5.4 to 0.5.5 (#852) (@dependabot[bot])
- 08691c6: build(deps): bump github.com/alicebob/miniredis/v2 from 2.23.1 to 2.30.0 (#825) (@dependabot[bot])
- fe58a34: build(deps): bump github.com/alicebob/miniredis/v2 from 2.30.0 to 2.30.1 (#918) (@dependabot[bot])
- 0d63ca3: build(deps): bump github.com/avast/retry-go/v4 from 4.3.0 to 4.3.1 (@dependabot[bot])
- 8fccd68: build(deps): bump github.com/avast/retry-go/v4 from 4.3.1 to 4.3.2 (#815) (@dependabot[bot])
- de37e19: build(deps): bump github.com/avast/retry-go/v4 from 4.3.2 to 4.3.3 (#870) (@dependabot[bot])
- e9626f9: build(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.18 (#881) (@dependabot[bot])
- 1dead3a: build(deps): bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 (#789) (@dependabot[bot])
- 7dff06c: build(deps): bump github.com/miekg/dns from 1.1.50 to 1.1.51 (#900) (@dependabot[bot])
- 50b0c39: build(deps): bump github.com/miekg/dns from 1.1.51 to 1.1.52 (#923) (@dependabot[bot])
- 5bd5c06: build(deps): bump github.com/mroth/weightedrand from 0.4.1 to 1.0.0 (@dependabot[bot])
- 9d890bb: build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (@dependabot[bot])
- a44e496: build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 (#796) (@dependabot[bot])
- 4cc27f3: build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 (#802) (@dependabot[bot])
- de58a72: build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.1 to 2.7.0 (#826) (@dependabot[bot])
- 4ece578: build(deps): bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.0 (#855) (@dependabot[bot])
- c95a9c9: build(deps): bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1 (#878) (@dependabot[bot])
- d64b399: build(deps): bump github.com/onsi/ginkgo/v2 from 2.8.1 to 2.8.3 (#889) (@dependabot[bot])
- 4ff9591: build(deps): bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 (#903) (@dependabot[bot])
- 9f58c4b: build(deps): bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 (#911) (@dependabot[bot])
- e814eb5: build(deps): bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 (#925) (@dependabot[bot])
- ef0bb78: build(deps): bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2 (#947) (@dependabot[bot])
- c7f12cf: build(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2 (#801) (@dependabot[bot])
- fb00905: build(deps): bump github.com/onsi/gomega from 1.24.2 to 1.25.0 (#831) (@dependabot[bot])
- 638533d: build(deps): bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#843) (@dependabot[bot])
- 4ab198b: build(deps): bump github.com/onsi/gomega from 1.26.0 to 1.27.0 (#883) (@dependabot[bot])
- 0029872: build(deps): bump github.com/onsi/gomega from 1.27.0 to 1.27.1 (#887) (@dependabot[bot])
- 6f79af7: build(deps): bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (#904) (@dependabot[bot])
- ee80208: build(deps): bump github.com/onsi/gomega from 1.27.2 to 1.27.3 (#926) (@dependabot[bot])
- 2e0b6e4: build(deps): bump github.com/onsi/gomega from 1.27.3 to 1.27.4 (#927) (@dependabot[bot])
- c74a277: build(deps): bump github.com/onsi/gomega from 1.27.4 to 1.27.5 (#948) (@dependabot[bot])
- 3315873: build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#899) (@dependabot[bot])
- f761ad1: build(deps): bump github.com/swaggo/swag from 1.8.10 to 1.8.11 (#946) (@dependabot[bot])
- 9ae009c: build(deps): bump github.com/swaggo/swag from 1.8.7 to 1.8.8 (@dependabot[bot])
- e754372: build(deps): bump github.com/swaggo/swag from 1.8.8 to 1.8.9 (#803) (@dependabot[bot])
- 23deb3c: build(deps): bump github.com/swaggo/swag from 1.8.9 to 1.8.10 (#848) (@dependabot[bot])
- d4af829: build(deps): bump github.com/testcontainers/testcontainers-go (#882) (@dependabot[bot])
- bacb443: build(deps): bump github.com/testcontainers/testcontainers-go (#917) (@dependabot[bot])
- e08e609: build(deps): bump golang.org/x/net from 0.2.0 to 0.4.0 (#790) (@dependabot[bot])
- a02c10d: build(deps): bump golang.org/x/net from 0.4.0 to 0.5.0 (#818) (@dependabot[bot])
- 7f5f98d: build(deps): bump golang.org/x/net from 0.5.0 to 0.6.0 (#871) (@dependabot[bot])
- 162741b: build(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 (#880) (@dependabot[bot])
- 238c48b: build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 (#912) (@dependabot[bot])
- 8b137bb: build(deps): bump goreleaser/goreleaser-action from 3 to 4 (#800) (@dependabot[bot])
- c8058e3: build(deps): bump gorm.io/driver/mysql from 1.4.3 to 1.4.4 (@dependabot[bot])
- a6a7e46: build(deps): bump gorm.io/driver/mysql from 1.4.4 to 1.4.5 (#814) (@dependabot[bot])
- 30afdef: build(deps): bump gorm.io/driver/mysql from 1.4.5 to 1.4.6 (#868) (@dependabot[bot])
- a561191: build(deps): bump gorm.io/driver/mysql from 1.4.6 to 1.4.7 (#888) (@dependabot[bot])
- 170e9a3: build(deps): bump gorm.io/driver/postgres from 1.4.5 to 1.4.6 (#812) (@dependabot[bot])
- 583aa9e: build(deps): bump gorm.io/driver/postgres from 1.4.6 to 1.4.7 (#869) (@dependabot[bot])
- f172874: build(deps): bump gorm.io/driver/postgres from 1.4.7 to 1.4.8 (#890) (@dependabot[bot])
- e002f04: build(deps): bump gorm.io/driver/postgres from 1.4.8 to 1.5.0 (#924) (@dependabot[bot])
- 07544f9: build(deps): bump gorm.io/driver/sqlite from 1.4.3 to 1.4.4 (#813) (@dependabot[bot])
- 1f2e1a0: build(deps): bump gorm.io/gorm from 1....
v0.20
Features:
- ability to specify certificate common name for the upstream DNS server. -> thanks @amigan
- Add connectIPVersion to choose how Blocky connects to other hosts -> thanks @ThinkChaos
- Add fallbackUpstream for conditional mapping -> thanks @adyanth
- Add primary key to the query log table
- Added simplified check for loopback -> thanks @FileGo
- Enable start as long as at least one upstream resolver in group is reachable -> thanks @FileGo
- Option to handle FQDN only requests -> thanks @kwitsch
- add grafana template for Postgres -> thanks @liboz
- caching for empty DNS responses
- Blocky should start resolving DNS traffic as soon as possible -> thanks @kwitsch
- delivery of blocking group as EDNS error -> thanks @kwitsch
- Special-Use Domain Names -> thanks @kwitsch
Misc
- Change self-signed cert to ECDSA -> thanks @FileGo
- Disable colors when not in interactive terminal -> thanks @desolatorxxl
- Docker container rework -> thanks @kwitsch
- Filter loopback addresses from hosts file -> thanks @FileGo
- Updated dependencies and documentation
Bugfix
- Ignore non YAML files when loading from a directory -> thanks @ThinkChaos
- format ipv6 URL for DoH bootstrap request according to RFC3513
- set content-type header for HTTP endpoints
- set host header for DoH requests
v0.19
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
v0.18
Features:
- QueryLog: Configurable retry to establish the database connection
- Configuration of TTL for custom DNS mapping -> thanks @ThinkChaos
- Configuration of multiple listen addresses/ports -> thanks @ThinkChaos
- Synchronization of DNS cache between multiple instances with redis (#344) -> thanks @kwitsch
- Synchronization of blocking state between multiple instances with redis (#377) -> thanks @kwitsch
- Use hosts file as input for custom DNS mapping (#362)-> thanks @FileGo
- Additional Prometheus metric "failed_download_count" (#309) -> thanks @FileGo
- Support of PostgreSQL for query log (#348)
- Conditional forwarding of all queries for unqualified hostnames (#363) -> thanks @kwitsch
- Use full qualified client name as group name (#329)
Bugfixes
- Binary shows "undefined" as version
Misc
- Updated dependencies and documentation
- Updated Grafana dashboard -> thanks @coolguy1771
- Docker container runs under unprivileged user instead of root
- Release binaries for MacOs (darwin)
Changelog
- 69dc383 Allow configuring multiple listen addresses for each port (#372)
- 926f06c Add failed_download_count prometheus metric (#309) (#395)
- cbcd09c Allow configuring custom DNS TTL (#370)
- 35d257b Bump github.com/alicebob/miniredis/v2 from 2.17.0 to 2.18.0 (#415)
- a02f7f2 Bump github.com/avast/retry-go/v4 from 4.0.2 to 4.0.3 (#427)
- 44e3ada Bump github.com/miekg/dns from 1.1.43 to 1.1.44 (#376)
- 2afdafb Bump github.com/miekg/dns from 1.1.44 to 1.1.45 (#383)
- 6270b6b Bump github.com/miekg/dns from 1.1.45 to 1.1.46 (#429)
- 64c1985 Bump github.com/onsi/gomega from 1.17.0 to 1.18.0 (#421)
- dc65e3a Bump github.com/onsi/gomega from 1.18.0 to 1.18.1 (#423)
- 108eeb5 Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0 (#414)
- 2faa4a9 Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1 (#425)
- cc968ce Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#371)
- 0973bb9 Bump gorm.io/driver/mysql from 1.1.3 to 1.2.0 (#346)
- 3fa79b4 Bump gorm.io/driver/mysql from 1.2.0 to 1.2.1 (#354)
- f0b1bd0 Bump gorm.io/driver/mysql from 1.2.1 to 1.2.2 (#384)
- 02e1aa5 Bump gorm.io/driver/mysql from 1.2.2 to 1.2.3 (#400)
- 7dc2bfe Bump gorm.io/driver/sqlite from 1.2.3 to 1.2.4 (#341)
- d0a4049 Bump gorm.io/driver/sqlite from 1.2.4 to 1.2.6 (#350)
- 9c0f5bb Bump gorm.io/gorm from 1.22.3 to 1.22.4 (#353)
- ed72bc4 Bump gorm.io/gorm from 1.22.4 to 1.22.5 (#405)
- 04b21e4 Do not run docker build on fork (#402)
- df9866f Docker image vulnerability scan with grype (#441)
- b43c7aa Enable resolving hosts file (#362)
- d3611fb FR: DNS cache sync between multiple blocky instances (#344) (#365)
- c88ca4a Improve error message for wrong upstream definition #356
- 25ad3a9 Make go:build compatible with go 1.16 (#361)
- 9259c5c Moved index.go to go:embed (#392)
- a3edada Perform codeql scan on each commit
- 6c38c93 Redis client (#416)
- 5e0a4cf Release binaries for darwin (MacOS) (#390)
- d7bf373 Replace all sleeps in tests with "eventually" from gomega (#379)
- 4b85eed Replace retry implementation with retry-go
- 9b47524 Retry to establish db connection for query log (#351)
- f6f9bde Revert "Perform codeql scan on each commit"
- 759f55d Rewrite DNS response cache (#378) (#413)
- c176b02 Support Postgresql database for query log (#348)
- ee451f8 Sync blocking enable/disable over redis (#377) (#403)
- d414c26 Update dependencies
- 9c5ba48 Update to alpine 3.15 as runtime image
- f9369d8 Use full qualified client name as group name (#329)
- 1fd7ddd Use non-root user in docker container (#382)
- 8921a16 [Feature] Conditional forwarding of all queries for unqualified hostnames (#363) (#409)
- 9fcb11e added "dist" to dockerignore
- 2751247 added description for Conditional forwarding, reformatted
- 75bd9f3 added timeout parameter
- d0e68d7 added variables (export for sharing externally)
- ccc6f88 externalize retry parameters for query log
- d6bb02f fix lint issues
- 96384f7 fix: binary shows "undefined" as version #373
- 5e0020f fix: update dashboard for new grafana versions
- 079bde5 fix: update dashboard for new grafana versions
- f12a2ed go mod tidy
- 9855d4f go mod tidy
- 2b6c934 increased timeouts in test
- 42a09f0 removed dead links (#424)
- d6010dd removed variable value
- b59ce46 replace blocking upstream resolvers in the documentation (#426)
- 61ca25c sanitize log output
- 68cc391 typo
- 779681b update gorm dependency
- 7ea5ba4 updated github.com/go-chi/chi
- cdec995 updated retry-go