Commit Graph

894 Commits

Author SHA1 Message Date
Shreyas Zare
85c0b39f6e DnsServer: implemented reverse proxy network ACL feature. 2024-11-16 13:39:20 +05:30
Shreyas Zare
f69ebc1f03 code refactoring changes done. 2024-11-16 13:14:48 +05:30
Shreyas Zare
8a98f32d34 DnsServer: fixed issue with DoH/3 not working caused due to kestral web server changes. Fixed issue in ProcessAPPAsync() that did not check for secondary forwarder. Updated DoH cache header to avoid caching issues after server upgrade. Code refactoring changes done. 2024-11-09 19:45:16 +05:30
Shreyas Zare
f7a7011225 AuthZoneManager: Updated LoadZoneFrom() to handle empty zone issue and unload the zone. Code refactoring changes done. 2024-10-26 17:33:07 +05:30
Shreyas Zare
493a44d443 StatsManager: Added missing dispose call for cleanup timer. Updated MaxStatFileDays property to do validation and control cleanup timer. 2024-10-26 17:29:48 +05:30
Shreyas Zare
c7ce7077c5 DnsServer: implemented support for custom real ip header for DoH. Implemented blocking answer ttl feature. Fixed minor issue with rate limiting detection logging feature. Fixed minor issue with DoH start process. Added missing validation checks for optional protocol port properties. Code refactoring changes done. 2024-10-19 16:58:04 +05:30
Shreyas Zare
b6b4877c91 StubZone: updated error message description. 2024-10-19 16:53:19 +05:30
Shreyas Zare
fa800a406a SecondaryZone: Updated RefreshZoneAsync() to do SOA probe for all cases except for proprietary zone types. Updated Notify to prevent using option valid only for catalog zones. Other minor changes done. 2024-10-19 16:52:52 +05:30
Shreyas Zare
7cf8e14c33 PrimaryZone: fixed issue in GetMaxRecordTtl() and GetMaxRRSigTtl() to check all records in the zone. Updated Notify property to prevent using the option that is valid only for catalog zones. Code refactoring changes done. 2024-10-19 16:51:04 +05:30
Shreyas Zare
fb22196bed ForwarderZone: overrided Disabled property to control notify. Updated Notify property to only allow catalog zones to use new notify option. 2024-10-19 16:49:17 +05:30
Shreyas Zare
5361533ae0 AuthZoneInfo: updated code to support new notify option for catalog zones. 2024-10-19 16:47:48 +05:30
Shreyas Zare
b5d9f46423 ApexZone: implemented new notify option for separate name servers for catalog and member zones for use with catalog zones. 2024-10-19 16:45:28 +05:30
Shreyas Zare
3f74d95d70 BlockListZoneManager: updated UpdateServerDomain() and Query() to support blocking answer ttl feature. 2024-10-19 16:43:58 +05:30
Shreyas Zare
58fa6c9580 BlockedZoneManager: updated UpdateServerDomain() to support blocking answer ttl feature. 2024-10-19 16:42:00 +05:30
Shreyas Zare
cd64c04a1e AuthZoneManager: updated UpdateServerDomain() to support blocking answer ttl feature. Added GetZones() and GetCatalogZones() methods. Removed GetZonesPage() method and moved pagination task to api code. 2024-10-19 16:41:17 +05:30
Shreyas Zare
9ce324a377 DnsServer: fixed null ref issue in ProcessZoneTransferQueryAsync() by removing log entries that are not really required. 2024-09-28 16:13:43 +05:30
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