Commit Graph

159 Commits

Author SHA1 Message Date
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
Shreyas Zare
f8a181b46b DnsWebService: implemented DNS_SERVER_ADMIN_PASSWORD env var to init config. 2021-10-16 16:14:28 +05:30
Shreyas Zare
3a81166236 DnsWebService: added more env vars for creating initial config file as per @Cossey's pull request. 2021-10-16 15:29:37 +05:30
Shreyas Zare
8efb34593a DnsWebService: implemented option to enable automatic self signed TLS certificate for the web service. 2021-10-16 15:04:06 +05:30
Shreyas Zare
9d5343cf13 DnsWebService: updated check update implementation and api. 2021-10-02 12:37:24 +05:30
Shreyas Zare
5cd2d80117 DnsWebService: updated log details for SetDnsSettings(). Implemented env var DNS_SERVER_OPTIONAL_PROTOCOL_DNS_OVER_HTTP in LoadConfigFile(). 2021-09-26 17:12:00 +05:30
Shreyas Zare
3658a4d139 DnsWebService: implemented environment variables options used when creating a new config file on first run. 2021-09-25 14:55:16 +05:30
Shreyas Zare
a6f4ec5424 DnsWebService: added api support for defaultRecordTtl and allowTxtBlockingReport options. 2021-09-25 13:50:27 +05:30
Shreyas Zare
5a9caf3d5c code refactoring done 2021-09-18 19:02:40 +05:30
Shreyas Zare
81e712d00d DnsWebService: Implemented remove DHCP lease api. Updated DHCP scope api for ping check feature parameters. 2021-09-18 18:04:28 +05:30
Shreyas Zare
ffa20a6447 minor changes 2021-09-18 11:57:52 +05:30
Shreyas Zare
40f132ad7f DnsWebService: added descendingOrder option to QueryLogsAsync() 2021-09-12 17:13:14 +05:30
Shreyas Zare
71a0cd72ca DnsWebService: minor changes and refactoring done. 2021-09-11 17:59:26 +05:30
Shreyas Zare
4c09ca7603 DnsWebService: Implemented query logs api. Updated api to return datetime in standard js format. 2021-09-11 16:05:30 +05:30
Shreyas Zare
b7ad0d34b5 DnsWebService: setting default value to true for NsRevalidation when config file is not found. 2021-08-21 16:00:51 +05:30
Shreyas Zare
1664397129 DnsWebService: implemented ns revalidation option in api. Updated minor implementation issues. 2021-08-21 12:20:24 +05:30
Shreyas Zare
ddd52cf2b4 DnsWebService: implemented tsig changes. Fixed issue in ResolveQuery() import feature when importing subdomain records. 2021-08-14 11:50:33 +05:30
Shreyas Zare
a656afc1d4 DnsWebService: fixed minor issues in ResolveQuery() in import feature. 2021-08-08 19:57:04 +05:30
Shreyas Zare
c5bfd1ba11 DnsWebService: updated LoadConfigFile() to allow restoring settings to default when restoring old format settings like during backup restore. 2021-08-07 17:28:33 +05:30
Shreyas Zare
ce5ac7eaa0 DnsWebService: updated api to support tsig keys. updated api to support new query rate limiting feature changes. 2021-08-07 12:49:57 +05:30
Shreyas Zare
f0e79bcdca DnsWebService: implemented api support for xfr-over-tls and TSIG features. Code refactoring done. 2021-07-31 18:59:20 +05:30
Shreyas Zare
53c41d6add DnsWebService: matching domain name with zone name when importing records in RecolveQuery(). 2021-07-10 14:42:15 +05:30
Shreyas Zare
25ad73eda6 DnsWebService: implemented zone resync api. Fixed minor bug in restore settings. Updated ResolveQuery import feature to sync records using LoadRecords() for normal scenarios and to use SyncZoneTransferRecords() for AXFR scenario. 2021-07-10 13:44:49 +05:30
Shreyas Zare
67465fe317 minor refactoring change 2021-06-26 17:02:18 +05:30
Shreyas Zare
4bff296f1e DnsWebService: implemented api support and config support for advance cache ttl values. 2021-06-19 14:33:40 +05:30