Commit Graph

855 Commits

Author SHA1 Message Date
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
Shreyas Zare
d92464e3ab DnsServer: updated code to use Task instead of threads for socket request listeners for all protocols since ReceiveFrom() would not work with SendToAsync due to bug in .NET 5. This change also improves performance significantly. 2020-12-13 19:10:05 +05:30
Shreyas Zare
a1de1df66c WebService: specifying hardware address type explicitly in SetDhcpScopeAsync(). 2020-12-12 16:50:37 +05:30
Shreyas Zare
79639d55ab Lease: minor update to allow specifying hardware address type explicitly. 2020-12-12 16:49:52 +05:30
Shreyas Zare
816f360a58 DhcpServer: fixed minor issue caused by using incorrect client identifier while updating hostname in reserved leases. 2020-12-12 16:49:18 +05:30
Shreyas Zare
d18a480dd2 DomainTree: throwing InvalidDomainNameException instead of DnsServerException to allow returning format error response. 2020-12-12 16:40:54 +05:30
Shreyas Zare
849df07c73 DnsServer: returning format error response when domain name is invalid. Setting recursion available flag in response for auth zone when recursion is desired since dns clients like nslookup and dig complain about it otherwise. 2020-12-12 16:40:06 +05:30
Shreyas Zare
31eee972e0 removed workaround code due to issue: https://github.com/dotnet/runtime/issues/37873 2020-12-06 18:08:41 +05:30
Shreyas Zare
9388cbce6e solution changes 2020-12-06 17:34:56 +05:30
Shreyas Zare
acf91dfd94 updated publish profile. 2020-12-06 17:34:38 +05:30
Shreyas Zare
119b136b10 minor refactoring changes 2020-12-06 17:33:43 +05:30
Shreyas Zare
ced4866442 discontinuing supervisor.conf support. 2020-12-06 17:33:30 +05:30
Shreyas Zare
76267e25fb minor refactoring 2020-12-06 17:32:32 +05:30
Shreyas Zare
cd7da29ee4 updated install.sh for .NET 5.0 2020-12-06 17:32:20 +05:30
Shreyas Zare
62ec89ebd7 refactored dotnet core project name. 2020-12-06 17:31:53 +05:30
Shreyas Zare
e77fe15a33 removing .NET framework based portable app in favor of .NET 5 portable app. 2020-12-06 17:22:38 +05:30
Shreyas Zare
bf6f92b542 minor code refactoring done. 2020-12-06 17:00:05 +05:30
Shreyas Zare
36116391b6 DhcpServer: added feature to automatically save modified zones. Added validation checks in UpdateDnsAuthZone. 2020-12-06 16:58:06 +05:30
Shreyas Zare
de28d05103 DhcpServer: Removing lease hostname entry from dns if the hostname has changed. 2020-12-05 19:35:20 +05:30
Shreyas Zare
143ad95c93 DnsServer: Fixed issue in cache prefetch refresh feature that didnt take into account the Stub and Forwarder zones causing the DNS server to do usual recursive resolution to refresh cache instead of using the zone specified name servers or conditional forwarders. 2020-12-05 19:07:38 +05:30
Shreyas Zare
fe3b37fd1b webapp: fixed html encoding issue for quotes. 2020-11-29 18:14:33 +05:30
Shreyas Zare
981d0ad329 install.sh: fixed issue in dotnet installation by specifying the exact version of runtime required. 2020-11-22 16:44:41 +05:30
Shreyas Zare
816254d0cb assembly version updated for v5.5 release 2020-11-14 18:23:50 +05:30
Shreyas Zare
3f4f348818 updated change log for v5.5 release 2020-11-14 18:23:39 +05:30
Shreyas Zare
0549684f81 readme: added new blog post link. 2020-11-14 16:56:13 +05:30
Shreyas Zare
717b8e330f apidocs: updated api for dhcp vendor specific info option. 2020-11-14 16:55:43 +05:30
Shreyas Zare
a0d16888f5 webapp: html code changes for dhcp vendor info and other minor changes. 2020-11-14 16:54:59 +05:30
Shreyas Zare
c673f9ad71 webapp: minor ui changes. 2020-11-14 16:54:06 +05:30
Shreyas Zare
d929c71022 webapp: fixed minor issue causing dhcp view to become not visible when user logs out and relogins. 2020-11-14 16:53:30 +05:30