Commit Graph

590 Commits

Author SHA1 Message Date
Shreyas Zare
e1bdfd151a AuthZoneManager: updated Query() to allow APP records processing for forwarder zones, minor update to return referral response when zone found is a delegation. 2022-09-18 17:33:23 +05:30
Shreyas Zare
e800afd3a0 BlockListZoneManager: updated UpdateBlockListsAsync() to not use default system proxy. 2022-09-18 17:29:25 +05:30
Shreyas Zare
32b57db960 ForwarderSubDomainZone: updated code to allow adding/updating APP records. 2022-09-18 17:28:44 +05:30
Shreyas Zare
e43068f78a ForwarderZone: updated code to allow adding/updating APP records. 2022-09-18 17:28:19 +05:30
Shreyas Zare
b4e7781ac0 AuthZoneInfo: minor refactoring changes 2022-09-18 17:27:30 +05:30
Shreyas Zare
814d1c2fd2 DnsServer: updated resolver retries default value to 2. Updated RecursiveResolveAsync() to enable async NS resolution feature when doing recursive resolution. 2022-07-03 15:29:35 +05:30
Shreyas Zare
046a957827 PrimaryZone: updated SetRecords() to add more validation checks for updating SOA record. 2022-07-03 15:27:50 +05:30
Shreyas Zare
afbbc57da4 DnsServer: updated ProcessDoHRequestAsunc() to remove trailing period from qname for HttpsJson transport protocol. Updated RecursiveResolveAsync() to handle IOException to show correct extended dns error. 2022-05-28 12:21:46 +05:30
Shreyas Zare
9b98860e1f PrimaryZone: Updated AddRecord() to commit change only when record was added to rrset. Updated constructor with minor SOA related changes. 2022-05-28 12:19:55 +05:30
Shreyas Zare
d3a89d91a4 AuthZone: updated AddRecord() to add the record to added list after its inserted into the rrset. 2022-05-28 12:18:26 +05:30
Shreyas Zare
50fd5e004f BlockListZoneManager: minor change. 2022-05-28 12:17:10 +05:30
Shreyas Zare
e9e99991b7 BlockedZoneManager: minor change. 2022-05-28 12:16:53 +05:30
Shreyas Zare
c04e9610c8 AllowedZoneManager: minor change. 2022-05-28 12:16:35 +05:30
Shreyas Zare
ae0f215650 PrimaryZone: fixed minor issue with Notify and ZoneTransfer properties. 2022-05-22 18:28:30 +05:30
Shreyas Zare
e0c39e41c3 PrimaryZone: Updated AddRecord() and UpdateRecord() to correctly get the added and deleted records to commit to history. 2022-05-22 16:03:47 +05:30
Shreyas Zare
1d22138e56 AuthZone: fixed AddRecord() implementation to correctly return the added and deleted records due to TTL changes. 2022-05-22 16:02:47 +05:30
Shreyas Zare
e0f9c2fc83 PrimaryZone: correctly implemented DNSSEC key retire timings and other related implementation issues. Code refactoring done. 2022-05-21 13:10:57 +05:30
Shreyas Zare
8ba1f4c9ef StubZone: updated RefreshTimerCallback() to only use primary name server addresses. 2022-05-21 13:02:50 +05:30
Shreyas Zare
671d9dc548 AuthZoneInfo: added ApexZone internal property. 2022-05-21 13:01:40 +05:30
Shreyas Zare
b4fe3c701e AuthZone: updated AddRecord() to use update existing record TTL values to new record TTL value. 2022-05-21 13:00:48 +05:30
Shreyas Zare
c5b08ec568 ApexZone: removed unused GetAllNameServerAddressesAsync() method. 2022-05-21 12:59:49 +05:30
Shreyas Zare
a47bb8fc24 DnssecPrivateKey: Updated RolloverDays to add one more validation check. 2022-05-21 12:58:55 +05:30
Shreyas Zare
9ea77190d3 DnsServer: updated ProcessUdpRequestAsync() to add OPT to truncation response when request has OPT. 2022-05-14 18:52:21 +05:30
Shreyas Zare
17edbced83 DnsServer: updated ProcessZoneTransferQueryAsync() to implement AllowBothZoneAndSpecifiedNameServers option. 2022-05-14 13:42:14 +05:30
Shreyas Zare
69a937e140 StubZone: implemented sync failed feature. 2022-05-14 13:41:06 +05:30
Shreyas Zare
1f49d0e153 SecondaryZone: Moved NOTIFY code to ApexZone. Implemented sync failed feature. Fixed Disabled property set method to also handle notify timer. 2022-05-14 13:40:36 +05:30
Shreyas Zare
53b92a28c2 PrimaryZone: moved NOTIFY code to ApexZone. Correctly implemented DNSSEC key rollover timing as per rfc7583. Fixed issue in GetDSPublishedPrivateKeys() by deleting cache entry before fetching new DS record. Fixed UpdateDnsKeyTtl() to replace RRSIG when changing TTL and added missing notify trigger. 2022-05-14 13:39:20 +05:30
Shreyas Zare
c1a30ce5a0 AuthZoneInfo: added notify failed and sync failed properties. 2022-05-14 13:35:59 +05:30
Shreyas Zare
46a86001c4 AuthZone: removed IDisposable implementation. 2022-05-14 13:35:28 +05:30
Shreyas Zare
8a2c5b55ba AuthZoneNode: minor change. 2022-05-14 13:34:54 +05:30
Shreyas Zare
14fd509929 ApexZone: Moved NOTIFY code here for primary and secondary zones. Added AllowBothZoneAndSpecifiedNameServers and BothZoneAndSpecifiedNameServers options. Added sync failed and notify failed properties. 2022-05-14 13:34:18 +05:30
Shreyas Zare
45933830f7 ResolverPrefetchDnsCache: updated implementation to use base class's QueryClosestDelegation(). 2022-05-08 15:33:12 +05:30
Shreyas Zare
265210218f ResolverDnsCache: updated implementation to add QueryClosestDelegation(). 2022-05-08 15:32:34 +05:30
Shreyas Zare
33eb5d2266 DnsServer: updated PrepareRecursiveResolveResponse() to handle ANY response correctly. 2022-05-08 15:31:54 +05:30
Shreyas Zare
cda4d493ac PrimaryZone: updated RevokeKskDnsKeys() to fix issue of duplicate DNSKEY entry into zone history. 2022-05-08 15:31:06 +05:30
Shreyas Zare
2be4a3ed5d CacheZone: updated SetRecords() to set ParentSideTtl values for new NS records from existing NS records for use with NS revalidation. Updated QueryRecords() to remove DS from ANY response. 2022-05-08 15:30:00 +05:30
Shreyas Zare
df02416e30 CacheZoneManager: updated CacheRecords() to not cache synthesized CNAME records. Updated QueryClosestDelegation() to return DS records. 2022-05-08 15:27:54 +05:30
Shreyas Zare
3a71cd38ad CacheZoneTree: updated GetClosestValuesForZone() implementation as per new definition. 2022-05-08 15:26:20 +05:30
Shreyas Zare
016ff144aa AuthZoneTree: updated GetClosestValuesForZone() implementation as per new definition. 2022-05-08 15:26:03 +05:30
Shreyas Zare
963565e5a5 ZoneTree: updated FindZoneNode() to fix minor issues and updated GetClosestValuesForZone() definition. 2022-05-08 15:24:59 +05:30
Shreyas Zare
b86fa6633f ZoneTree: updated FindZone() to clear closestSubDomain when closestAuthority value changes. 2022-04-30 18:14:56 +05:30
Shreyas Zare
eb720faaee AuthZoneTree: updated GetClosestValuesForZone() to fix issue with getting delegation for the zone value. 2022-04-30 18:14:07 +05:30
Shreyas Zare
a879af9caa DnsServer: updated PrepareRecursiveResolveResponse() & RemoveOPTFromAdditional() to remove DNSSEC records when not requested. Updated CacheMaintenanceTimerCallback() to force garbage collection after removing cache records to quickly free memory. 2022-04-30 12:21:54 +05:30
Shreyas Zare
69cb6eb0c7 CacheZoneManager: Updated ResolveAdditionalRecords() to add RRSIG for additional records. Updated Query() to return response with EDNS only when request had EDNS. 2022-04-30 12:18:33 +05:30
Shreyas Zare
317310579c DnsServer: updated ProcessANAMEAsync() to set last used on value when returning authority records for ANAME response. 2022-04-24 17:28:17 +05:30
Shreyas Zare
b24be82552 AuthZoneManager: updated GetReferralResponse() to set last used on value for stub authority records. 2022-04-24 17:23:54 +05:30
Shreyas Zare
32169d9313 DnsServer: Updated RecursiveResolveAsync() forwarder implementation to use ConditionalForwardingZoneCut option to trim CNAME records in response to allow the DNS server to query each CNAME separately for cases when conditional forwarder is configured for a CNAME domain. 2022-04-23 17:57:46 +05:30
Shreyas Zare
80f1f75526 ResolverDnsCache: implemented IDnsCache.CacheResponse() changes. 2022-04-23 17:55:50 +05:30
Shreyas Zare
c2a3d38beb AuthZone: updated FilterDisabledRecords() and AppendRRSigTo() to set last used value for records. 2022-04-23 17:55:14 +05:30
Shreyas Zare
9dd2364bfe CacheZoneManager: Implemented maximum entries feature. 2022-04-23 17:54:14 +05:30