Commit Graph

911 Commits

Author SHA1 Message Date
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
Shreyas Zare
f5da78c579 DnsServer: reusing memory stream in ReadUdpRequestAsync(). Updated ProcessAPPAsync() to return server failure when app or class path is not found. Updated CachePrefetchRefreshTimerCallback() and RefreshCacheAsync() to prevent double refresh attempts. Updated CachePrefetchRefreshTimerCallback() to use threadpool tasks for better concurrency. Updated CacheMaintenanceTimerCallback() to reset due time in finally for next interval callback and using sync lock. Fixed bug in UpdateThisServer() logic. 2021-04-10 13:58:48 +05:30
Shreyas Zare
be9ff3ea75 AuthZoneManager: minor code refactoring. 2021-04-10 13:44:54 +05:30
Shreyas Zare
fdb1ec8cc8 BlockListZoneManager: using SocketsHttpHandler. 2021-04-10 13:44:12 +05:30
Shreyas Zare
4dfba23dcf CacheZoneManager: using specific capacity in CacheRecords(). 2021-04-10 13:43:35 +05:30
Shreyas Zare
265d436dec AuthZone: minor code refactoring. 2021-04-10 13:42:46 +05:30
Shreyas Zare
8268bfdb30 CacheZone: using specific capacity for memory optimization. minor code refactoring done. 2021-04-10 13:38:57 +05:30
Shreyas Zare
ac7c95eedf Zone: memory optimization done by using specific capacity for concurrent dictionary. 2021-04-10 13:37:57 +05:30
Shreyas Zare
6df2d0ae37 ZoneTree: code refactoring done. 2021-04-10 13:36:54 +05:30
Shreyas Zare
4f52a2723b DnsApplicationManager: code refactoring done. 2021-04-10 13:36:27 +05:30
Shreyas Zare
41e84d0fa9 DnsApplication: code refactoring done. 2021-04-10 13:35:59 +05:30
Shreyas Zare
36530ccf55 DhcpServer: code refactoring done. 2021-04-10 13:35:24 +05:30
Shreyas Zare
251e4e10bf Scope: code refactoring done. 2021-04-10 13:34:02 +05:30
Shreyas Zare
bba3a71f5d OptionOverloadValue: added flags attribute. 2021-04-10 13:32:56 +05:30
Shreyas Zare
bef86060eb ClientIdentifierOption: class made public 2021-04-10 13:32:35 +05:30
Shreyas Zare
37256bb8ec ClientFullyQualifiedDomainNameFlags: added flags attribute. 2021-04-10 13:32:15 +05:30
Shreyas Zare
95d5da9559 DnsWebService: removed https timeout code in TlsToHttpTunnelAsync() and letting the http server to do timeout to avoid getting connection reset when downloading files. 2021-04-03 12:49:34 +05:30
Shreyas Zare
a6f839d68c DnsServer: updated cache maintenance timers to 15 mins. Updated sequence of quering for allowed and blocked zones since the old sequence was not optimal for the current state of code. Added RCODE check in RecursiveResolveAsync() before returning the response so that serve stale works when failure response is received. 2021-04-03 12:47:45 +05:30
Shreyas Zare
7975f07f42 ResolverPrefetchDnsCache: fixed prefetch query handling so that auth zone is also queried along with cache zone to get the most relevant closest name servers. 2021-04-03 12:33:32 +05:30
Shreyas Zare
2dd9b89e74 AuthZoneManager: implemented QueryClosestDelegation(). 2021-04-03 12:32:23 +05:30
Shreyas Zare
f8230ce7a1 CacheZoneManager: updated code to require DnsServer reference to read serve stale option. 2021-04-03 12:31:51 +05:30
Shreyas Zare
68a0864938 CacheZone: updated SetRecords() to consider if serve stale is enabled or not. Updated RemoveExpiredRecords() implementation to consider serve stale and for code optimization. 2021-04-03 12:30:46 +05:30
Shreyas Zare
c79512886c DnsServer: updated ANY request handling in ProcessQueryAsync(). 2021-03-29 15:28:08 +05:30
Shreyas Zare
557df24ade DnsServer: minor optimizations done. 2021-03-27 20:16:15 +05:30
Shreyas Zare
2cd08843cd DnsWebService: trying to start web service on 127.0.0.1 when it fails to start with default hostname. 2021-03-27 19:29:00 +05:30