Commit Graph

22 Commits

Author SHA1 Message Date
Shreyas Zare
2be4a3ed5d CacheZone: updated SetRecords() to set ParentSideTtl values for new NS records from existing NS records for use with NS revalidation. Updated QueryRecords() to remove DS from ANY response. 2022-05-08 15:30:00 +05:30
Shreyas Zare
96c66ace10 CacheZone: updated ValidateRRSet(), SetRecords() to set cached record's LastUsedOn value. Updated SetRecords() to return true when record was added. Updated RemoveExpiredRecords() to return number of entries removed. Added RemoveLeastUsedRecords() to remove least used entries by given cutoff. Added TotalEntries property. 2022-04-23 17:53:04 +05:30
Shreyas Zare
d0146d4229 CacheZone: Updated SetRecords() to use DnsSpecialCacheRecord.IsFailureOrBadCache in condition check to cover both failure and bad cache cases. 2022-03-13 20:54:04 +05:30
Shreyas Zare
fa417216f3 major code refactoring done. 2022-03-06 17:24:41 +05:30
Shreyas Zare
ba1d79883c CacheZone: minor changes done. 2022-02-27 18:14:48 +05:30
Shreyas Zare
ce8961983d CacheZone: updated code to support DNSSEC. 2022-01-16 19:34:03 +05:30
Shreyas Zare
da454a2a9d CacheZone: fixed issue when records in a RRSet have different TTL values by considering entire RRSet as expired when one record expires. 2021-09-18 11:57:22 +05:30
Shreyas Zare
c697384134 CacheZone: implemented DnsSpecialCacheRecord. 2021-06-19 14:21:09 +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
8268bfdb30 CacheZone: using specific capacity for memory optimization. minor code refactoring done. 2021-04-10 13:38:57 +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
92aa52a269 minor refactoring 2021-03-21 16:37:50 +05:30
Shreyas Zare
ed9eba4f63 CacheZone: minor changes. 2021-03-21 16:34:38 +05:30
Shreyas Zare
2d013cfad9 CacheZone: removed usage of DnsCache.DnsANYRecord any correctly implement ANY. 2021-03-21 16:34:10 +05:30
Shreyas Zare
03a51d3d22 CacheZone: fixed bug in QueryRecords() which returned CNAME with special dns record RDATA. Updated SetRecords to remove old CNAME only when its RDATA is DnsCNAMERecord. 2021-03-06 16:34:17 +05:30
Shreyas Zare
7a04792397 CacheZone: added filterSpecialCacheRecords option to FilterExpiredRecords to allow filtering special records that cache zone stores. 2021-02-27 18:26:13 +05:30
Shreyas Zare
f326110514 CacheZone: optimized code in ContainsNameServerRecords(). 2020-06-28 19:32:44 +05:30
Shreyas Zare
f22972abd9 CacheZone: fixed minor typo bug. 2020-06-27 11:41:52 +05:30
Shreyas Zare
0ac4b61f28 minor code refactoring. 2020-06-20 14:08:10 +05:30
Shreyas Zare
d87b2e7548 CacheZone: updated base class changes. 2020-06-06 15:58:50 +05:30
Shreyas Zare
6763bdd5fa added licence info. 2020-05-23 18:04:47 +05:30
Shreyas Zare
69e10fc375 added new Zone classes 2020-05-23 16:45:17 +05:30