Commit Graph

935 Commits

Author SHA1 Message Date
Shreyas Zare
53fc761903 DnsServer: returning ServerFailure when ANAME record fails to resolve any address. 2021-05-09 18:38:21 +05:30
Shreyas Zare
1d838af920 minor code refactoring done. 2021-05-08 16:28:02 +05:30
Shreyas Zare
776b77a165 DnsServer: updated QueryCache() method with correct condition checks for cache response. Removed reset expiry code for stale records since it was moved to cache zone manager. 2021-05-08 16:18:34 +05:30
Shreyas Zare
73094fb692 ResolverPrefetchDnsCache: code refactoring done. 2021-05-08 16:16:54 +05:30
Shreyas Zare
889ee022e7 ResolverDnsCache: updated Query() method with correct check conditions for auth and cache response. 2021-05-08 16:15:19 +05:30
Shreyas Zare
87738f5c65 CacheZoneManager: updated Query() method with serveStaleAndResetExpiry parameter to handle resetting stale records in one place. 2021-05-08 16:12:17 +05:30
Shreyas Zare
486981e7e0 DnsApplicationManager: updated UpdateApplicationAsync() method to avoid overwriting dns app config file while updating the app. 2021-05-08 15:49:43 +05:30
Shreyas Zare
3658007c77 StubZone: updated SetRecords() to support comments for SOA record. 2021-05-08 15:45:08 +05:30
Shreyas Zare
68fa1685f8 SecondaryZone: updated SetRecords() to support comments for SOA record. 2021-05-08 15:44:49 +05:30
Shreyas Zare
96aedcd8d8 PrimaryZone: updated SetRecords() to support comments for SOA record. 2021-05-08 15:44:27 +05:30
Shreyas Zare
fec9078129 webapp: implemented comments support in zone.js 2021-05-08 15:43:20 +05:30
Shreyas Zare
6b8db352df webapp: added comments text box to add/edit modal. 2021-05-08 15:42:17 +05:30
Shreyas Zare
d8b9a4e010 DnsWebService: added comments support in AddRecord and UpdateRecord. 2021-05-08 15:41:35 +05:30
Shreyas Zare
e73af2841f DnsResourceRecordExtension: added GetComments() and SetComments() extension methods. 2021-05-08 15:39:26 +05:30
Shreyas Zare
089d0e2dc6 DnsResourceRecordInfo: added comments property to resource records. 2021-05-08 15:38:03 +05:30
Shreyas Zare
547a8b8f0f assembly version updated for release. 2021-05-02 16:00:14 +05:30
Shreyas Zare
79187c24ad webapp: updated apps.js to show update notification in the installed apps list with a Store Update button. Also updated the store apps modal to show the app zip file size. 2021-05-01 14:07:06 +05:30
Shreyas Zare
d326886ece DnsWebService: updated list installed apps api to return if a store app has updates available. Updated list store apps to return size of the app zip file. 2021-05-01 14:05:29 +05:30
Shreyas Zare
55abc83841 StatsManager: updated module to truncate the daily stats file to top 1000 records to prevent loading large amount of data in memory. Updated code to return top 10 query type stats. 2021-05-01 13:56:34 +05:30
Shreyas Zare
58f72ce9ba LogManager: fixed issue that would set queue cancellation token even when logging is stopped causing the logging thread to block when enabling again. 2021-05-01 13:53:23 +05:30
Shreyas Zare
af8cdfae6e assembly version updated for release 2021-04-24 14:39:17 +05:30
Shreyas Zare
4949b41e6f webapp: fixed issue in checkForWebConsoleRedirection() causing redirection when using reverse proxy. 2021-04-24 13:21:25 +05:30
Shreyas Zare
948e11ccb2 DnsWebService: added json response for glue records in MX and SRV records. 2021-04-24 13:20:33 +05:30
Shreyas Zare
eaa16f93d9 DnsServer: added missing response type tags to reflect correctly in stats. Forcing recursive resolution for delegation. Code refactoring done. 2021-04-24 13:19:29 +05:30
Shreyas Zare
c65b4397a2 removed blocklist.txt to avoid overwriting existing file on software update. 2021-04-24 12:51:56 +05:30
Shreyas Zare
270db959f2 ResolverPrefetchDnsCache: updated code to check for null. 2021-04-24 12:47:53 +05:30
Shreyas Zare
b917bc4518 ResolverDnsCache: updated code to check for null. 2021-04-24 12:47:29 +05:30
Shreyas Zare
f006ffb887 CacheZoneManager: added checks to prevent returning root name servers from cache. Code refactoring done. 2021-04-24 12:14:36 +05:30
Shreyas Zare
1d48f1a268 AuthZoneManager: code refactoring done. 2021-04-24 12:12:32 +05:30
Shreyas Zare
d2c5243ecf BlockListZoneManager: code refactoring done. 2021-04-24 12:11:35 +05:30
Shreyas Zare
72ff0edfc7 AuthZoneInfo: code refactoring done. 2021-04-24 12:10:30 +05:30
Shreyas Zare
f83fc46fd0 assembly version updated to v6.2.1 for release. 2021-04-17 17:28:00 +05:30
Shreyas Zare
b86ea4e71d webapp: minor html updates. 2021-04-17 14:22:32 +05:30
Shreyas Zare
8825f08e76 DnsServer: updated code for resetting expiry for stale records and moved it into QueryCache() method to allow reseting to occur when the first client's request expires to quickly serve stale for other clients even before the background recursive resolution process completed. 2021-04-17 14:22:09 +05:30
Shreyas Zare
519c9a7145 AuthZoneManager: implemented ResolveCNAME() to resolve CNAME from auth zones in one go for optimization. Using TryGet() method directly in ResolveAdditionalRecords() for optimization. Fixed issue with condition check sequence when returning delegation NS records in QueryClosestDelegation(). 2021-04-17 14:19:09 +05:30
Shreyas Zare
5d1b8ba887 CacheZoneManager: implemented ResolveCNAME() method to resolve CNAME from cache in one go for optimization. Updated ResolveAdditionalRecords() to use direct TryGet() method which costs less. Fixed issue with code condition check sequence when returning delegation NS records in QueryClosestDelegation() and Query() methods. 2021-04-17 14:16:52 +05:30
Shreyas Zare
53873094ff CacheZone: fixed bug in ContainsNameServerRecords() that caused returning true when the NS record contains special cache record. Code updated to use DnsResourceRecord.IsExpired() method to check if record is expired. Minor code refactoring done. 2021-04-17 14:13:20 +05:30
Shreyas Zare
d8ace8d2d3 assembly version updated for release. 2021-04-11 21:17:39 +05:30
Shreyas Zare
eb1005697e DnsServer: fixed bug in ProcessBlockedQuery() caused by missing else condition check which would cause the server to return Refused response when block zone is not empty and block list zone is empty. 2021-04-11 20:43:34 +05:30
Shreyas Zare
e710cc8a7e webapp: implemented js code for UseNxDomainForBlocking option in settings. Refactored NameError to NxDomain. 2021-04-11 17:45:57 +05:30
Shreyas Zare
503d22be8d webapp: updated html to implement UseNxDomainForBlocking option in settings. Refactored Name Error to NX Domain. 2021-04-11 17:44:49 +05:30
Shreyas Zare
62aa93c118 DnsWebService: implemented useNxDomainForBlocking option in api. Refactored Name Error to NX Domain. 2021-04-11 17:43:20 +05:30
Shreyas Zare
eeac4ec5a6 DnsServer: implemented UseNxDomainForBlocking option. 2021-04-11 17:42:05 +05:30
Shreyas Zare
8e4cfacbb0 BlockListZoneManager: implemented UseNxDomainForBlocking option. 2021-04-11 17:41:05 +05:30
Shreyas Zare
ba7b053bf0 refactored NameError to NxDomain 2021-04-11 17:40:23 +05:30
Shreyas Zare
d9e1a68ced webapp: fixed dashboard table html style issue 2021-04-11 15:28:20 +05:30
Shreyas Zare
0aec2ea64d assembly version updated for release. 2021-04-10 17:48:22 +05:30
Shreyas Zare
f724230cad webapp: updated app.js for dns app store feature. 2021-04-10 14:16:24 +05:30
Shreyas Zare
fdc29d128e webapp: added dns app store html. 2021-04-10 14:15:23 +05:30
Shreyas Zare
aadfb7cdec DnsWebService: Implemented _webServiceHttpEP to keep track of correct http web server ep. Added dns app store support api. Using SocketsHttpHandler in CheckForUpdateAsync(). Code refactoring done. 2021-04-10 14:14:28 +05:30