45 Commits

Author SHA1 Message Date
Shreyas Zare
b2a171594b DomainTree: Updated ConvertToByteKey() implementation to allow handling validation errors gracefully. 2025-11-02 16:06:39 +05:30
Shreyas Zare
17c92120d4 AuthZoneTree: Updated NSec3AddProofOfCoverFor() implementation with a simplified logic. 2025-07-06 20:03:41 +05:30
Shreyas Zare
337026f0b6 AuthZoneTree: fixed bug in NSec3AddProofOfCoverFor() which skipped alternate nsec3 records when finding last nsec3. Code refactoring changes done. 2025-06-29 18:53:40 +05:30
Shreyas Zare
112eb5d3e4 AuthZoneTree: Fixed FindNSecProofOfNonExistenceNoData() to add missing proof of cover for wildcard nodata answer case. Fixed FindNSec3ProofOfNonExistenceNoData() to add missing proof of cover and closest encloser for wildcard nodata answer case. Code refactoring changes done. 2025-06-29 17:57:25 +05:30
Shreyas Zare
dd06b53ff3 AuthZoneTree: minor change. 2025-05-31 13:23:08 +05:30
Shreyas Zare
d50d62d26b AuthZoneTree: minor changes in error message done. 2025-04-19 15:44:29 +05:30
Shreyas Zare
db193e217c AuthZoneTree: fixed bug in FindNSec3ProofOfNonExistenceNxDomain() that caused infinite loop in some scenarios and removed cancellation code. 2024-12-21 15:27:39 +05:30
Shreyas Zare
bdf59b2bbb ZoneTree: updated FindZoneNode() to correctly handle wildcard case with ENT subdomain for queries that should return wildcard. 2024-11-23 13:08:58 +05:30
Shreyas Zare
bc4b65e2c3 AuthZoneTree: added GetApexZone() method. 2024-09-21 12:31:37 +05:30
Shreyas Zare
a64aa988e9 AuthZoneTree: Updated TryRemove() to support removing all subdomain names for the removed subdomain. Added GetSubDomainZoneWithSubDomainZones() method. Updated FindNSec3ProofOfNonExistenceNxDomain() and FindNSec3ProofOfNonExistenceNoData() to have cancellation token. Code refactoring done. 2024-09-14 16:52:47 +05:30
Shreyas Zare
6489c9828c ZoneTree: fixed wildcard matching bug in FindZoneNode(). 2024-03-16 13:27:38 +05:30
Shreyas Zare
7ed733e8aa ZoneTree: fixed issue with wildcard matching conditions with ENT entries. 2024-02-08 19:07:51 +05:30
Shreyas Zare
818b0c31c6 removed obsolete code. 2024-02-04 17:26:37 +05:30
Shreyas Zare
9f0d574a1f DomainTree: code refactoring done. 2024-02-04 17:25:47 +05:30
Shreyas Zare
e5e5c5460f AuthZoneTree: code refactoring changes done. 2024-02-04 17:24:43 +05:30
Shreyas Zare
63d7c55bb6 AuthZoneTree: fixed issue in SubDomainExists() to prevent NXDOMAN rcode when wildcard ENT exists. 2024-01-14 17:12:15 +05:30
Shreyas Zare
fa682e88f9 ZoneTree: fixed issue in IsKeySubDomain() when testing for wildcard. Updated FindZoneNode() to fix issues with wildcard matching and code refactoring done. 2024-01-14 17:10:25 +05:30
Shreyas Zare
36c4b258b8 ZoneTree: fixed bug in wildcard matching implementation. 2023-11-07 01:03:13 +05:30
Shreyas Zare
66fe82ad4b ZoneTree: corrected wildcard matching implementation. 2023-10-29 18:50:59 +05:30
Shreyas Zare
c4e261152a AuthZoneTree: fixed minor issue in FindZone(). 2023-10-29 18:49:46 +05:30
Shreyas Zare
bdd6629bf3 DomainTree: updated to add '/' as valid char to support classless in-addr.arpa usage. 2022-11-12 14:59:48 +05:30
Shreyas Zare
8a2c5b55ba AuthZoneNode: minor change. 2022-05-14 13:34:54 +05:30
Shreyas Zare
3a71cd38ad CacheZoneTree: updated GetClosestValuesForZone() implementation as per new definition. 2022-05-08 15:26:20 +05:30
Shreyas Zare
016ff144aa AuthZoneTree: updated GetClosestValuesForZone() implementation as per new definition. 2022-05-08 15:26:03 +05:30
Shreyas Zare
963565e5a5 ZoneTree: updated FindZoneNode() to fix minor issues and updated GetClosestValuesForZone() definition. 2022-05-08 15:24:59 +05:30
Shreyas Zare
b86fa6633f ZoneTree: updated FindZone() to clear closestSubDomain when closestAuthority value changes. 2022-04-30 18:14:56 +05:30
Shreyas Zare
eb720faaee AuthZoneTree: updated GetClosestValuesForZone() to fix issue with getting delegation for the zone value. 2022-04-30 18:14:07 +05:30
Shreyas Zare
1b00b0ba09 CacheZoneTree: renamed TryRemove() to TryRemoveTree() and added out int to return number of removed entries from the all the cache zones. 2022-04-23 17:50:10 +05:30
Shreyas Zare
ace736b1f1 AuthZoneTree: Updated FindNSecProofOfNonExistenceNxDomain() for the DnsNSECRecordData.GetWildcardFor() changes. 2022-03-26 11:40:13 +05:30
Shreyas Zare
fc98e63e05 ZoneTree: refactored param names for KeysMatch() and updated logic to check wildcard only for main key. Fixed minor bug in IsKeySubDomain(). Updated FindZoneNode() to correctly handle wildcard cases. 2022-03-26 11:39:05 +05:30
Shreyas Zare
0f89ed683d AuthZoneTree: Fixed wildcard check issue in FindNSecProofOfNonExistenceNxDomain(). Fixed nsec3 hashed owner name issue in FindNSec3ProofOfNonExistenceNxDomain() and FindNSec3ProofOfNonExistenceNoData(). 2022-03-12 15:27:04 +05:30
Shreyas Zare
c61f40b301 ZoneTree: Updated IsKeySubDomain() to add matchWildcard option. Fixed wildcard selection issues in FindZoneNode(). 2022-03-12 15:25:14 +05:30
Shreyas Zare
fa417216f3 major code refactoring done. 2022-03-06 17:24:41 +05:30
Shreyas Zare
1281e04c12 AuthZoneTree: Removed GetNextSubDomainZoneNode() since it could not detect a sub apex zone. Code refactoring done. 2022-03-06 15:48:04 +05:30
Shreyas Zare
885b93688f ZoneTree: Updated FindZoneNode() to find the closest values for wildcard matches. 2022-03-06 15:46:08 +05:30
Shreyas Zare
73232bae0a AuthZoneTree: Fixed implementation issues with GetPreviousSubDomainZoneNode(), FindPreviousSubDomainZone(), FindNextSubDomainZone() and GetNextSubDomainZoneNode(). Updated FindZone() implementation. Fixed minor issues in FindNSecProofOfNonExistenceNxDomain(). Implemented FindNSec3ProofOfNonExistenceNxDomain(). Added FindNSecProofOfNonExistenceNoData() and FindNSec3ProofOfNonExistenceNoData(). 2022-02-27 18:12:17 +05:30
Shreyas Zare
3ae268e92b CacheZoneTree: Updated FindZone() for minor changes. Code refactoring done. 2022-02-27 18:07:39 +05:30
Shreyas Zare
ccb95ebb85 DomainTree: minor refactoring done. 2022-02-27 18:05:39 +05:30
Shreyas Zare
f5d25763be ZoneTree: Updated KeysMatch() to optionally support wildcard matching. Updated FindZoneNode() to optionally support wildcard search, added closestSubDomainNode out parameter, and fixed minor issue with wildcard. Code refactoring done. 2022-02-27 18:04:56 +05:30
Shreyas Zare
d29e50a4e5 AuthZoneNode: removed unused constructor. Implemented GetAuthZone() method and Name property. 2022-02-27 17:54:39 +05:30
Shreyas Zare
e0b7322f3b AuthZoneTree: fixed issues in implementation for GetPreviousSubDomainZoneNode(), GetNextSubDomainZoneNode(), and GetAuthZoneFromNode(). Added FindPreviousSubDomainZone() and FindNextSubDomainZone(). Fixed issues in FindNSecProofOfNonExistenceNxDomain() and FindNSec3ProofOfNonExistenceNxDomain(). Code refactoring done. 2022-02-19 12:57:30 +05:30
Shreyas Zare
595fb7d0a1 CacheZoneTree: minor refactoring changes. 2022-02-19 12:51:03 +05:30
Shreyas Zare
ffd31e05e6 ZoneTree: renamed FindZone() to FindZoneNode(). Updated FindZoneNode() to set correct closest authority when exact match is found for an apex zone. 2022-02-19 12:50:33 +05:30
Shreyas Zare
068f84c8cd AuthZoneTree: implemented FindNSEC3ProofOfNonExistenceNxDomain() and refactored FindNSECProofOfNonExistenceNxDomain(). 2022-01-23 16:46:30 +05:30
Shreyas Zare
e8a7353075 minor refactoring done. 2022-01-16 19:58:42 +05:30