Commit Graph

482 Commits

Author SHA1 Message Date
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
a89bb85b52 DnssecPrivateKey: minor changes done. 2022-02-27 17:53:38 +05:30
Shreyas Zare
e6b2615693 StatsManager: Updated DoMaintenance() to unload not required minute stats from cached hourly stats data for objects older than 1 hour to free memory. 2022-02-20 17:54:39 +05:30
Shreyas Zare
cc2e546678 DnsServer: fixed minor issue and code refactoring changes done. 2022-02-19 13:09:38 +05:30
Shreyas Zare
98491afde7 PrimaryZone: implemented DNSSEC signed primary zone support with NSEC and NSEC3. 2022-02-19 13:08:55 +05:30
Shreyas Zare
4ebf222fb5 PrimarySubDomainZone: implemented dnssec record manipulation support. 2022-02-19 13:07:38 +05:30
Shreyas Zare
19384f42d7 AuthZoneInfo: added dnssec private key parameter. Added dnssec related properties. 2022-02-19 13:06:50 +05:30
Shreyas Zare
d12a45cff4 AuthZone: updated dns record versioning method implementation to support DNSSEC. Added methods for DNSSEC related operations. Minor code refactoring done. 2022-02-19 13:05:26 +05:30
Shreyas Zare
9d9c0e24db ApexZone: added dnssec status support. 2022-02-19 13:03:46 +05:30
Shreyas Zare
2dd993c707 AuthZoneManager: added GetZoneWithSubDomainZones(), FindZone(), FindNextSubDomainZone(), FindPreviousSubDomainZone(), and RemoveSubDomainZone() internal methods for use with DNSSEC implementation. Implemented DNSSEC related methods to allow access to API. Implemented FindAuthZoneInfo() and GetAuthZoneInfo(). Updated Query() with DNSSEC related changes. Code refactoring done. 2022-02-19 13:03:02 +05:30
Shreyas Zare
7e0730c825 BlockedZoneManager: updated default SOA values. 2022-02-19 12:58:43 +05:30
Shreyas Zare
b33b4a0c52 AllowedZoneManager: updated default SOA values. 2022-02-19 12:58:17 +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
2a75d150f2 added DnssecEcdsaPrivateKey 2022-02-19 12:47:23 +05:30
Shreyas Zare
77e58f9661 added DnssecRsaPrivateKey 2022-02-19 12:46:58 +05:30
Shreyas Zare
0908ac9e70 added DnssecPrivateKey 2022-02-19 12:46:30 +05:30
Shreyas Zare
2730c914ff minor refactoring changes done. 2022-01-23 20:21:13 +05:30
Shreyas Zare
9e366bba8f SecondaryZone: removed EDNS from zone transfer request since the IXFR is done over TCP and causes FormatError response from MS DNS. 2022-01-23 20:20:29 +05:30
Shreyas Zare
428ae224ca DnsServer: implemented DNSSEC. Implemented new conditional forwarder changes. 2022-01-23 17:58:38 +05:30
Shreyas Zare
bb6582faa9 AuthZoneManager: implemented AuthZoneTree. Implemented DNSSEC support. Added ImportRecords() to use with DNS Client import feature. 2022-01-23 17:50:05 +05:30
Shreyas Zare
6791966d95 removed unused methods. 2022-01-23 17:35:07 +05:30
Shreyas Zare
3dce9b311d BlockListZoneManager: minor refactoring changes done. 2022-01-23 17:33:58 +05:30
Shreyas Zare
203ac9433a CacheZoneManager: updated implementation to support DNSSEC. 2022-01-23 17:32:53 +05:30
Shreyas Zare
7dea1718d9 ResolverPrefetchDnsCache: updated DnsApplicationQueryClosestDelegation() and Query() to correctly find authority record. 2022-01-23 17:25:51 +05:30
Shreyas Zare
0d44b558d8 ResolverDnsCache: updated Query() to correctly find authority record. Updated CacheResponse() implementation. 2022-01-23 17:23:31 +05:30
Shreyas Zare
6a31108f7b ApexZone: minor changes done in GetPrimaryNameServerAddressesAsync(). 2022-01-23 17:18:18 +05:30
Shreyas Zare
2f608e0db1 StubZone: resolving name server address internally in CreateAsync(). Removed WithTimeout() for direct query. 2022-01-23 17:09:45 +05:30
Shreyas Zare
5ab6e47c9f SecondaryZone: resolving name server address internally in CreateAsync(). Removed WithTimeout() for direct query. 2022-01-23 17:08:59 +05:30
Shreyas Zare
527944b4e9 ForwarderZone: added dnssec validation and proxy support. 2022-01-23 17:07:42 +05:30
Shreyas Zare
2a2faea637 ApexZone: removed WithTimeout() call for direct query. 2022-01-23 17:06:59 +05:30
Shreyas Zare
882a3a250d DnsResourceRecordInfo: added properties to get and set rrsig & nsec records for use by cache zone. 2022-01-23 17:06:04 +05:30
Shreyas Zare
2f81252ffb DnsServerInternal: updated DirectQueryAsync() implementation. 2022-01-23 17:04:48 +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
Shreyas Zare
e1f5a97b93 StubZone: using ApexZone. Fixed minor issue in name comparison. 2022-01-16 19:45:51 +05:30
Shreyas Zare
be0a2990b8 SecondaryZone: using ApexZone. Enabled EDNS for IXFR request. 2022-01-16 19:44:45 +05:30
Shreyas Zare
40d84b1120 ForwarderZone: using ApexZone. 2022-01-16 19:43:32 +05:30
Shreyas Zare
a4b672f79f AuthZoneInfo: updated code to use ApexZone. 2022-01-16 19:42:54 +05:30
Shreyas Zare
fcf555fea5 PrimarySubDomainZone: Fixed UpdateRecord() to handle error case correctly. 2022-01-16 19:35:57 +05:30
Shreyas Zare
e300ef1efd PrimaryZone: inheriting ApexZone. Fixed issue in UpdateRecord() by handling the error case correctly. 2022-01-16 19:35:12 +05:30
Shreyas Zare
ce8961983d CacheZone: updated code to support DNSSEC. 2022-01-16 19:34:03 +05:30
Shreyas Zare
ae0f326bfe ApexZone: added new abstract class by splitting AuthZone class to be used by auth zones apex nodes. 2022-01-16 19:32:55 +05:30
Shreyas Zare
a11269ece2 AuthZone: removed code for apex zone into a new ApexZone class. Added DNSSEC related implementation. 2022-01-16 19:31:33 +05:30
Shreyas Zare
a7542598c8 AuthZoneNode: added new class to allow AuthZoneTree to store parent side records as well as authoritative zone to allow DS records to exists at parent zone and for NS records to exists in both parent and child zone. 2022-01-16 19:28:26 +05:30