Frank Denis
|
72dfb0628c
|
Prepare a new configuration section for Anonymized DNS
|
2019-10-13 22:47:57 +02:00 |
|
Frank Denis
|
5437f80bfc
|
Merge branch 'master' of github.com:jedisct1/rust-dnscrypt-server
* 'master' of github.com:jedisct1/rust-dnscrypt-server:
Return a HINFO record when a query is blocked
|
2019-10-13 22:35:08 +02:00 |
|
Frank Denis
|
9db26ba20b
|
Preliminary support for Anonymized DNS
|
2019-10-13 22:34:46 +02:00 |
|
Frank Denis
|
c0faa11ac1
|
Return a HINFO record when a query is blocked
This is extremely useful to understand why a query doesn't return
e.g. IP addresses that resolve from other servers
|
2019-10-13 00:45:26 +02:00 |
|
Frank Denis
|
ca35d6fdc8
|
Ensure that PK prefixes don't match the Anonymized DNSCrypt query magic
|
2019-10-09 17:55:49 +02:00 |
|
Frank Denis
|
cf41840573
|
We can use Default::default() instead of tokio's Handle
What kind of magic is that?
|
2019-10-07 19:21:18 +02:00 |
|
Frank Denis
|
5afc1f1a6a
|
Ignore casing for caching
|
2019-10-06 21:04:40 +02:00 |
|
Frank Denis
|
fbf8a72d4f
|
Remove CIR
|
2019-10-02 18:06:02 +02:00 |
|
Frank Denis
|
4c07e91b3f
|
Limit the number of concurrent connections to the metrics
|
2019-10-02 13:59:02 +02:00 |
|
Frank Denis
|
8cbd5bb6b6
|
futres::prelude::* may not always be needed
|
2019-10-02 13:45:52 +02:00 |
|
Frank Denis
|
22d84a748c
|
Add process feature to prometheus, and a timeout for clients
|
2019-10-02 13:21:32 +02:00 |
|
Frank Denis
|
a67572f6f2
|
Add cache hit ratio
|
2019-10-02 12:16:43 +02:00 |
|
Frank Denis
|
1a53a1906b
|
Silent warning
|
2019-10-02 12:07:33 +02:00 |
|
Frank Denis
|
86ab29c06a
|
More Prometheus metrics
|
2019-10-02 12:03:27 +02:00 |
|
Frank Denis
|
cd98c5627c
|
More Prometheus metrics
|
2019-10-02 11:58:57 +02:00 |
|
Frank Denis
|
71699d8476
|
Some initial metrics
|
2019-10-02 11:41:59 +02:00 |
|
Frank Denis
|
27e6097dc9
|
Prometheus metrics
|
2019-10-01 20:58:51 +02:00 |
|
Frank Denis
|
f77a5aed47
|
Add metrics
|
2019-10-01 18:07:55 +02:00 |
|
Frank Denis
|
e5a42ebfa1
|
Do not forget to define rcode_refused
|
2019-10-01 17:00:56 +02:00 |
|
Frank Denis
|
4bc939977e
|
Serve stale on REFUSED, too
|
2019-10-01 16:58:43 +02:00 |
|
Frank Denis
|
7ab967e163
|
Refactor the resolver part a little bit
|
2019-10-01 08:58:50 +02:00 |
|
Frank Denis
|
6fa13f825d
|
Revert direct usage of FutureExt
|
2019-09-27 00:11:02 +02:00 |
|
Frank Denis
|
7ebcc7287e
|
Tokio update, that makes things more complicated
|
2019-09-26 19:56:40 +02:00 |
|
Frank Denis
|
18fe23471d
|
Nits
|
2019-09-26 15:12:18 +02:00 |
|
Frank Denis
|
e4df83410f
|
Keep DNS_FLAGS_CD and DNS_FLAGS_RD
|
2019-09-26 11:06:12 +02:00 |
|
Frank Denis
|
1e33f82887
|
Clear answer count on synthetic responses
|
2019-09-26 02:03:52 +02:00 |
|
Frank Denis
|
6f99d404d6
|
Typo
|
2019-09-26 01:45:02 +02:00 |
|
Frank Denis
|
518f0ce17d
|
Implement support for server-side blacklists
|
2019-09-25 15:51:13 +02:00 |
|
Frank Denis
|
cc53be8cf8
|
Better error messages
|
2019-09-24 22:37:25 +02:00 |
|
Frank Denis
|
3d07f98f90
|
Block on the updater
|
2019-09-24 19:57:54 +02:00 |
|
Frank Denis
|
f343802fd0
|
Revert "Nits"
This reverts commit 0f63c5e594 .
|
2019-09-24 19:55:51 +02:00 |
|
Frank Denis
|
0f63c5e594
|
Nits
|
2019-09-24 19:42:21 +02:00 |
|
Frank Denis
|
653c4e1de7
|
Better error handling
|
2019-09-24 19:29:38 +02:00 |
|
Frank Denis
|
41f4d77212
|
Update env_logger
|
2019-09-24 16:34:01 +02:00 |
|
Frank Denis
|
0b76ef2cce
|
Change the format of how IP addresses are specified
|
2019-09-22 13:44:45 +02:00 |
|
Frank Denis
|
c0c66e6254
|
We don't define any custom error types
|
2019-09-22 02:30:05 +02:00 |
|
Frank Denis
|
16b5db8c01
|
u8 vs i8
|
2019-09-22 01:26:00 +02:00 |
|
Frank Denis
|
a5a84b5bdd
|
Log to file
|
2019-09-21 16:29:13 +02:00 |
|
Frank Denis
|
c60a1734eb
|
Improved daemonization
|
2019-09-21 16:19:39 +02:00 |
|
Frank Denis
|
749ee9f7bf
|
Serve stale if cached and a shorter timeout occurs
|
2019-09-21 13:56:43 +02:00 |
|
Frank Denis
|
a9fe22fa7e
|
Move the resolver to its own file
|
2019-09-21 12:37:20 +02:00 |
|
Frank Denis
|
ba96f014ef
|
Make DNS cache TTLs configurable
|
2019-09-21 12:18:27 +02:00 |
|
Frank Denis
|
267a260801
|
Only force a state update if necessary
|
2019-09-21 12:03:50 +02:00 |
|
Frank Denis
|
56a8e2eb6a
|
Add TTL and serve-stale support to the DNS cache
Force certificate refresh on load
|
2019-09-21 11:53:40 +02:00 |
|
Frank Denis
|
2135af9610
|
up
|
2019-09-21 00:58:16 +02:00 |
|
Frank Denis
|
c98a202f80
|
Add a simple built-in DNS cache
(TTL is not handled yet)
|
2019-09-21 00:53:20 +02:00 |
|
Frank Denis
|
cf1cbdb51d
|
Split the resolution part
|
2019-09-20 21:03:15 +02:00 |
|
Frank Denis
|
2366456eb0
|
up
|
2019-09-20 12:15:45 +02:00 |
|
Frank Denis
|
1dd5ed07c1
|
Import from dnscrypt-wrapper
|
2019-09-20 11:25:24 +02:00 |
|
Frank Denis
|
e681e43070
|
ADd a key cache and improve logging
|
2019-09-20 10:39:42 +02:00 |
|