Commit Graph

749 Commits

Author SHA1 Message Date
Shreyas Zare
5b8200f4a4 WebService: implemented maxStatFileDays settings option and API. 2021-01-17 17:54:25 +05:30
Shreyas Zare
08c2d859a7 StatsManager: made max stat file days as configurable setting. Removed loadQueryStats option to avoid file loading errors. 2021-01-17 17:50:24 +05:30
Shreyas Zare
f90aa4ebc1 webapp: updated about text. 2021-01-16 20:25:01 +05:30
Shreyas Zare
11904a174c webapp: updated footer link to Donate. 2021-01-16 20:24:18 +05:30
Shreyas Zare
ca32ccd715 DnsServer: Updated prefetch sampling initial interval to 5 sec and refresh timer initial interval to 10 sec to allow cache auto prefetch quickly after server restarts using stored query stats data. Reimplemented prefetch sampling for eligible queries in CachePrefetchSamplingTimerCallback() to correctly handle all cases. Enabling cache prefetch and auto prefetch only when recursion is enabled. 2021-01-16 18:06:13 +05:30
Shreyas Zare
4be8336e80 StatsManager: updated StatCounter to store query stats data. Updated implementation to load query stats only for last hour data. 2021-01-16 18:01:58 +05:30
Shreyas Zare
57e856a92e ResolverDnsCache: prefering auth response when there is a tie with cache. 2021-01-16 15:53:02 +05:30
Shreyas Zare
28cd0ec343 webapp: removing unnecessary checks. 2021-01-16 15:52:22 +05:30
Shreyas Zare
59f8daab1d PrimaryZone: fixed issue when creating primary zone for root ".". 2021-01-10 16:12:58 +05:30
Shreyas Zare
42c0130348 webapp: updated page title to show the dns server domain first. 2021-01-10 16:11:59 +05:30
Shreyas Zare
51993661d5 dhcp Exclusion: added validation check. 2021-01-03 17:14:11 +05:30
Shreyas Zare
b4a9db7c5e ZoneTree: fixed issue in ListSubDomains(). 2021-01-03 15:57:11 +05:30
Shreyas Zare
fe8e9c1947 DomainTree: returning null in ConvertKeyToLabel() when domain length is less than 1. 2021-01-03 15:56:44 +05:30
Shreyas Zare
f181b534b3 updated assembly version to 5.6 for release. 2021-01-02 18:56:26 +05:30
Shreyas Zare
afe85655ea WebService: fixed minor issue in ResolvePtrTopClientsAsync() 2021-01-02 17:31:09 +05:30
Shreyas Zare
2d708149e7 webapp: minor fixes. 2021-01-02 17:30:24 +05:30
Shreyas Zare
aa21472411 webapp: updated Chart.js to v2.9.4 2021-01-02 17:30:07 +05:30
Shreyas Zare
94b4832480 WebService: implemented async ptr resolution for dashboard top client stats. 2020-12-27 19:40:25 +05:30
Shreyas Zare
53e52520f9 webapp: minor formatting changes. 2020-12-27 17:58:20 +05:30
Shreyas Zare
590443f90a minor change 2020-12-27 16:02:45 +05:30
Shreyas Zare
6242559c4e DnsServer: using default buffer size for tcp sockets. 2020-12-27 16:02:25 +05:30
Shreyas Zare
77126de365 minor fix. 2020-12-26 17:30:50 +05:30
Shreyas Zare
09fc300508 ignoring ObjectDisposedException when server stops. 2020-12-25 19:49:44 +05:30
Shreyas Zare
9b5af167d0 webapp: implemented dashboard stats changes with top stats modal. Implemented latest api for get and set dns settings. 2020-12-25 19:29:55 +05:30
Shreyas Zare
4180bc4fbc minor refactoring 2020-12-25 19:27:48 +05:30
Shreyas Zare
c43550c599 WebService: implemented web service local addresses option. Implemented web service HTTPS support. Implemented task based async call for AcceptWebRequestAsync(). Added auto restart feature to restart DNS and web service when address or port settings are changed. Added GetStats with total zones and total block list zones data for dashboard display. Implemented getTotStats api call. Added auto delete of cache for a zone that was created or enabled to allow rebuilding cache for stub and forwarder zones. 2020-12-25 19:27:36 +05:30
Shreyas Zare
1bf2e43ec4 StatsManager: implemented top stats feature. 2020-12-25 18:29:21 +05:30
Shreyas Zare
806cb1dc7f LogManager: implemented option to disable log cleanup timer by using maxLogFileDays set to zero. 2020-12-25 18:28:15 +05:30
Shreyas Zare
d50fb087fb DnsServer: made changes to handle gracefull shutdown and restarting the DNS server. 2020-12-25 18:27:04 +05:30
Shreyas Zare
f0dd31ae6d AllowedZoneManager & BlockedZoneManager: Using AuthZoneManager's TotalZones. 2020-12-25 18:25:40 +05:30
Shreyas Zare
8df4c4c0f8 AuthZoneManager: implemented TotalZones for stats usage. 2020-12-25 18:24:28 +05:30
Shreyas Zare
14ad2231e3 DhcpServer: updated ReadUdpRequestAsync() with task based async calling. Fixed minor null ref issue in UpdateDnsAuthZone(). 2020-12-25 18:21:49 +05:30
Shreyas Zare
57c8bb6106 webapp: added backup and restore UI. 2020-12-20 17:30:24 +05:30
Shreyas Zare
2cf975d0f8 WebService: implemented backup and restore api calls. 2020-12-20 17:29:00 +05:30
Shreyas Zare
cc96f44f5a LogManager: made StartLogging(), StopLogging() and LoadConfig() internal methods to allow reloading. 2020-12-20 16:59:00 +05:30
Shreyas Zare
7d75e2f430 StatsManager: added ReloadStats() method. 2020-12-20 16:58:12 +05:30
Shreyas Zare
b79274b26a AuthZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:57:25 +05:30
Shreyas Zare
1e7c156594 BlockListZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:57:01 +05:30
Shreyas Zare
ecfbfa1781 BlockedZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:56:34 +05:30
Shreyas Zare
958f13a200 AllowedZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:56:18 +05:30
Shreyas Zare
5a1f32650d DhcpServer: saving modified scopes and zone in Stop(). 2020-12-20 16:55:47 +05:30
Shreyas Zare
ba343ce811 webapp: implemented UI options for serve stale, logging and block list settings. 2020-12-19 13:33:33 +05:30
Shreyas Zare
8c094ec583 WebService: implemented api support for server stale options, logging options and block list options. Implemented http compression for service files. 2020-12-19 13:32:02 +05:30
Shreyas Zare
1b9019c88a LogManager: updated code to support independent log config file. Implemented features to disable logging, changing log folder, use local time zone and cleanup old log files from disk. Implemented automatic compression of log files when downloading them. Added support to delete all logs. 2020-12-19 12:41:37 +05:30
Shreyas Zare
e7b42d64a3 StatsManager: implemented cleanup timer to automatically remove old stats files from disk. Added DeleteAllStats() to allow deleting all stats files and clearing in memory stats data. 2020-12-19 12:38:13 +05:30
Shreyas Zare
32243d30e1 DnsServer: added option to control serve stale feature. 2020-12-19 12:36:58 +05:30
Shreyas Zare
e5ec73c7c3 CacheZoneManager: updated serve stale default TTL to 3 days. 2020-12-19 12:35:57 +05:30
Shreyas Zare
9b653fd3a9 BlockListZoneManager: added support for automatic decompression when downloading block list. 2020-12-19 12:35:19 +05:30
Shreyas Zare
3081307e1b DhcpServer: added logging while updating DNS entries and lease expiry. 2020-12-19 12:34:48 +05:30
Shreyas Zare
3085f1feb5 Scope: updated static ip validation in FindInterface() with explicit check for ipv4 dhcp server and with detailed error message. 2020-12-19 12:33:32 +05:30