932 Commits

Author SHA1 Message Date
Shreyas Zare
a1c37c0347 fixed minor typo 2025-02-15 13:17:10 +05:30
Shreyas Zare
100348f0fc DnsServer: updated ProcessUpdateQueryAsync() to add last modified and comments for the added records. Updated PrepareRecursiveResolveResponse() to fix issue with CD flag case when DO flag is unset. Code refactoring changes done. 2025-02-15 12:41:37 +05:30
Shreyas Zare
5094e6a481 AuthZoneManager: Fixed bug in InternalQuery() that caused dnssec validation issue for DS record when forwarder zone for the domain exists. 2025-02-15 12:38:31 +05:30
Shreyas Zare
13fd52b9b6 DnsServer: Updated StartAsync() to set ReuseAddress socket option for all sockets. 2025-02-02 16:03:00 +05:30
Shreyas Zare
3b96811325 ResolverDnsCache: implemented skipConditionalForwardingResolution option to prevent stack overflow cases. 2025-02-02 16:01:51 +05:30
Shreyas Zare
2dd6b95d57 CacheZoneManager: fixed issue of unhandled CD flag when DO flag is unset. 2025-02-02 16:00:40 +05:30
Shreyas Zare
4b4b3720da DnsApplicationAssemblyLoadContext: fixed unmanaged dll loading issue on Linux that could cause DNS server to crash. 2025-02-02 16:00:05 +05:30
Shreyas Zare
764fa4935e DnsApplicationAssemblyLoadContext: updated implementation to load managed reference DLLs too using temp files to allow update/uninstall of app at runtime on Windows. 2025-01-26 17:11:44 +05:30
Shreyas Zare
02355affb6 DnsApplicationAssemblyLoadContext: updated implementation to load app based on the dependencies json file. 2025-01-26 16:20:02 +05:30
Shreyas Zare
61ad64a0df DnsApplicationManager: updated LoadAllApplications() to add logging entry. Updated UninstallApplication() to suppress and log errors for folder delete task. 2025-01-26 15:58:46 +05:30
Shreyas Zare
493dd98e26 DnsApplication: implemented support for IDnsQueryLogs. 2025-01-18 13:08:03 +05:30
Shreyas Zare
280dd995e8 DnsServer: Updated WriteClientSubnetRateLimitLog() to check for QPM bypass list before logging rate limit event entries. 2025-01-12 17:49:48 +05:30
Shreyas Zare
6c2adf6d04 StatsManager: added support for reading minute stats for given date range. Fixed minor time zone issue in reading hourly stats. Other minor changes done. 2025-01-11 17:41:08 +05:30
Shreyas Zare
83fb9c9920 DnsServer: code refactoring changes done. 2025-01-11 17:39:14 +05:30
Shreyas Zare
2920284960 SecondaryZone: code refactoring changed done. 2025-01-11 17:38:02 +05:30
Shreyas Zare
18b3dda6c8 ResolverPrefetchDnsCache: code refactoring changes done. 2025-01-11 17:37:28 +05:30
Shreyas Zare
87c6c54f46 ResolverDnsCache: Updated DnsApplicationQueryClosestDelegation to async implementation and avoid blocking thread for app calls. Added DoConditionalForwardingResolutionAsync method to process and resolve FWD records to provide conditional forwarding support for DNS Client. Updated Query() to async implementation and avoid blocking thread for app calls, and implemented conditional forwarding support. Code refactoring changes done. 2025-01-11 17:36:57 +05:30
Shreyas Zare
98c133cc14 CacheZoneManager: code refactoring changes done. 2025-01-11 17:32:13 +05:30
Shreyas Zare
a7d1cfb6e8 DnsServer: fixed bug in reloading doh ssl cert. Implemented resolver task pool to allow handling large number of requests such that ongoing resolutions do not timeout due to large number of pending tasks. Fixed issue of unhandled exception in AcceptQuicConnectionAsync() causing DoS for DoQ service. Implemented support for including response rtt in response object. Updated cache auto prefresh feature to use resolver task pool. Code refactoring changes done. 2024-12-21 15:45:22 +05:30
Shreyas Zare
ecbaf29bce Zone: updated code to use default concurrency value for dictionary. 2024-12-21 15:39:52 +05:30
Shreyas Zare
9a2062ac14 StubZone: updated zone refresh feature to use dns server's resolver task pool. Implemented min refresh & min retry options. Code refactoring changes done. 2024-12-21 15:37:56 +05:30
Shreyas Zare
8da0e3728a SecondaryZone: updated zone refresh feature to use dns server's resolver task pool. Code refactoring changes done. 2024-12-21 15:36:37 +05:30
Shreyas Zare
ebdaa6fa11 minor code refactoring change. 2024-12-21 15:35:45 +05:30
Shreyas Zare
736f2b8c92 ForwarderZone: updated QueryRecords() to allow calling base method for CatalogZone. 2024-12-21 15:35:24 +05:30
Shreyas Zare
4bbb7f5e2d CatalogZone: updated QueryRecords() to allow querying for SOA record so that it works with bind. 2024-12-21 15:34:10 +05:30
Shreyas Zare
42c6497864 CacheZone: updated code to use default concurrency value for concurrent dictionary. 2024-12-21 15:33:06 +05:30
Shreyas Zare
b5d838ecde ApexZone: updated notify feature to use dns server's resolver task pool. Added GetZoneSoaRetry() method. 2024-12-21 15:31:56 +05:30
Shreyas Zare
a9639ff603 AuthZoneManager: added new options for min refresh and min retry values. Code refactoring changes done. 2024-12-21 15:29:17 +05:30
Shreyas Zare
db193e217c AuthZoneTree: fixed bug in FindNSec3ProofOfNonExistenceNxDomain() that caused infinite loop in some scenarios and removed cancellation code. 2024-12-21 15:27:39 +05:30
Shreyas Zare
ce8f1b0c7c DnsServer: updated RecursiveResolverBackgroundTaskAsync() to check if the cache response is from badcache and thus send a failure response in such case instead of sending checking disabled response from cache. 2024-12-02 18:27:55 +05:30
Shreyas Zare
72fdcbb71e CacheZoneManager: code refactoring changes. 2024-12-02 18:25:06 +05:30
Shreyas Zare
c214d0a99b DnsServer: Updated RecursiveResolverBackgroundTaskAsync() to fetch failure response from cache itself instead of generating it based on the exception. Updated PrepareRecursiveResolveResponse() to allow returning EDE in cached responses for stale answer cases. Updated StartDoHAsync() to check http/2 support on windows to avoid issues with older OS. 2024-11-30 13:15:31 +05:30
Shreyas Zare
9d5330fddc CacheZoneManager: Updated Query() to use the new Answer and NoDnssecAnswer properties for negative cache response. 2024-11-30 12:34:46 +05:30
Shreyas Zare
a63a12ea4a DnsApplicationAssemblyLoadContext: fixed issue caused when an assembly is already loaded in default context but is required for loading assembly in current context. Minor code refactoring done. 2024-11-23 17:52:16 +05:30
Shreyas Zare
fdcdfcb6d3 DnsServer: Updated ProcessDoHRequestAsync() to allow reading x-real-ip header for DNS-over-HTTPS with reverse proxy ACL check. 2024-11-23 13:10:04 +05:30
Shreyas Zare
bdf59b2bbb ZoneTree: updated FindZoneNode() to correctly handle wildcard case with ENT subdomain for queries that should return wildcard. 2024-11-23 13:08:58 +05:30
Shreyas Zare
524ad2d7f2 DnsApplicationAssemblyLoadContext: updated assembly loading code to separate the dependency resolver initialization to avoid dependency issues. 2024-11-23 13:06:33 +05:30
Shreyas Zare
50276dc216 DnsServer: updated ProcessDoHRequestAsync() to read client ip without private ip check and read x-real-ip header only for insecure http requests. 2024-11-16 17:22:57 +05:30
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