Commit Graph

479 Commits

Author SHA1 Message Date
Frank Denis 88414e1448 Print stamps; require an env variable for debug level 2018-01-20 13:56:26 +01:00
Frank Denis 0fe21b2d57 Shortcut filters for the root zone 2018-01-20 13:30:19 +01:00
Frank Denis 066db6a080 Replace logged_qtypes with ignored_qtypes 2018-01-20 13:27:37 +01:00
Frank Denis 5080502381 " -> ' \because\people\still\use\backslahes\to\separate\path\components 2018-01-20 13:20:30 +01:00
Frank Denis 475d7edb2a Fix suffix matching so that www.example is rejected if example is filtered 2018-01-20 13:18:54 +01:00
Frank Denis b9e89d2278 megacheck 2018-01-20 01:00:19 +01:00
Frank Denis 5dae74ab0b beta4 2018-01-20 00:40:44 +01:00
Frank Denis 187de17396 Don't prefetch more frequently than 1/min 2018-01-20 00:31:54 +01:00
Frank Denis 1c27d6c230 Improved error handling 2018-01-20 00:30:33 +01:00
Frank Denis 7fbb4c5428 Improve the prefetcher; run a dedicated goroutine 2018-01-19 23:43:45 +01:00
Frank Denis 2ab29a43d6 Reduce the noise 2018-01-19 22:37:05 +01:00
Frank Denis a64f90e1ba Update dlog 2018-01-19 20:54:32 +01:00
Frank Denis fd9291b240 Update dlog 2018-01-19 20:27:48 +01:00
Frank Denis 6e1eaf7b90 More flexible logging; add support for the Windows event log 2018-01-19 20:06:04 +01:00
Frank Denis ed33eb4890 up 2018-01-19 19:48:01 +01:00
Frank Denis b02a4e6c73 Update dlog; now with support for the Windows Event Log
(completely untested)
2018-01-19 19:33:25 +01:00
Frank Denis 4b4bf36633 Unreachable -> Timeout 2018-01-19 16:40:35 +01:00
Frank Denis aac0078991 Choose if we want to use IPv6 and/or IPv4 servers 2018-01-19 16:38:43 +01:00
Frank Denis 3006a6f2b4 Print server names instead of provider names 2018-01-19 15:50:44 +01:00
Frank Denis 0bdfd01245 up 2018-01-19 15:50:39 +01:00
Frank Denis 7103229609 Add a logged_qtypes feature to log only some query types 2018-01-19 12:57:47 +01:00
Frank Denis 414d366cb2 Print the root zone as a dot rather than an empty string
Fixes #7
2018-01-19 12:33:27 +01:00
Frank Denis e9e028c970 beta3 2018-01-19 00:11:52 +01:00
Frank Denis 41d5de6e8d Scheduling 2018-01-19 00:06:18 +01:00
Frank Denis 43e5689387 Schedule a prefetch if we got a set or its signature from a backup cache
This is not pretty, and has to be rewritten for the next beta
2018-01-18 23:54:53 +01:00
Frank Denis 008d2d9093 Increase refresh delay for server sets 2018-01-18 23:54:37 +01:00
Frank Denis 1b5e36432e Remove cache files if we stored corrupted data 2018-01-18 23:33:30 +01:00
Frank Denis f745eb578a Check HTTP error codes 2018-01-18 23:31:14 +01:00
Frank Denis a85d012a2b Prefetch previously unreachable sources URLs after a server is reachable
Partial fix for #4

Pave the way for regular, background updates as well
2018-01-18 23:19:14 +01:00
Frank Denis c4bd6eb9f0 Make the distinction between a usable cache and a hot cache
A hot cache is still fresh. A usable cache exists, and can act as a
backup solution is we can't fetch a list from a remote server.
2018-01-18 22:23:40 +01:00
Frank Denis 6c67739b56 bump 2018-01-18 22:23:37 +01:00
Frank Denis 35a65bc2fd Use single quotes in the TOML file, mention that paths are relative
Fixes #5
2018-01-18 20:41:33 +01:00
Frank Denis 0fcbbfda1f Add systemd readiness notification 2018-01-18 15:31:08 +01:00
Frank Denis eeb57172d1 beta2 2018-01-18 15:04:21 +01:00
Frank Denis 941a7b6f4f Bring FS info level down to INFO, but store this information with the cert 2018-01-18 14:58:57 +01:00
Frank Denis 25664b9a99 Be more tolerant 2018-01-18 14:49:51 +01:00
Frank Denis ed352cc28c Reduce verbosity 2018-01-18 14:46:19 +01:00
Frank Denis 7e86477a7d Make megacheck happier 2018-01-18 14:28:05 +01:00
Frank Denis 0a63975d48 Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
Frank Denis b0f6a04dc4 Reserve require_nofilter 2018-01-18 13:04:50 +01:00
Frank Denis 41a9bf5bf3 Add require_nolog and require_dnssec filters 2018-01-18 13:01:16 +01:00
Frank Denis fd7838ee58 Add a -version command-line switch to print the version
Fixes #2
2018-01-18 12:22:25 +01:00
Frank Denis 0e03f684b2 Hotfix for OpenBSD and other OS whose init system is not supported yet 2018-01-18 02:08:08 +01:00
Frank Denis 857dc9e2cd DoH is especially interesting over HTTP2 2018-01-18 01:20:00 +01:00
Frank Denis f70908f065 beta1 2018-01-17 22:16:42 +01:00
Frank Denis 10a70cb7b4 up 2018-01-17 22:14:58 +01:00
Frank Denis 8429df82fd Perform an initial benchmark to use servers with the lowest latency
(initially according to the certificate rtt)
2018-01-17 22:12:34 +01:00
Frank Denis 9dcd37093d Use all resolvers simultaneously, even the ones from remote sources.
Fireworks!
2018-01-17 21:41:36 +01:00
Frank Denis df3a5f608d Improve management of multiple servers, and unreachable-at-boot servers 2018-01-17 21:23:01 +01:00
Frank Denis cd15ba4538 nits 2018-01-17 20:56:59 +01:00