Commit Graph

109 Commits

Author SHA1 Message Date
Shreyas Zare
4f9c0e7cfc DnsWebService: minor change to return fqdn name when domain is root. 2021-06-13 18:30:53 +05:30
Shreyas Zare
9dbc6a5729 DnsWebService: updated zone api for DNAME record support. 2021-06-12 19:13:22 +05:30
Shreyas Zare
29e344b3c4 DnsWebService: updated blockListNextUpdatedOn in GetDnsSettings to return correct state. Added validation check in ForceUpdateBlockLists() before starting update timers. 2021-05-30 17:53:56 +05:30
Shreyas Zare
fc93d34619 DnsWebService: updated TemporaryDisableBlocking() to return temporaryDisableBlockingTill value for immediate display in ui. 2021-05-30 17:10:34 +05:30
Shreyas Zare
fb0dd66f3d DnsWebService: Implemented enable blocking setting api and temporary disable blocking feature. 2021-05-30 16:44:53 +05:30
Shreyas Zare
8e242668af DnsWebService: updated settings api for blocking type feature support. 2021-05-29 13:17:22 +05:30
Shreyas Zare
25cb637bf1 DnsWebService: Implemented api for zone options. Updated api for QPM limit feature. 2021-05-23 18:35:35 +05:30
Shreyas Zare
ace189b56f DnsWebService: Implemented API support for recursion ACL options. Updated RecolveQuery() method to use new NameServerAddress's ResolveIPAddressAsync() and ResolveDomainNameAsync() methods by passing dns server object to perform internal resolution. Updated config file code for new recursion ACL options. 2021-05-16 17:11:04 +05:30
Shreyas Zare
fb8263ad95 minor change 2021-05-14 18:47:18 +05:30
Shreyas Zare
d8b9a4e010 DnsWebService: added comments support in AddRecord and UpdateRecord. 2021-05-08 15:41:35 +05:30
Shreyas Zare
d326886ece DnsWebService: updated list installed apps api to return if a store app has updates available. Updated list store apps to return size of the app zip file. 2021-05-01 14:05:29 +05:30
Shreyas Zare
948e11ccb2 DnsWebService: added json response for glue records in MX and SRV records. 2021-04-24 13:20:33 +05:30
Shreyas Zare
62aa93c118 DnsWebService: implemented useNxDomainForBlocking option in api. Refactored Name Error to NX Domain. 2021-04-11 17:43:20 +05:30
Shreyas Zare
aadfb7cdec DnsWebService: Implemented _webServiceHttpEP to keep track of correct http web server ep. Added dns app store support api. Using SocketsHttpHandler in CheckForUpdateAsync(). Code refactoring done. 2021-04-10 14:14:28 +05:30
Shreyas Zare
95d5da9559 DnsWebService: removed https timeout code in TlsToHttpTunnelAsync() and letting the http server to do timeout to avoid getting connection reset when downloading files. 2021-04-03 12:49:34 +05:30
Shreyas Zare
2cd08843cd DnsWebService: trying to start web service on 127.0.0.1 when it fails to start with default hostname. 2021-03-27 19:29:00 +05:30
Shreyas Zare
33246c742e DnsWebService: updated TlsToHttpTunnelAsync() code to allow injecting X-Real-IP header to allow logging the remote user's ip address when using https. Updated StartDnsWebService() to start multiple accept tasks. 2021-03-27 19:12:48 +05:30
Shreyas Zare
f93ae4f2df DnsWebService: ignoring io exception in TlsToHttpTunnelAsync(). Added overwrite option in AddRecord() method. Implemented version parameter in ListApps(). 2021-03-27 16:47:02 +05:30
Shreyas Zare
ab7dff2025 DnsWebService: updated zone api code to support managing multiple ANAME records. 2021-03-21 20:46:30 +05:30
Shreyas Zare
23031248c6 DnsWebService: implemented block list zone's allow list feature. 2021-03-21 20:05:06 +05:30
Shreyas Zare
6572fadaf3 DnsWebService: added app update api support. Updated WriteRecordsAsJson() to show hidden RDATA of special records. 2021-03-21 17:30:30 +05:30
Shreyas Zare
96eda19601 DnsWebService: removed application zone api support. 2021-03-13 13:22:39 +05:30
Shreyas Zare
ac3cf0e35a DnsWebService: added api support for DNS apps. Updated backup and restore to support apps. Updated zone api to allow creating application zone. Updated zone api to add, update, enable, disable and delete app records. 2021-03-06 17:48:21 +05:30
Shreyas Zare
2c3d684fe3 DnsWebService: code refactoring done. Implemented qname minimization setting. Stopping dns and dhcp servers correctly by calling Dispose(). 2021-02-27 19:18:08 +05:30
Shreyas Zare
3338038867 dns server code refactoring done. 2019-06-15 13:28:39 +05:30
Shreyas Zare
e82475870d DnsWebService: implemented DnsClient changes. 2019-05-25 12:34:17 +05:30
Shreyas Zare
e05c160ea6 minor refactoring done. 2019-05-05 16:16:17 +05:30
Shreyas Zare
4f80ceaf75 DnsWebService: SendError() code refactoring done. Implemented X-Real-IP support when using reverse proxy on private IP address. Set IgnoreWriteExceptions option for HttpListener. 2019-05-04 12:46:20 +05:30
Shreyas Zare
2f92daa178 DnsWebService: fixed string comparison issue caused with certain system locale. removed blocked zone check at CustomBlockZone() since it hinders adding zone which alreay has sub zone in block zone. 2019-05-01 19:40:03 +05:30
Shreyas Zare
086487ccb0 DnsWebService: implemented cache prefetch settings parameters in api and config file. 2019-04-28 19:16:39 +05:30
Shreyas Zare
8aa46b964a DnsWebService: added web service hostname property to indicate if web panel is running only on localhost. Fixed issue caused by previous change in WriteRecordsAsJson() for authoritative records ttl property. 2019-04-28 15:22:37 +05:30
Shreyas Zare
51817e8986 DnsWebService: added error logging to CheckForUpdate(). 2019-04-20 15:25:44 +05:30
Shreyas Zare
d9293242ab DnsWebService: minor refactoring changes. 2019-04-20 13:16:46 +05:30
Shreyas Zare
bab78ec014 DnsWebService: ResolveQuery() using only 1 retry and 10 sec timeout to help in debugging issues with DNS Server response times. 2019-03-30 17:03:00 +05:30
Shreyas Zare
4e7b40e534 DnsWebService: fixed minor issues. Added record sorting by name and type. Refactoring done. 2019-03-23 13:21:20 +05:30
Shreyas Zare
9aa347ed08 DnsWebService: removed warning log for common name mismatch in LoadTlsCertificate() since this will create confusion when using cert with Subject Alternate Names extension. 2019-03-09 16:00:50 +05:30
Shreyas Zare
457cfacb54 DnsWebService: removed DoH implementation from web service and moved it to DnsServer class so that the admin web console is not exposed due to reverse proxy misconfiguration. Added validation checks for domain parameter in api calls. Minor refactoring done. 2019-03-09 15:38:59 +05:30
Shreyas Zare
82f8f22e4c added X-Real-IP support to get client IP from reverse proxy. 2019-03-03 19:29:21 +05:30
Shreyas Zare
1cedea6391 web service multi threaded accept implemented. 2019-03-03 18:46:57 +05:30
Shreyas Zare
d4ac5130a4 DnsWebService: implemented DoT and DoH support API. Implemented standalone non TLS terminited DoH support directly on the web service. 2019-03-02 20:08:14 +05:30
Shreyas Zare
5a904eb0d5 removed base64 encoding for api parameter. 2019-02-16 15:23:42 +05:30
Shreyas Zare
37017e669f set http listener to use localhost prefix to corretly allow running it for non-admin users. 2019-02-10 14:16:27 +05:30
Shreyas Zare
b73f5c7a46 DnsWebService: concurrent block list file loading done in LoadBlockLists() to save loading time. 2019-02-02 18:28:59 +05:30
Shreyas Zare
5cbe4effd0 fixed issue that got added earlier. 2019-02-02 14:01:14 +05:30
Shreyas Zare
2beb087f12 DnsWebService: implemented import and export api for allowed zones and custom blocked zones. Minor change done to set content length to avoid chunking. Failed attempt check excluded for default password to avoid getting locked out due to auto login by web page refreshing. 2019-02-02 12:41:46 +05:30
Shreyas Zare
058a485522 brute force login attempts blocking mechanism added. 2019-01-27 20:04:13 +05:30
Shreyas Zare
580413f044 added validation checks for api calls. 2019-01-27 19:15:50 +05:30
Shreyas Zare
6e6117df04 get clean version number for UI display. 2019-01-27 18:11:37 +05:30
Shreyas Zare
b68119e22e Implemented feature to store TXT record in blocked zone that tells which list the domain was in. Api updated to allow only add/delete/flush operations on custom block zone such that the block list zones are not affected. 2019-01-27 17:03:02 +05:30
Shreyas Zare
e751dd3e18 ignoring error 2019-01-14 11:26:57 +05:30