Dimitri Herzog
3e95b12eed
feat: caching for empty DNS responses ( #700 )
2022-11-08 21:45:28 +01:00
Dimitri Herzog
fd8c61c57c
improved LRU cache operations (avoid write lock on TotalCount)
2022-06-02 22:58:52 +02:00
Dimitri Herzog
a4b89537db
update golangci-lint ( #510 )
...
* update golangci-lint
* enable gomnd linter
* enable asciicheck linter
* enable bidichk linter
* enable durationcheck linter
* enable errchkjson linter
* enable errorlint linter
* enable exhaustive linter
* enable gomoddirectives linter
* enable gomodguard guard
* enable grouper linter
* enable grouper and ifshort linters
* enable importas linter
* enable makezero linter
* enable nestif linter
* enable nilerr linter
* enable nilnil linter
* enable nlreturn linter
* enable nolintlint linter
* enable predeclared linter
* enable sqlclosecheck linter
* enable tenv linter
* enable wastedassign linter
2022-05-10 09:09:50 +02:00
ThinkChaos
62c7816ab3
Support of DoH/DoT as bootstrap DNS ( #485 )
2022-04-22 22:12:35 +02:00
Dimitri Herzog
759f55d89c
Rewrite DNS response cache ( #378 ) ( #413 )
2022-01-20 16:45:29 +01:00
Kwitsch
ee451f8b36
Sync blocking enable/disable over redis ( #377 ) ( #403 )
...
Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2022-01-19 22:03:41 +01:00
Kwitsch
d3611fb444
FR: DNS cache sync between multiple blocky instances ( #344 ) ( #365 )
2021-12-21 17:06:16 +01:00
Dimitri Herzog
9b9596970c
Improved configuration output (duration format, etc.)
2021-11-07 21:35:16 +01:00
Kwitsch
3adad4a9f9
Configurable caching for negative results (NXDOMAIN) ( #287 ) ( #330 )
...
Changes:
- added cache.cacheTimeNegative (time.Duration)
- if not configured the default cache time stays at 30 min
- if set to a value below zero caching of negative responses is disabled
2021-11-06 22:14:02 +01:00
Dimitri Herzog
f823db19c7
Refactoring default parameters in configuration
2021-11-05 23:00:54 +01:00
Dimitri Herzog
c2fb389cf7
Improve caching of prefetched domains ( #290 )
2021-09-27 22:52:37 +02:00
Dimitri Herzog
91b975b0dc
Change configuration format for duration ( #263 )
2021-09-12 21:29:03 +02:00
Dimitri Herzog
ee8f041938
refactoring: generate enums
2021-09-11 21:31:03 +02:00
Dimitri Herzog
63735546bb
moving model types to the separate package
2021-09-08 21:38:34 +02:00
Dimitri Herzog
919512959b
use full-qualified name as module
2021-08-27 13:41:36 +02:00
Dimitri Herzog
6a3baa5b95
obfuscate log output for user sensitive data to increase privacy ( #225 )
2021-08-23 22:34:48 +02:00
Dimitri Herzog
30ce749698
Make the number of cached domains configurable ( #211 )
...
* #200 : Make the number of cached domains configurable
2021-05-17 21:56:39 +02:00
moyo
3770dd97cf
Make prefetch fully configurable ( #198 )
...
* make prefetch fully configurable
* add configuration output test
2021-05-03 22:29:26 +02:00
moyo
9ea8419175
Add prefetch hit metrics ( #190 )
...
* add prefetch hit metrics
* add tests for prefetch hit
2021-04-24 21:48:08 +02:00
moyo
33eb062338
Make cache for all query types ( #186 )
...
* make cache for all query types
* remove query class in cacheKey
2021-04-19 08:16:27 +02:00
Dimitri Herzog
59c650ff6a
added/changed some comments
2021-02-26 21:44:53 +01:00
donald-art
7ee2e7db64
public API documentation ( #146 )
...
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
2021-02-26 13:45:57 +01:00
Dimitri Herzog
0fd25207d1
introducing event bus, refactorings
2021-01-23 22:29:43 +01:00
Dimitri Herzog
e9fff3cef1
prefetching of often used queries
2021-01-16 22:24:05 +01:00
Dimitri Herzog
804bdba9f9
updated dependencies
2020-11-22 22:59:44 +01:00
Dimitri Herzog
aacf8532a5
#94 additional cache metrics ( #110 )
2020-11-18 22:31:05 +01:00
Dimitri Herzog
0ec6c8af9c
Test rewrite (Ginkgo), Refactorings
2020-05-04 22:20:13 +02:00
Dimitri Herzog
e2086c8929
#28 : CLI command to perform a DNS query
2020-04-10 17:08:59 +02:00
Dimitri Herzog
bdeaee98fc
removed unused code
2020-04-09 23:15:52 +02:00
Dimitri Herzog
e12d17dc66
replaced String function by generic
2020-02-23 22:32:24 +01:00
Dimitri Herzog
0061cf0c10
Provide additional configuration for caching, fixes #2
2020-02-10 21:44:51 +01:00
Dimitri Herzog
5b2a78b9ec
Added statistics collection and aggregation
2020-02-07 22:13:00 +01:00
Dimitri Herzog
74c3c065c2
improved negative cache handling
2020-01-27 21:16:05 +01:00
Dimitri Herzog
1d2b4265ca
cache response return code if return code != OK
2020-01-25 22:21:25 +01:00
Dimitri Herzog
e2ad922501
refactoring
2020-01-17 21:53:15 +01:00
Dimitri Herzog
84e47d2cad
small refactorings, additional tests
2020-01-15 22:11:02 +01:00
Dimitri Herzog
01a8a402dc
initial commit
2020-01-12 18:23:35 +01:00