Commit Graph

945 Commits

Author SHA1 Message Date
Shreyas Zare
a1df69dbd8 AuthZoneInfo: updated code to add support for configurable zone transfer and notify options. 2021-05-23 16:54:27 +05:30
Shreyas Zare
d3dc1b8802 AuthZone: implemented AuthZoneTransfer and AuthZoneNotify to support feature to allow configurable options for zone transfer and notify. Added new constructor to assign variables directly from AuthZoneInfo. 2021-05-23 16:51:55 +05:30
Shreyas Zare
d5332e49cd minor refactoring. 2021-05-23 16:49:40 +05:30
Shreyas Zare
05b6e1d1fa webapp: updated load and save settings code for recursion ACL options. 2021-05-16 17:14:23 +05:30
Shreyas Zare
d8a51c2f62 webapp: updated html code for new recursion ACL settings. 2021-05-16 17:11:51 +05:30
Shreyas Zare
ace189b56f DnsWebService: Implemented API support for recursion ACL options. Updated RecolveQuery() method to use new NameServerAddress's ResolveIPAddressAsync() and ResolveDomainNameAsync() methods by passing dns server object to perform internal resolution. Updated config file code for new recursion ACL options. 2021-05-16 17:11:04 +05:30
Shreyas Zare
3c15e96ec7 DnsServer: Implemented IDnsClient interface for direct querying. Implemented recursion ACL options. 2021-05-16 16:52:46 +05:30
Shreyas Zare
fbe161a648 webapp: updated apps UI layout. 2021-05-15 13:19:28 +05:30
Shreyas Zare
fb8263ad95 minor change 2021-05-14 18:47:18 +05:30
Shreyas Zare
949bc40541 webapp: allowing multi paragraph description for app details. 2021-05-14 18:46:54 +05:30
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