Commit Graph

526 Commits

Author SHA1 Message Date
Shreyas Zare
9d69359d66 PrimaryZone: Added validation to prevent disabling records for signed zones. Removed zskRolloverDays implementation and implemented rolloverDays for DnssecPrivateKey. Updated SignRRSet() to not sign NS refererrer records. 2022-03-26 11:48:52 +05:30
Shreyas Zare
e30d451c6b PrimarySubDomainZone: Added validation to prevent disabling records for signed zones. 2022-03-26 11:45:28 +05:30
Shreyas Zare
39f60523b3 ForwarderZone: Updated constructor to allow setting FWD record comments. 2022-03-26 11:44:36 +05:30
Shreyas Zare
45aa092620 AuthZoneInfo: Removed zskRolloverDays related code to revert to previous version. 2022-03-26 11:43:59 +05:30
Shreyas Zare
70be2f4fff BlockedZoneManager: implemented Flush(). 2022-03-26 11:42:45 +05:30
Shreyas Zare
7eb773b0eb AllowedZoneManager: implemented Flush(). 2022-03-26 11:42:23 +05:30
Shreyas Zare
dad7bbcac6 AuthZoneManager: Updated CreateForwarderZone() to allow setting comments for FWD record. Updated code for DNSSEC private key related changes and other minor changes done. 2022-03-26 11:41:57 +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
8b5a4af2f9 DnsResourceRecordInfo: Added validation for Comments. 2022-03-26 11:36:42 +05:30
Shreyas Zare
09f3f90ae7 DnssecPrivateKey: implemented rolloverDays option for each private key. 2022-03-26 11:35:45 +05:30
Shreyas Zare
64dcb48f08 PrimaryZone: fixed issues in key rollover with multiple active keys. 2022-03-13 22:50:16 +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
312cfb11ec DnsServer: updated min thread count based on load test. 2022-03-12 19:54:45 +05:30
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