Commit Graph

878 Commits

Author SHA1 Message Date
Shreyas Zare
418ccb9a7f DnsServer: updated forwarding code to ignore forwarder domain resolution when proxy is configured. Updated StopAsync() and StopDoHAsync() to ignore any errors while stopping. 2024-09-23 19:09:25 +05:30
Shreyas Zare
16623101ce DnsServer: Updated ProcessAuthoritativeQueryAsync() to use ProcessRecursiveQueryAsync() call for blocking support. 2024-09-21 17:47:32 +05:30
Shreyas Zare
e834bd9cf0 ResolverDnsCache: updated implementation to prefer auth zone response over app response. 2024-09-21 12:53:06 +05:30
Shreyas Zare
565b6d53d0 DnsServer: updated ProcessZoneTransferQueryAsync() to check for secondary catalog properties and update notify failed list by removing current client from it. Updated validation checks in properties. Code refactoring changes done. 2024-09-21 12:51:58 +05:30
Shreyas Zare
d73f971d02 SubDomainZone: minor code refactoring. 2024-09-21 12:49:18 +05:30
Shreyas Zare
764edb1bec StubZone: updated CreateAsync() to add support for ignoreSoaFailure option. Added validation for PrimaryNameServerAddresses property. Code refactoring changes done. 2024-09-21 12:48:58 +05:30
Shreyas Zare
0b018e5e10 SecondaryZone: Updated RefreshZoneAsync() to probe with SOA only before AXFR. Code refactoring changes done. 2024-09-21 12:46:59 +05:30
Shreyas Zare
14f1a00222 SecondaryForwarderZone: minor changes done. 2024-09-21 12:45:18 +05:30
Shreyas Zare
12717ddf33 SecondaryCatalogZone: updated implementation to support minimal provisioning for IXFR. Updated implementation to store global custom properties in secondary catalog zone itself. Code refactoring changes done. 2024-09-21 12:44:42 +05:30
Shreyas Zare
bbe44d1f9c PrimaryZone: updated Disabled property implementation. 2024-09-21 12:40:48 +05:30
Shreyas Zare
364f8b33d5 AuthZoneInfo: Updated file format for Secondary, SecondaryForwarder, and SecondaryCatalog to support additional parameters. 2024-09-21 12:40:18 +05:30
Shreyas Zare
ca6873661c AuthZone: removed protected from disabled variable. 2024-09-21 12:38:55 +05:30
Shreyas Zare
7f385d44e8 ApexZone: added SecondaryCatalogZone property. Added RemoveFromNotifyFailedList() method to remove name servers from failed list. Updated Disabled property implementation to allow automatic remove and add as member zone from catalog. Updated validation code for properties. Code refactoring changes done. 2024-09-21 12:38:18 +05:30
Shreyas Zare
c721a0ba33 AuthZoneManager: Added GetApexZone() method. Updated CreateStubZoneAsync() to support ignoreSoaFailure option. Updated AddCatalogMemberZone() to support ignoreValidationErrors option. Fixed minor issues in ConvertZoneType() for SecondaryForwarder zone. Minor code refactoring done. 2024-09-21 12:34:24 +05:30
Shreyas Zare
bc4b65e2c3 AuthZoneTree: added GetApexZone() method. 2024-09-21 12:31:37 +05:30
Shreyas Zare
34acd56ea8 AuthZoneManager: updated CreateEmptyApexZone() to add missing secondary catalog ZoneRemoved event handler. 2024-09-14 19:28:00 +05:30
Shreyas Zare
bdda47db3f DnsServer: Updated recursion option to support access control list. Added max overall timeout for recursive resolution. Added option to enable/disable DNS-over-HTTP/3. Added option to configure resolver concurrency. Added option to enable/disable concurrent forwarding. Replaced WithTimeout() usage to new TimeoutAsync() to allow cancelling running task after timeout. Updated ProcessQueryAsync() handle timeout exception to allow debugging CPU usage issue. Updated notify and zone transfer to support new zone types. Added update support for secondary forwarder. Fixed issue in ProcessAuthoritativeQueryAsync() that caused failure to process FWD record. Updated AuthoritativeQueryAsync() to add TimeoutAsync() to allow mitigating and debuging cpu usage issue. Fixed issue in ProcessAPPAsync() to process FWD record. Fixed bug in IsAllowedAsync() when request of DS type is received. Implemented priority based conditional forwarding feature. Added feature to write client subnet rate limiting changes to log file. Updated StartAsync() to wait and retry when socket binding fails. Code refactoring changes done. 2024-09-14 19:12:46 +05:30
Shreyas Zare
220de20a90 Zone: code refactoring changes done. 2024-09-14 18:50:21 +05:30
Shreyas Zare
f51aa2f11c StubZone: Added primary name server address at zone level. Added catalog zone support. Code refactoring changes done. 2024-09-14 18:48:51 +05:30
Shreyas Zare
091727f82d SecondaryZone: added primary server connectivity parameters at zone level. Implemented secondary catalog zone support. Updated zone transfer code to support secondary forwarder and secondary catalog zones. Code refactoring done. 2024-09-14 18:11:07 +05:30
Shreyas Zare
501f1e69dd SecondarySubDomainZone: updated error messages. 2024-09-14 18:06:03 +05:30
Shreyas Zare
d8b9743e93 added SecondaryForwarderZone 2024-09-14 18:04:31 +05:30
Shreyas Zare
6cca886d2b added SecondaryCatalogZone 2024-09-14 18:02:35 +05:30
Shreyas Zare
5e46b27381 added SecondaryCatalogSubDomainZone 2024-09-14 17:59:16 +05:30
Shreyas Zare
f702d997a7 PrimaryZone: Added support for record auto expiry feature. Moved zone versioning code to ApexZone to allow reusing it. Code refactoring changes done. 2024-09-14 17:58:42 +05:30
Shreyas Zare
1d5a061a73 code refactoring changes. 2024-09-14 17:54:04 +05:30
Shreyas Zare
c622118d6b ForwarderZone: updated implementation to support notify and zone transfer features. Added support for record auto expiry feature. Added pseudo SOA record support for zone transfer support. Updated code to prevent adding DNSSEC related records. Added support for zone versioning. Code refactoring done. 2024-09-14 17:52:56 +05:30
Shreyas Zare
17844b7b59 ForwarderSubDomainZone: updated implementation to support zone versioning and notify features. Added validation to prevent adding DNSSEC related records. 2024-09-14 17:49:48 +05:30
Shreyas Zare
f821bf64ac added CatalogZone 2024-09-14 17:47:51 +05:30
Shreyas Zare
06ea6343ae added CatalogSubDomainZone. 2024-09-14 17:37:58 +05:30
Shreyas Zare
bb997a5c03 CacheZone: updated QueryRecords() to use different method for prefix selection for ECS. 2024-09-14 17:37:28 +05:30
Shreyas Zare
2d8604f1b6 AuthZoneInfo: updated code to add support for Secondary Forwarder, Catalog, and Secondary Catalog zones. Added support for Query Access feature, zone transfer ACL, and update ACL. Added support to store secondary zone parameters for primary server connectivity. Added support for ZONEMD validation. Code refactoring done. 2024-09-14 17:35:33 +05:30
Shreyas Zare
beb2a83005 AuthZone: added EnumerateCatalogMemberZones() method. Code refactoring done. 2024-09-14 17:27:25 +05:30
Shreyas Zare
ab93a35315 ApexZone: updated implementation to support QueryAccess feature for zones. Updated zone transfer and update option types. Implemented support for catalog zones. Updated zone transfer and update features to use access control list. Implemented support for record auto expiry feature. Code refactoring changes done. 2024-09-14 17:26:30 +05:30
Shreyas Zare
1df04a42d4 CacheZoneManager: updated code to support caching root NS records. Updated code to include more info in EDE. 2024-09-14 17:17:59 +05:30
Shreyas Zare
17b9358fb6 minor code refactoring. 2024-09-14 17:15:54 +05:30
Shreyas Zare
e92132820f AuthZoneManager: implemented support for Secondary Forwarder, Catalog, and Secondary Catalog zones. Updated implementation to save zone file on zone creation and other zone feature functions. Added CreateInternalPrimaryZone() for internal zone creation. Updated DeleteZone() with option to delete zone file. Added EnumerateAllRecords() to allow record enumeration. Implemented support for Query Access feature with IsQueryAllowedAsync() method. Implemented support for record expiry feature. 2024-09-14 17:15:00 +05:30
Shreyas Zare
a64aa988e9 AuthZoneTree: Updated TryRemove() to support removing all subdomain names for the removed subdomain. Added GetSubDomainZoneWithSubDomainZones() method. Updated FindNSec3ProofOfNonExistenceNxDomain() and FindNSec3ProofOfNonExistenceNoData() to have cancellation token. Code refactoring done. 2024-09-14 16:52:47 +05:30
Shreyas Zare
fdeb7c76c8 SOARecordInfo: updated implementation to depricate secondary zone parameters stored as SOA record info. 2024-09-14 16:44:25 +05:30
Shreyas Zare
63bad9196b GenericRecordInfo: added last modified and expiry TTL parameters. 2024-09-14 16:42:30 +05:30
Shreyas Zare
a64a24ca61 DnsServer: Updated ProcessZoneTransferQueryAsync() to use IsActive property to check for active zone. Code refactoring changes done. 2024-06-22 13:55:51 +05:30
Shreyas Zare
34c8bee380 SecondaryZone: implemented zone validation using ZONEMD feature. Code refactoring done. 2024-06-22 13:46:38 +05:30
Shreyas Zare
2bf6cd4b68 AuthZoneInfo: updated to add validation failed option for secondary zones. Added IsActive property. 2024-06-22 13:37:15 +05:30
Shreyas Zare
df93afd9af code refactoring changes done. 2024-06-22 13:36:06 +05:30
Shreyas Zare
ede25a29e0 AuthZoneManager: updated CreateSecondaryZoneAsync() to add validate zone option. 2024-06-22 13:35:13 +05:30
Shreyas Zare
dabd6bd0fc SOARecordInfo: Added ValidateZone option to support ZONEMD validation. 2024-06-22 13:34:36 +05:30
Shreyas Zare
5a12bbb231 AuthZoneManager: fixed issue in SaveZoneFileInternal() to prevent generating empty zone file. 2024-06-15 19:30:37 +05:30
Shreyas Zare
10d0235529 PrimaryZone: Updated GetDSPublishedPrivateKeys() to ignore NXDOMAIN error. 2024-06-15 15:06:15 +05:30
Shreyas Zare
4f29bfce4b minor changes. 2024-06-15 15:05:17 +05:30
Shreyas Zare
ff8648e35b DnsServer: code refactoring changes. 2024-06-01 19:00:33 +05:30