Commit Graph

264 Commits

Author SHA1 Message Date
Shreyas Zare
bad83253f5 minor refactoring changes 2022-12-24 12:12:41 +05:30
Shreyas Zare
6a62e308a8 PrimaryZone: updated SignZone() to remove added records and add back deleted records when signing fails for any reason. 2022-11-20 16:39:07 +05:30
Shreyas Zare
79c57f6c73 CacheZone: implemented ECS support. 2022-11-20 16:00:26 +05:30
Shreyas Zare
7c42ed0afe using configured udp payload size. 2022-11-12 17:18:08 +05:30
Shreyas Zare
6887dacb85 AuthZoneInfo: renamed GetRecords() to GetApexRecords(). 2022-11-12 15:02:51 +05:30
Shreyas Zare
7a4b3d4388 CacheZone: updated SetRecords() implementation to copy extended dns errors from existing non-stale failure records. 2022-11-12 15:02:11 +05:30
Shreyas Zare
508187fcf5 AuthZoneInfo: updated code to add dynamic updates policies support. 2022-10-30 19:00:46 +05:30
Shreyas Zare
b1431de3a7 ApexZone: renamed _updateTsigKeyNames to _updateSecurityPolicies and added support for dynamic updates policies. 2022-10-30 18:59:21 +05:30
Shreyas Zare
fcca68801a SecondaryZone: added override for Update property so stop the zone type to support updates. 2022-10-30 18:58:14 +05:30
Shreyas Zare
315d4f6019 StubZone: minor changes. 2022-10-30 17:58:43 +05:30
Shreyas Zare
0c701f89ff ForwarderZone: minor changes. 2022-10-30 17:58:25 +05:30
Shreyas Zare
ecdf6c9965 CacheZone: minor code refactoring changes. 2022-10-30 17:57:54 +05:30
Shreyas Zare
2848246a86 AuthZoneInfo: added support for dynamic updates. Code refactoring done. 2022-10-05 19:04:51 +05:30
Shreyas Zare
55b5aea66b StubZone: minor implementation changes. 2022-10-05 18:59:28 +05:30
Shreyas Zare
1ce9186ebd ForwarderZone: minor implementation changes. 2022-10-05 18:59:04 +05:30
Shreyas Zare
a7763f2fd4 SecondaryZone: moved zone history and tsig code to ApexZone. Added dynamic update support. 2022-10-05 18:58:03 +05:30
Shreyas Zare
3c403722ac PrimaryZone: moved zone history and tsig code to ApexZone. Added dynamic update support. 2022-10-05 18:56:58 +05:30
Shreyas Zare
c000b653d8 ApexZone: added dynamic updates support and moved zone history and tsig key code here from primary/secondary zones. 2022-10-05 18:55:48 +05:30
Shreyas Zare
d8599d0bab AuthZone: added GetAllRecords() 2022-10-05 18:50:11 +05:30
Shreyas Zare
86699788ff Zone: forcing lower case for zone name to avoid issues with api clients. 2022-10-05 18:49:33 +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
046a957827 PrimaryZone: updated SetRecords() to add more validation checks for updating SOA record. 2022-07-03 15:27:50 +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
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
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
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
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
c2a3d38beb AuthZone: updated FilterDisabledRecords() and AppendRRSigTo() to set last used value for records. 2022-04-23 17:55:14 +05:30
Shreyas Zare
96c66ace10 CacheZone: updated ValidateRRSet(), SetRecords() to set cached record's LastUsedOn value. Updated SetRecords() to return true when record was added. Updated RemoveExpiredRecords() to return number of entries removed. Added RemoveLeastUsedRecords() to remove least used entries by given cutoff. Added TotalEntries property. 2022-04-23 17:53:04 +05:30
Shreyas Zare
c282a5d56f PrimaryZone: updated RevokeKskDnsKeys() and UnpublishDnsKeys() to fix issue of missing dnskey in zone history. 2022-04-23 17:45:55 +05:30
Shreyas Zare
11600e6699 PrimaryZone: fixed bug causing issue with ixfr history when soa record is updated with out of date serial. 2022-04-17 16:33:40 +05:30
Shreyas Zare
e1dc278ff3 PrimaryZone: updated GetZoneSoaMinimum() to get the minimum value only. Updated SetRecords() to use the minimum property directly. 2022-04-09 17:33:55 +05:30
Shreyas Zare
64fcbf3525 PrimaryZone: added RefreshNSec() and RefreshNSec3() to allow refreshing the records when SOA minimum TTL value changes. 2022-04-03 16:03:29 +05:30
Shreyas Zare
64415c2fc6 AuthZone: Updated GetUpdatedNSecRRSet() and GetUpdatedNSec3RRSet() to compare TTL values too for deciding if new records should be used. 2022-04-03 16:02:14 +05:30
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