Commit Graph

183 Commits

Author SHA1 Message Date
Shreyas Zare
9aa6dcac0e DnsWebService: added catalog zone support. Updated dns config file format for supporting new options. 2024-09-14 19:19:59 +05:30
Shreyas Zare
036b3d4aec DnsWebService: added retry mechanism for delayed save. 2024-06-01 19:02:42 +05:30
Shreyas Zare
95b3bcacab DnsWebService: implemented delayed save feature. Implemented custom https redirection middleware to preseve same hostname in redirection url. Added support for .p12 cert extension. Updated self signed cert implementation to use specific file name. Set NS Revalidation to false since many popular domains fail to resolve due to they being misconfigured. Updated config file to add support for new options. 2024-05-19 16:08:35 +05:30
Shreyas Zare
0e61ae387a DnsWebService: updated config code for ECS override feature. 2024-03-16 15:50:11 +05:30
Shreyas Zare
beb9ff2546 DnsWebService: added DNS_SERVER_WEB_SERVICE_LOCAL_ADDRESSES environment variable. 2024-03-16 14:00:11 +05:30
Shreyas Zare
615d3dbe61 DnsWebService: updated implementation to support new features. Code refactoring done. 2024-02-04 18:01:49 +05:30
Shreyas Zare
d3600f34a2 DnsWebService: Implemented DNS Client udp socket pool port exclusion feature to avoid issues with web service http/3 udp port. Updated LoadConfigFile() to set resolver log manager by default. 2023-12-02 16:44:19 +05:30
Shreyas Zare
7c7befa574 DnsWebService: minor refactoring changes. 2023-10-29 20:19:28 +05:30
Shreyas Zare
d344c6a2a6 DnsWebService: implemented independent http/3 option. Added new api call routes. Updated dns config file for all new options. 2023-10-29 19:16:36 +05:30
Shreyas Zare
f2b96e2991 DnsWebService: added web server route for clone zone feature. 2023-09-24 16:37:12 +05:30
Shreyas Zare
badc9057df DnsWebService: updated TryStartWebServiceAsync() to restore to old address/port when new settings fail to bind. 2023-09-23 18:19:36 +05:30
Shreyas Zare
fccd8dd5fb DnsWebService: updated web service code to revert listening to old end point if new endpoint fails to bind. 2023-08-26 12:34:52 +05:30
Shreyas Zare
536c4ba2bb DnsWebService: Fixed issue with uploading large backup zip file for restore operation. Updated code to allow using relative path for web service and optional protocols TLS certificate. Fixed issue in reading config that could cause incomplete restoration of config. Added support for new proxy protocol options. 2023-08-12 13:13:22 +05:30
Shreyas Zare
ac9a6fcce9 DnsWebService: implemented uptimestamp feature. Updated kestrel to use cert collection to be able to respond with cert chain for private ca. 2023-07-29 13:37:36 +05:30
Shreyas Zare
e10c856dce DnsWebService: added new zone convert api support. 2023-06-25 19:14:41 +05:30
Shreyas Zare
ba0fc9be62 DnsWebService: fixed issue in StartAsync() that cause not loading block lists when update interval is set to 0. 2023-05-20 18:10:40 +05:30
Shreyas Zare
25090eb3ce DnsWebService: updated StopAsync() to prevent from running twice. 2023-04-29 16:16:55 +05:30
Shreyas Zare
1f8d2a538c DnsWebService: Enabled save cache option by default. Updated web server to serve unknown file types for certbot webroot http challenge. Added 4 new env var support. 2023-04-23 16:28:27 +05:30
Shreyas Zare
7fb8e2730d DnsWebService: updated StartWebServiceAsync() to have safe mode to allow only http listening when required. Code refactoring changes done. 2023-02-25 13:12:06 +05:30
Shreyas Zare
7e6b04441d DnsWebService: updated web server max request limit. 2023-02-18 11:44:30 +05:30
Shreyas Zare
05c4d96b65 DnsWebService: updated config to remove doh-port80 compatibility option. 2023-02-12 13:15:13 +05:30
Shreyas Zare
73cbff24a0 code refactoring changes. 2023-02-05 16:32:28 +05:30
Shreyas Zare
0d00100cd2 DnsWebService: Implemented support for save dns cache feature. Added TryStartWebServiceAsync() to handle web service startup failures. Updated ConfigureWebServiceRoutes() to use MapGetAndPost() to allow all API calls to read from query string and form data. Updated config serializers to support new dns options. Code refactoring done. 2023-01-14 14:59:50 +05:30
Shreyas Zare
2ba1948e69 DnsWebService: replaced HTTPListener with Kestral web server. Code refactoring done. 2023-01-01 18:48:08 +05:30
Shreyas Zare
cecd7c1457 DnsWebService: code refactoring done to move settings related code into new WebServiceSettingsApi class. 2022-12-24 17:14:51 +05:30
Shreyas Zare
27788acfa5 DnsWebService: Removed newtonsoft. Fixed issues in RestoreSettingsAsync() related to reloading block lists. Removed doh-json support. 2022-12-24 12:57:53 +05:30
Shreyas Zare
323e1c5ea1 DnsWebService: updated LoadConfigFile() to read forwarders from env var such that the forwarder protocol is applied later. 2022-11-26 11:55:11 +05:30
Shreyas Zare
93eb2424c9 DnsWebService: updated API for ECS support. Updated config code for ECS support. 2022-11-20 16:30:03 +05:30
Shreyas Zare
1cb9f42d1b DnsWebService: minor change in Start() to configure dhcp server done. 2022-11-12 15:13:56 +05:30
Shreyas Zare
bbc9371d9b DnsWebService: Updated ResolveQueryAsync() to avoid resolving domain name for name server for TLS and HTTPS transport protocols. 2022-10-30 18:54:33 +05:30
Shreyas Zare
ce3e5e847e DnsWebService: Added getTsigKeyNames api call. 2022-10-09 15:44:03 +05:30
Shreyas Zare
fe930e4690 DnsWebService: fixes file loading issue caused due to earlier code refactoring. 2022-09-24 16:06:19 +05:30
Shreyas Zare
4ffe9c74ef DnsWebService: Refactored LoadConfigFile() implementation. Fixed missing methods calls in ReadConfigFrom(). 2022-09-24 11:49:35 +05:30
Shreyas Zare
adbf13d4cc DnsWebService: updated implementation to add multi-user support. API paths updated to reflect the permission section each call belongs. Added support to stop block list automatic update. Updated dns config file format. 2022-09-18 18:04:28 +05:30
Shreyas Zare
7cc35c188f DnsWebService: updated resolver retries default value to 2. 2022-07-03 15:30:12 +05:30
Shreyas Zare
4e95380235 DnsWebService: setting default cache maximum entries to 10000. 2022-05-28 12:26:48 +05:30
Shreyas Zare
7b0b81bec7 DnsWebService: minor fix. 2022-05-08 15:33:37 +05:30
Shreyas Zare
683a488b80 DnsWebService: minor changes done. 2022-04-30 16:19:24 +05:30
Shreyas Zare
279feebbbf DnsWebService: updated SetDnsSettings() to detect server domain name change to regenerate new self signed cert for web service. 2022-04-24 18:10:10 +05:30
Shreyas Zare
907dad125a DnsWebService: updated settings api and config code for cache maximum entries option. Setting NS Revalidation default value to true for security reasons. 2022-04-23 18:00:12 +05:30
Shreyas Zare
53ac9c1817 DnsWebService: updated RestoreSettingsAsync() to use async IO to read request input stream. Updated LoadConfigFile() to add support for DNS_SERVER_LOG_USING_LOCAL_TIME env var. Other minor changes done. 2022-04-09 17:40:27 +05:30
Shreyas Zare
4a4119ac9e DnsWebService: Added API support for flushing Allowed and Blocked zones. Removed updateDnsKeyRollover API and added updatePrivateKey API. Updated LoadConfigFile() to create forwarder zone for ntp.org when enabling DNSSEC by default. 2022-03-26 12:09:49 +05:30
Shreyas Zare
a60f1d5f9b DnsWebService: Updated API for dns key automatic rollover option. Added DNS server parameters to the settings API. Fixed multiple issues in ResolveQuery() import option. 2022-03-12 15:49:42 +05:30
Shreyas Zare
fa417216f3 major code refactoring done. 2022-03-06 17:24:41 +05:30
Shreyas Zare
6d5656a9b6 DnsWebService: updated ResolveQuery() to load local zone trust anchors into the dns client. 2022-02-27 18:21:04 +05:30
Shreyas Zare
0e6a8540a6 DnsWebService: updated api url for zone related calls. Added DNSSEC related API calls. Fixed minor issue with ResolveQuery(). Minor code refactoring done. 2022-02-20 17:12:23 +05:30
Shreyas Zare
811059a71d DnsWebService: updated api for DNSSEC. Updated ResolveQuery() method to support DNSSEC validation and to import records all records. Updated config file changes. 2022-01-23 18:07:18 +05:30
Shreyas Zare
8df098ff75 DnsWebService: added WebServiceTlsPort property. 2021-11-06 13:29:48 +05:30
Shreyas Zare
1d91ce7419 DnsWebService: updated api to add udpPayloadSize. Updated DNS Client api to support EDNS. 2021-10-30 12:22:26 +05:30
Shreyas Zare
170b01677a DnsWebService: updated SetDnsSettings() to convert the forwarder to the specified protocol. 2021-10-23 12:04:19 +05:30