- FIX: enable response compression by default to be compatible with bogus DNS clients not understanding responses split to multiple UDP packets (FIX failure of Amazon PrimeVideo on LG WebOS)
- new conf-specific setting "cache": allows disabling cache on configuration basis (default: cache is enabled)
- updated documentation
- added more debug logs
- more sanity checks
- added localresponder: if set use specified DNS server for local domains
- ipaliases is now used in DNS responses (works same as /etc/hosts file)
- ForwardQuery(): accept param to avoid cache
- sanity checks
- parsing of timetables
- removed unused global variables (moved at config level)
- added new stat: DNS request for each "CONFIG"
- implemented configuration from ip groups / timetables
- new json configuration: added multiple configs, ip groups/ip aliases and timetables
- added multiple configurations:
- each configuration has his own upstream, singlefilters, doublefilters, blackholeip hostsfile
- cache DB is global to all configs
- BL downloader and parser is optimized: each BL source is downloaded/parsed only once
- TODO:
- implement configuration selection based on source IPs and timetables
- unused code cleanup