Kwitsch
9784134ab7
moved newResponseMsg & returnResponseModel to resolver.go
2022-09-23 22:56:40 +02:00
ThinkChaos
62c7816ab3
Support of DoH/DoT as bootstrap DNS ( #485 )
2022-04-22 22:12:35 +02: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
Dimitri Herzog
a90fb5d1c2
Extract client name from the URL (DoH and DoT) ( #317 )
...
* Extract client name from the URL (DoH and DoT) #304
* improved tests
2021-10-13 22:47:14 +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
59c650ff6a
added/changed some comments
2021-02-26 21:44:53 +01:00
Dimitri Herzog
21f9b90841
go fmt
2021-02-26 21:39:41 +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
8f23f47a6d
Renamed function, replaced global variable with function call, Initialize global logger only once, minor refactorings, fixed failing tests
2021-02-25 23:36:39 +01:00
nicolas-martin
3b0bbc5f6b
use package logger instead of global
2021-02-22 17:28:48 -05:00
Dimitri Herzog
e9fff3cef1
prefetching of often used queries
2021-01-16 22:24:05 +01:00
Dimitri Herzog
d1b3b929e4
#67 : consider request protocol TCP/UDP on calling external DNS (AXFR fails most times)
2020-06-21 22:38:04 +02: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
0766c6480a
#27 : CLI tool
2020-04-08 23:03:07 +02:00
Dimitri Herzog
673e208cdd
fixes # 18: add additional prometheus metrics for dashboard
2020-03-06 23:00:14 +01:00
Dimitri Herzog
e12d17dc66
replaced String function by generic
2020-02-23 22:32:24 +01:00
Dimitri Herzog
8f2dd2f160
removed unused func
2020-02-13 21:50:29 +01:00
Dimitri Herzog
5b2a78b9ec
Added statistics collection and aggregation
2020-02-07 22:13:00 +01:00
Dimitri Herzog
01a8a402dc
initial commit
2020-01-12 18:23:35 +01:00