Commit Graph

2231 Commits

Author SHA1 Message Date
Shreyas Zare
ed330778f9 DnsWebService: Updated StartWebServiceAsync() to check http/2 support for windows to avoid issues when HTTPS is enabled on older OS versions. 2024-11-30 13:16:44 +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
3d6809ba1b WebServiceZonesApi: Added validatation code to prevent adding/updating glue addresses for zone's NS records. 2024-11-23 13:14:04 +05:30
Shreyas Zare
862857e725 Extensions: updated GetRemoteEndPoint() to remove the conditional private ip check option. 2024-11-23 13:12:54 +05:30
Shreyas Zare
c55bc9bcb8 zone.js: added validation check for NS records to prevent from adding glue for zone NS records. 2024-11-23 13:12:04 +05:30
Shreyas Zare
12b48b1c36 main.js: updated UI validation code to allow using reverse proxy acl for dns-over-https. 2024-11-23 13:11:28 +05:30
Shreyas Zare
28a491026a webapp: updated reverse proxy network acl description in html. 2024-11-23 13:10:40 +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
2bead7f72e assembly version updated to v13.2 for release. 2024-11-16 18:24:37 +05:30
Shreyas Zare
997a1da9ae main.js: updated code to disable real ip text box when insecure DoH is not enabled. 2024-11-16 17:24:51 +05:30
Shreyas Zare
9f257efabe webapp: updated option message for correctness. 2024-11-16 17:23:49 +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
161eeccb90 Extensions: updated GetRemoteEndPoint() to allow controlling private IP check for x-real-ip header. 2024-11-16 17:20:21 +05:30
Shreyas Zare
50b263c829 main.js: updated code to support reverse proxy network acl option. 2024-11-16 14:12:02 +05:30
Shreyas Zare
e1b456ed28 webapp: updated html for new reverse proxy network acl option. Other minor changes done. 2024-11-16 14:11:34 +05:30
Shreyas Zare
caf79a0044 WebServiceSettingsApi: updated api to support reverse proxy network ACL. 2024-11-16 14:10:21 +05:30
Shreyas Zare
b813a55be2 DnsWebService: updated config code to support new reverse proxy network ACL option. 2024-11-16 13:43:33 +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
082923c2fc assembly version updated to v13.1.1 for release. 2024-11-09 21:15:23 +05:30
Shreyas Zare
050e4c5c6e updated named.root file 2024-11-09 19:49:51 +05:30
Shreyas Zare
4965c739e9 updated root anchors file 2024-11-09 19:48:44 +05:30
Shreyas Zare
04f0069d03 webapp: updated html with changes in UI messages. 2024-11-09 19:48:30 +05:30
Shreyas Zare
eec34756b3 DnsWebService: Fixed issue with admin panel http/3 not working caused due to kestral web server changes. Updated admin web server cache header to avoid issues after server update. 2024-11-09 19:47:25 +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
e22f443e13 zone.js: fixed minor issue in UI code. 2024-10-26 17:34:27 +05:30
Shreyas Zare
2738a4e325 LogManager: updated LoadConfig() to set correct default value for maxLogFileDays. 2024-10-26 17:34:06 +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
a9b737f286 DnsWebService: Updated LoadConfigFile() to set missing default value for MaxStatFileDays. Updated ReadConfigFrom() and ReadOldConfigFrom() to read MaxStatFileDays value with validation. 2024-10-26 17:31:28 +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
e5edcfa6fc assembly version updated to v13.1 for release. 2024-10-19 20:15:56 +05:30
Shreyas Zare
9a4333f160 zone.js: added feature to directly create secondary root zone. Implemented support for new catalog zone notify option. 2024-10-19 17:15:52 +05:30
Shreyas Zare
b07ab2bf82 main.js: updated implementation to support new custom real ip header option for admin web service and DoH, and blocking answer ttl option. 2024-10-19 17:14:33 +05:30
Shreyas Zare
5c7d5162b1 log.js: updated error message in queryLogs() to explicitly mention the dns app name. 2024-10-19 17:13:28 +05:30
Shreyas Zare
a2debc645a webapp: updated html to support new custom real ip headers feature for admin web service and DoH. Added support for blocking answer ttl option. Added support for secondary root zone option. Added support for new notify option for catalog zones. Other minor changes done. 2024-10-19 17:12:53 +05:30
Shreyas Zare
0cb309c377 WebServiceZonesApi: updated ListZones() implementation to do pagination task directly. Updated ListCatalogZones() and GetZoneOptions() to use new GetCatalogZones() call. Updated CreateZoneAsync() and SetZoneOptions() to add missing catalog zone permission check. Updated GetZoneOptions() and SetZoneOptions() to support new notify option for catalog zones. Code refactoring changes done. 2024-10-19 17:10:15 +05:30
Shreyas Zare
8fd927400d WebServiceSettingsApi: updated settings api to support custom real ip header feature for admin web server and DoH, and blocking answer ttl option. Updated SetDnsSettings() to add support for new options and add validation checks. Code refactoring changes done. 2024-10-19 17:05:47 +05:30
Shreyas Zare
825b4db69a code refactoring changes 2024-10-19 17:03:46 +05:30
Shreyas Zare
61d9cc6c6d LogManager: added validation check for LogFolder property. 2024-10-19 17:01:54 +05:30
Shreyas Zare
0a4eeb9ced DnsWebService: implemented custom real ip header feature for admin web service. Updated config code to save/load new options. 2024-10-19 17:01:05 +05:30
Shreyas Zare
56b7934644 Extensions: updated GetRemoteEndPoint() method to support custom real ip header feature. 2024-10-19 16:59:26 +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