Commit Graph

157 Commits

Author SHA1 Message Date
Shreyas Zare
fbe22281cc DnsWebService: Loading allowed and blocked zones in thread pool on start to speed up server startup. Updating server domain name in thread pool to allow the zone SOA update task to run in background. 2019-01-13 15:26:22 +05:30
Shreyas Zare
bbb1cb427b minor code refactoring done 2019-01-13 13:31:30 +05:30
Shreyas Zare
9d8ed065b5 DnsWebService: using authoritative zone's ServerDomain property instead of _serverDomain. Code refactoring and minor fixes done. 2019-01-13 13:25:08 +05:30
Shreyas Zare
7dbc5b29ee DnsWebService: Zone file changes done to save the disable state info in same file. Implemented resource record disable feature. Code refactoring done. 2019-01-06 16:52:53 +05:30
Shreyas Zare
3ae358e892 Added tcp protocol indication when logging with end points. 2019-01-05 15:23:11 +05:30
Shreyas Zare
569b00dbe1 fixed issue of download log option giving truncated file with fixed 2mb limit by making the limit option configurable. 2019-01-05 15:14:15 +05:30
Shreyas Zare
38c15ee87c DnsWebService: service start and stop related changes done to work with most platforms. 2018-12-30 16:45:41 +05:30
Shreyas Zare
3c09a61fd4 DnsWebService: custom dns server local addresses feature implemented. Code refactoring done to remove unnecessary value assignments. 2018-12-29 16:39:59 +05:30
Shreyas Zare
3d0bd151da DnsWebService: added logging for unhandled exception using AppDomain.CurrentDomain.UnhandledException. Made change to load StatsManager in Start(). 2018-12-23 19:19:32 +05:30
Shreyas Zare
89906ceb70 fixed issue caused when web service port changes breaking the custom block list url. 2018-12-15 15:02:37 +05:30
Shreyas Zare
c26017755d DnsWebService: Implemented cache hit feature. Removed BufferedStream usage since FileStream does internal buffering. 2018-12-09 17:06:30 +05:30
Shreyas Zare
50f520bc13 DnsWebService: updated logging for block list with additional details. 2018-11-18 18:46:32 +05:30
Shreyas Zare
496f0f3465 DnsWebService: fixed issue with non persistent custom domain added to block zone. 2018-11-18 16:51:56 +05:30
Shreyas Zare
f95b833df0 DnsWebService: added error logging for service start and stop events. 2018-11-17 13:07:14 +05:30
Shreyas Zare
7d8bfc1671 DnsWebService: added X-Robots-Tag http header to preventing search engines from indexing web portal. 2018-11-17 12:29:08 +05:30
Shreyas Zare
cb55ceedcf DnsWebService: Implemented changes to set higher timeout value when proxy is enabled. Implemented block list update retry mechanism. 2018-11-04 15:20:28 +05:30
Shreyas Zare
21c5cfdb5c platform not supported issue handled. 2018-10-13 15:11:38 +05:30
Shreyas Zare
383d2928f7 DnsWebService: fixed issue with SetDnsSettings(). 2018-10-13 11:51:59 +05:30
Shreyas Zare
968683f6f9 DnsWebService: dns client change done to fix DNS-over-TLS issue. 2018-10-07 01:18:26 +05:30
Shreyas Zare
30cf556c90 DnsWebService: block zone set record optimization done to load block zone quickly. 2018-10-06 16:10:03 +05:30
Shreyas Zare
a2e8f7ff5e DnsWebService: Implemented multiple block list url support. Added total allowed & block zones stats. Implemented allowed zone api. In memory serialization done for zone and config saving to avoid overwriting file on disk with corrupt data. 2018-10-05 23:57:26 +05:30
Shreyas Zare
cd4340a2c1 DnsWebService: adding 0.0.0.0 A record to block zone so that the response gets cached and less requests hit the server. 2018-10-01 23:06:27 +05:30
Shreyas Zare
422f827254 DnsWebService: reimplemented obsolete file format support to avoid issues when upgraded from older versions. 2018-09-30 23:43:04 +05:30
Shreyas Zare
38333b14d6 DnsWebService: implemented getStats api with type parameter. 2018-09-30 23:23:06 +05:30
Shreyas Zare
b5abefa65e minor dashboard chart enhancements. 2018-09-30 13:44:57 +05:30
Shreyas Zare
cd660f2db3 DnsWebService: implemented StatsManager and getStats api. 2018-09-30 00:23:37 +05:30
Shreyas Zare
83ca65d722 DnsWebService: added missing StopBlockListUpdateTimer() when server stops. 2018-09-22 20:16:31 +05:30
Shreyas Zare
5bacfe7ab5 DnsWebService: Updated block list timer initial interval to 5 sec so that settings get applied quickly. Flushing blocked zone when block list settings are updated. Added missing save block zone file after flushing. 2018-09-22 15:40:21 +05:30
Shreyas Zare
6ddaa7ad48 DnsWebService: Added blocked zone api. Blocked zone file management done. Automatic block list update from URL feature added. 2018-09-22 15:04:56 +05:30
Shreyas Zare
b4022545cd DnsWebService: AcceptWebRequestAsync() error logging added. Flush cache logging added. Fixed update check bug which was always marking updateAvailable as false due to missing check. Password reset process added. Web service stop process changed to use thread abort. 2018-09-15 13:40:29 +05:30
Shreyas Zare
3d329b9f27 DnsWebService: removed obsolete code usage. Using simple dns cache for recursive resolve queries. 2018-08-11 12:04:46 +05:30
Shreyas Zare
4486ee5097 DnsWebService: ResolveQuery() changes done to avoid using default system dns servers. 2018-08-05 17:06:41 +05:30
Shreyas Zare
bc82254542 DnsWebService: implemented backend support for recursion only for private network option. 2018-08-04 15:09:21 +05:30
Shreyas Zare
c041dd4759 DnsWebService: removed "server" response header. Implemented changes required by dns client library. 2018-08-04 13:04:56 +05:30
Shreyas Zare
cad321e69f DnsWebService: added save zone file after updating mname in SOA records. 2018-07-15 18:28:58 +05:30
Shreyas Zare
33267350c8 DnsWebService: removed OffsetStream dependency. Updated SetDnsSettings() to overwrite mname on all SOA records with server domain. 2018-07-15 18:15:50 +05:30
Shreyas Zare
5a6a08644d DnsWebService: fixed dns.config serialization bug. added password hashing feature using HMAC-SHA256 to store credentials in config file. 2018-06-27 13:23:21 +05:30
Shreyas Zare
84963862a8 DnsWebService: forwarder ipv6 parsing issue fixed. Update code changes done to depricate use of bincoding and added proxy support. 2018-06-23 14:58:51 +05:30
Shreyas Zare
a83545442a forwarder config serialization implemented to support DoH Uri. 2018-06-17 23:20:28 +05:30
Shreyas Zare
25260deaa1 DnsWebService: proxy and forwarder protocol feature support added in API. Bincoding based file format depricated. 2018-06-16 23:07:19 +05:30
Shreyas Zare
2fc4203f9f DnsWebService: implemented SRV record backend api support. 2018-02-16 22:35:03 +05:30
Shreyas Zare
e29230cae7 moved update check url to app level allowing each app to have correct update check download link. 2018-01-26 20:14:43 +05:30
Shreyas Zare
cb72bd007f DnsWebService: fixed minor issue due to mono throwing NullReferenceException. 2017-12-16 22:23:39 +05:30
Shreyas Zare
d959b2fcdf DnsWebService: implemented separate update uri based on type of app and OS to allow providing direct download links for updates. Log queries setting feature implemented. Minor changes done. 2017-12-16 20:30:15 +05:30
Shreyas Zare
9d001304cd DnsWebService: implemented log manager. added log manager api for managing logs from web panel. 2017-12-11 00:18:37 +05:30
Shreyas Zare
128205644d DnsWebService: skip cached domain with empty entries feature added to allow easy use of cache browsing. 2017-12-04 23:45:30 +05:30
Shreyas Zare
d837fe5980 DnsWebService: bincoding library changes implemented. 2017-12-03 23:49:48 +05:30
Shreyas Zare
0cef5021f5 DnsWebService: Save zone file code updated to allow storing all records for a given authoritative zone in a single file instead of different file for each sub domain. Implemented delete zone file feature accordingly. 2017-11-17 18:54:11 +05:30
Shreyas Zare
dbeb9a6198 minor issue fixed. 2017-11-05 15:59:24 +05:30
Shreyas Zare
920a7b13e5 DnsWebService: output buffering done. minor issue fixed. 2017-11-05 00:43:23 +05:30