Eugene Bujak
|
a15f21ca1c
|
code review -- move constants into named constants
|
2018-10-08 20:04:36 +03:00 |
|
Eugene Bujak
|
a15c59e24e
|
coredns plugin -- Cache /querylog API result
|
2018-10-08 19:51:43 +03:00 |
|
Eugene Bujak
|
a2434d4574
|
coredns plugin -- Calculate top for domains, clients and blocked both from querylog and running requests.
This moves the functionality from frontend to coredns plugin.
|
2018-10-07 23:42:17 +03:00 |
|
Eugene Bujak
|
dc1042c3e9
|
Querylog -- Omit empty fields when writing json
|
2018-10-07 02:21:47 +03:00 |
|
Eugene Bujak
|
a63fe958ae
|
Querylog -- Read from querylog files when answering to /querylog API, it now survives restarts.
|
2018-10-07 02:21:33 +03:00 |
|
Eugene Bujak
|
2244c21b76
|
Fix race conditions found by go's race detector
|
2018-10-07 02:21:27 +03:00 |
|
Eugene Bujak
|
2c33905a79
|
Querylog -- Implement file writing and update /querylog handler for changed structures.
|
2018-10-07 02:21:12 +03:00 |
|
Eugene Bujak
|
57ade2c3c3
|
Increase querylog size from 1000 to 10000 -- that'll use 32MB of memory.
|
2018-10-03 22:44:57 +03:00 |
|
Eugene Bujak
|
e122d9138b
|
sometimes answer can be empty, therefore question could be lost -- pass both to querylog
|
2018-09-05 21:25:11 +03:00 |
|
Eugene Bujak
|
379e14c28b
|
coredns plugin -- forgot to pass client's IP to querylog, fix that.
Closes #311
|
2018-08-31 19:59:04 +03:00 |
|
Eugene Bujak
|
ed4077a969
|
Initial commit
|
2018-08-30 17:25:33 +03:00 |
|