Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
ba7b053bf0 refactored NameError to NxDomain 2021-04-11 17:40:23 +05:30
Shreyas Zare
4dfba23dcf CacheZoneManager: using specific capacity in CacheRecords(). 2021-04-10 13:43:35 +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
4db2098b0f CacheZoneManager: added validation for '*' in CacheRecords() to prevent abuse due to caching wildcard response. Fixed null ref exception in GetAdditionalRecords(). 2021-03-27 16:35:07 +05:30
Shreyas Zare
d9bc59f3c3 CacheZoneManager: removed DnsANYRecord usage. 2021-03-21 16:38:33 +05:30
Shreyas Zare
85ac382d07 CacheZoneManager: implemented filterSpecialCacheRecords option in calls to prevent internal cache records from leaking. 2021-02-27 18:27:26 +05:30
Shreyas Zare
e286331008 CacheZoneManager: updated CacheRecords() to read glue records from base class and set it again on the record as per DNS server method. Implemented glue record resolution in ResolveAdditionalRecords(). 2021-01-26 15:51:04 +05:30
Shreyas Zare
e5ec73c7c3 CacheZoneManager: updated serve stale default TTL to 3 days. 2020-12-19 12:35:57 +05:30
Shreyas Zare
885c832000 CacheZoneManager: updated code to do additional section processing for NS, MX and SRV queries. 2020-10-31 13:18:50 +05:30
Shreyas Zare
3781afcd8d CacheZoneManager: fixed issue which caused the cache manager to respond with RCODE refused instead of returning available closest name servers. 2020-10-11 16:15:02 +05:30
Shreyas Zare
e4bb8c15eb minor change 2020-10-04 14:50:08 +05:30
Shreyas Zare
c1a3e0fe86 minor refactoring done. 2020-06-20 14:09:35 +05:30
Shreyas Zare
a965e69d93 code refactoring done. 2020-06-13 14:17:14 +05:30
Shreyas Zare
92de0601d3 CacheZoneManager: added failure record TTL support. Code refactoring done. 2020-06-06 16:23:08 +05:30