Eugene Bujak
057db71f3b
Get rid of duplicate variable definitions
2018-12-05 16:57:21 +03:00
Eugene Bujak
87c54ebd4c
Move Filter definition from dnsforward to dnsfilter, it belongs there.
2018-12-05 16:57:21 +03:00
Eugene Bujak
e0286ee85d
Don't forget to give user filter to dns forwarding server
2018-12-05 16:56:11 +03:00
Eugene Bujak
9c4b791621
coredns reload -> dnsServer.Reconfigure()
2018-12-05 16:56:11 +03:00
Eugene Bujak
7120f551c8
dnsforward -- rename BlockedTTL to BlockedResponseTTL to be in line with app's config variable.
2018-12-05 16:56:11 +03:00
Eugene Bujak
feabc21864
Unplug coreDNS and plug dnsforward library.
2018-12-05 16:54:56 +03:00
Andrey Meshkov
a0482fc201
Fix #426
...
Added refuseany (enabled by default)
Added ratelimit and refuseany to the config file (for manual editing only)
2018-11-26 13:38:17 +03:00
Andrey Meshkov
f94c63ed5b
Set default ratelimit to 30/sec
2018-11-25 23:32:28 +03:00
Andrey Meshkov
e4998651fe
Fix #426 : add ratelimit to directives
2018-11-25 23:17:49 +03:00
Andrey Meshkov
668dcebf13
Added ratelimit plugin
2018-11-25 23:11:36 +03:00
Andrey Meshkov
efdd1c1ff2
Added CoreDNS plugin setup and replaced forward
2018-11-05 23:49:31 +03:00
Andrey Meshkov
32d4e80c93
Fix #371 #421
...
Filters are now saved to a file
Also, they're loaded from the file on startup
Filter ID is not passed to the CoreDNS plugin config (server-side AG DNS must be changed accordingly)
Some minor refactoring, unused functions removed
2018-10-30 02:17:24 +03:00
Eugene Bujak
a528ed9f94
Stop requiring current working directory to be the location of AdGuardHome.
...
Fixes #381 .
2018-10-17 20:43:26 +03:00
Eugene Bujak
3e2a3afc52
Rename from 'Adguard DNS' to 'AdGuard Home'.
2018-10-15 16:02:19 +03:00
Eugene Bujak
bad88961e9
WIP -- single binary -- works, replies to DNS, but need to check what got broken
2018-10-12 17:11:57 +03:00