Commit Graph

1341 Commits

Author SHA1 Message Date
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
72ac65297d zone.js: Updated code to allow dnssec validation option for FWD this-server. Implemented zsk auto rollover option. 2022-03-12 15:58:55 +05:30
Shreyas Zare
ad622eea98 main.js: implemented new dns server options in settings. 2022-03-12 15:57:03 +05:30
Shreyas Zare
b4d5146846 webapp: updated html to add DNS server new options, zsk auto rollover options, and other minor fixes. 2022-03-12 15:56:10 +05:30
Shreyas Zare
2d974cb647 WebServiceZonesApi: Updated API for zsk auto rollover option. Updated API to allow adding FWD records with this-server option to also use DNSSEC validation option. Minor fixes done. 2022-03-12 15:53:15 +05:30
Shreyas Zare
a60f1d5f9b DnsWebService: Updated API for dns key automatic rollover option. Added DNS server parameters to the settings API. Fixed multiple issues in ResolveQuery() import option. 2022-03-12 15:49:42 +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
03985c82a4 zone.js: Updated code to implement the API changes. 2022-03-06 17:01:31 +05:30
Shreyas Zare
1a1ecfb88e dhcp.js: minor code changes done. 2022-03-06 17:00:19 +05:30
Shreyas Zare
05fff0e1f5 webapp: minor updates to html. 2022-03-06 16:59:36 +05:30
Shreyas Zare
6b3b5aaab0 WebServiceZonesApi: Updated API for add, get, update and delete. 2022-03-06 16:56:54 +05:30
Shreyas Zare
bcb8bbeb1c WebServiceDhcpApi: Updated SetDhcpScopeAsync() to rename the scope after all the changes are saved to the existing scope. 2022-03-06 16:11:06 +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
c8289e4c11 DhcpServer: Updated ReadUdpRequestAsync() to ignore SocketError.OperationAborted socket error code being thrown by .NET 6 when server is stopping. Updated UpdateDnsAuthZone() check if the DNS record for the domain name of a dynamic lease already exists to prevent overwrite but allow reserved leases to overwrite and existing DNS record. Updated RenameScope() to validate new scope name. 2022-03-06 15:41:10 +05:30
Shreyas Zare
5cd9d2e37d Scope: Added scope name validation. Updated FindInterface() to handle PlatformNotSupportedException. Updated GetOfferAsync() to return existing reserved lease only when the IP address matches. Updated GetExistingLeaseOrOffer() to check for offers first. Updated RemoveLease() to remove matching reserved lease entry only when the IP addresses match. 2022-03-06 15:30:18 +05:30
Shreyas Zare
f81880f1a2 WebServiceZonesApi: fixed minor issue. 2022-02-27 19:57:59 +05:30
Shreyas Zare
79282be643 AuthZoneManager: updated LoadTrustAnchorsTo() to skip revoked dns keys. 2022-02-27 19:57:39 +05:30
Shreyas Zare
9b6b78500b webapp: minor UI changes done. 2022-02-27 19:56:49 +05:30
Shreyas Zare
01d81da613 webapp: updated html for DS record support. 2022-02-27 18:25:42 +05:30
Shreyas Zare
3870f7e365 zone.js: updated code for managing DS records. 2022-02-27 18:25:10 +05:30
Shreyas Zare
058858d460 WebServiceZonesApi: updated API to support managing DS records. 2022-02-27 18:23:41 +05:30
Shreyas Zare
6d5656a9b6 DnsWebService: updated ResolveQuery() to load local zone trust anchors into the dns client. 2022-02-27 18:21:04 +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