Commit Graph

498 Commits

Author SHA1 Message Date
Shreyas Zare
fa417216f3 major code refactoring done. 2022-03-06 17:24:41 +05:30
Shreyas Zare
fc422563a3 DnsServer: updated DnssecValidation property to clear cache when switching on DNSSEC validation to remove all unvalidated cached records. 2022-03-06 16:09:40 +05:30
Shreyas Zare
594b7f8b91 PrimarySubDomainZone: Updated implementation to validate of the RRSet type is supported by DNSSEC. 2022-03-06 16:06:26 +05:30
Shreyas Zare
af88ea9e5d PrimaryZone: Fixed minor issue with zone signing. Added missing notify trigger calls when converting between NSEC and NSEC3. Updated GetDSPublishedPrivateKeys() to use DirectQueryAsync() to get DS records. Updated implementation to validate if the RRSet type supports signing. Code refactoring done. 2022-03-06 16:05:42 +05:30
Shreyas Zare
d813fe2fe1 AuthZone: Updated implementation to allow multiple PTR records. Minor validation check added. 2022-03-06 16:01:09 +05:30
Shreyas Zare
8696566c48 AuthZoneManager: Updated GetOrAddSubDomainZone() to use TryGet to directly get the apex zone. Updated implementation to allow multiple PTR records. Code refactoring done. 2022-03-06 16:00:08 +05:30
Shreyas Zare
7bc6ff9e70 CacheZoneManager: Updated Query() to use FindZone call only when its required to find closest name servers else it will use TryGet to directly get the value from tree. 2022-03-06 15:50:24 +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
c29c120624 DnssecPrivateKey: updated SignRRSet() to mod the expiration and inception dates to keep them within uint limits. 2022-03-06 15:44:23 +05:30
Shreyas Zare
79282be643 AuthZoneManager: updated LoadTrustAnchorsTo() to skip revoked dns keys. 2022-02-27 19:57:39 +05:30
Shreyas Zare
5e7dbe38cb AuthZoneManager: updated code for DNSSEC implementation. Added LoadTrustAnchorsTo() to load trust anchors for locally hosted auth zones. 2022-02-27 18:19:45 +05:30
Shreyas Zare
35a8a46004 PrimaryZone: fixed multiple DNSSEC implementation issues. 2022-02-27 18:17:20 +05:30
Shreyas Zare
790b968029 ForwarderZone: minor changes done. 2022-02-27 18:15:13 +05:30
Shreyas Zare
ba1d79883c CacheZone: minor changes done. 2022-02-27 18:14:48 +05:30
Shreyas Zare
3e8b74a15d AuthZone: added GetUpdatedNSec3RRSet(). Fixed issues in CreateNSec3RRSet() and GetPartialNSec3Record(). Updated QueryRecords() to return exact type records for selected types. 2022-02-27 18:14: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
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