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
|
3a7a80f15f
|
coredns plugin -- fix SHOULD NOT HAPPEN spam when incoming request is for root servers
|
2018-10-05 07:36:03 +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
|
c7790a8d9f
|
coredns plugin -- Add option "blocked_ttl" that can change default nxdomain response TTL
|
2018-09-26 18:38:06 +03:00 |
Eugene Bujak
|
09a39cce03
|
Allow disabling of filtering but keeping querylog, safebrowsing, safesearch and parental working.
|
2018-09-25 19:26:26 +03:00 |
Eugene Bujak
|
ea320f5ee3
|
Fix test failures introduced by previous commit afd1fe21f6 .
|
2018-09-25 19:12:50 +03:00 |
Eugene Bujak
|
620212ad37
|
coredns -- don't try to be smart and replace 127.0.0.1 with NXDOMAIN yet -- need research on that first
|
2018-09-25 18:34:01 +03:00 |
Eugene Bujak
|
076c9de68e
|
Fix many lint warnings found by gometalinter
|
2018-09-14 18:40:05 +03:00 |
Eugene Bujak
|
aa2e5500e7
|
coredns plugin -- do not filter out non-FQDN's -- otherwise it breaks serving /etc/hosts
|
2018-09-11 17:57:20 +03:00 |
Eugene Bujak
|
3b9aaff861
|
coredns plugin metrics -- deduplicate code
|
2018-09-07 16:10:11 +03:00 |
Eugene Bujak
|
c7a5275d42
|
coredns plugin -- convert logic into switch, logging unexpected non-covered cases
|
2018-09-06 02:09:57 +03:00 |
Eugene Bujak
|
876854d403
|
coredns plugin -- on server reload, metrics disappeared, therefore they must be registered on each reload instead of once
|
2018-09-06 02:08:49 +03:00 |
Eugene Bujak
|
c143e3d57f
|
coredns plugin -- give feedback how many rules were in rulefile
|
2018-09-06 02:07:23 +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
|
3b11648e14
|
Fix registration of metrics if querylog is enabled
|
2018-09-05 21:21:46 +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 |