Commit Graph

512 Commits

Author SHA1 Message Date
Shreyas Zare
39920870ba DnsServer: Updated default settings. Updated PreProcessQueryAsync() and ProcessAuthoritativeQueryAsync() to handle dns app errors. Implemented conditional forwarding zone support for controlling DNSSEC validation for this-server option. Added validation for properties. 2022-03-12 15:40:06 +05:30
Shreyas Zare
4fccdb522c StatsManager: minor code refactoring done. 2022-03-12 15:36:13 +05:30
Shreyas Zare
389f378208 ResolverPrefetchDnsCache: Added error handling for dns app calls. 2022-03-12 15:35:30 +05:30
Shreyas Zare
c04fcf91bf ResolverDnsCache: Added error handling for dns app calls. 2022-03-12 15:35:05 +05:30
Shreyas Zare
0365cb7080 AuthZoneInfo: Implemented zsk rollover option. 2022-03-12 15:34:07 +05:30
Shreyas Zare
4a8d994602 PrimaryZone: Implemented zsk automatic rollover feature. Fixed nsec3 hashed owner name issue. 2022-03-12 15:33:23 +05:30
Shreyas Zare
7280e86547 ForwarderSubDomainZone: updated code to add validation checks. 2022-03-12 15:31:16 +05:30
Shreyas Zare
4adf0dc5d4 ForwarderZone: Updated implementation to allow adding NS records to make the zone work as an stub zone. 2022-03-12 15:30:32 +05:30
Shreyas Zare
0da36928b0 AuthZone: Fixed minor name issue in GetPartialNSec3Record(). 2022-03-12 15:29:43 +05:30
Shreyas Zare
2712434144 AuthZoneManager: Updated GetForwarderResponse() implementation to check for NS records first to work as a stub zone. Other minor implementation changes done. 2022-03-12 15:28:59 +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
c31d765b87 DnsApplicationManager: updated InstallApplicationAsync() to validate app name. 2022-03-12 15:23:38 +05:30
Shreyas Zare
7c61be02eb DnsApplicationAssemblyLoadContext: updated implementation to cache the IntPtr address for loaded unmanaged modules to reuse it and prevent reloading it to fix issues with new Sqlite nuget package. 2022-03-12 15:22:51 +05:30
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