Commit Graph

1072 Commits

Author SHA1 Message Date
Shreyas Zare
cfbf7b689e added SimpleCNAME for split horizon. 2021-04-10 13:30:15 +05:30
Shreyas Zare
2278568279 refactoring done 2021-04-10 13:29:29 +05:30
Shreyas Zare
c8d7172486 updated readme with planned features list. 2021-04-03 12:50:37 +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
a6f839d68c DnsServer: updated cache maintenance timers to 15 mins. Updated sequence of quering for allowed and blocked zones since the old sequence was not optimal for the current state of code. Added RCODE check in RecursiveResolveAsync() before returning the response so that serve stale works when failure response is received. 2021-04-03 12:47:45 +05:30
Shreyas Zare
7975f07f42 ResolverPrefetchDnsCache: fixed prefetch query handling so that auth zone is also queried along with cache zone to get the most relevant closest name servers. 2021-04-03 12:33:32 +05:30
Shreyas Zare
2dd9b89e74 AuthZoneManager: implemented QueryClosestDelegation(). 2021-04-03 12:32:23 +05:30
Shreyas Zare
f8230ce7a1 CacheZoneManager: updated code to require DnsServer reference to read serve stale option. 2021-04-03 12:31:51 +05:30
Shreyas Zare
68a0864938 CacheZone: updated SetRecords() to consider if serve stale is enabled or not. Updated RemoveExpiredRecords() implementation to consider serve stale and for code optimization. 2021-04-03 12:30:46 +05:30
Shreyas Zare
c79512886c DnsServer: updated ANY request handling in ProcessQueryAsync(). 2021-03-29 15:28:08 +05:30
Shreyas Zare
557df24ade DnsServer: minor optimizations done. 2021-03-27 20:16:15 +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
f36b6a8a0a Apps: split the default dns app into 5 separate apps. 2021-03-27 16:53:21 +05:30
Shreyas Zare
c875d3ad4c apidocs: updated docs for overwrite option in addRecord call. 2021-03-27 16:50:40 +05:30
Shreyas Zare
1ef40427b2 webapp: added add record overwrite option html. 2021-03-27 16:50:02 +05:30
Shreyas Zare
7b5db4e557 minor changes 2021-03-27 16:49:28 +05:30
Shreyas Zare
faca53432f webapp: implemented add record overwrite option. minor refactoring changes. 2021-03-27 16:49:14 +05:30
Shreyas Zare
fd2afc7928 webapp: implemented app version api parameter. 2021-03-27 16:47:52 +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
1378845b2c DnsServer: ignoring incomplete udp requests in ReadUdpRequestAsync(). Updated ProcessANAMEAsync() to allow supporting multiple ANAME record processing for a domain concurrently. Minor code refactoring done. 2021-03-27 16:42:38 +05:30
Shreyas Zare
5dfaad2c92 AuthZoneManager: added GetRecords() method to directly get the records without querying. 2021-03-27 16:37:46 +05:30
Shreyas Zare
bdf40ac1aa DnsApplication: added version for app. 2021-03-27 16:36:32 +05:30
Shreyas Zare
4db2098b0f CacheZoneManager: added validation for '*' in CacheRecords() to prevent abuse due to caching wildcard response. Fixed null ref exception in GetAdditionalRecords(). 2021-03-27 16:35:07 +05:30
Shreyas Zare
a2da395f69 ZoneTree: fixed index out of bound exception in FindNodeValue(). 2021-03-27 16:33:32 +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
4b58b412f7 DnsServer: updated ProcessANAMEAsync() to resolve multiple ANAME records concurrently. Fixed ANAME resolution bug caused by checking first RR. 2021-03-21 20:45:33 +05:30
Shreyas Zare
c0479442d5 AuthZoneManager: allowing to update specific ANAME record in RR set. 2021-03-21 20:39:45 +05:30
Shreyas Zare
9c5c15cc97 AuthZone: allowing to add multiple ANAME records. 2021-03-21 20:39:11 +05:30
Shreyas Zare
4fa4de2838 webapp: added html text to explain the block list zone's allow list url option. 2021-03-21 20:06:07 +05:30
Shreyas Zare
23031248c6 DnsWebService: implemented block list zone's allow list feature. 2021-03-21 20:05:06 +05:30
Shreyas Zare
8de579fbdf BlockListZoneManager: implemented allow list url feature. 2021-03-21 20:02:07 +05:30
Shreyas Zare
0690ceddf0 webapp: updated app config modal text. 2021-03-21 18:48:24 +05:30
Shreyas Zare
698efb7641 added GeoCountryCNAME 2021-03-21 18:25:58 +05:30
Shreyas Zare
ea866d9920 added GeoCountryAddress 2021-03-21 18:25:51 +05:30
Shreyas Zare
e2398c0036 minor refactoring 2021-03-21 18:17:54 +05:30
Shreyas Zare
7ebe89cb13 default app: fixed null exception bug. 2021-03-21 18:17:39 +05:30
Shreyas Zare
5813ef614f default app: fixed null exception bug. 2021-03-21 18:17:24 +05:30
Shreyas Zare
0a120576da default app: fixed null exception bug. 2021-03-21 18:16:49 +05:30
Shreyas Zare
5194359de6 DnsServerSystemTrayApp: fixed issue with app path which returns dll path in .net5. 2021-03-21 17:34:28 +05:30
Shreyas Zare
429cee52dd webapp: added update app js code. 2021-03-21 17:33:03 +05:30
Shreyas Zare
d319c903e9 webapp: added update app model html code. 2021-03-21 17:31:12 +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
5caf6e9a71 DnsApplicationManager: handled exception in UnloadAllApplications() for each app dispose. Added UpdateApplicationAsync() to update existing app and reload it. 2021-03-21 17:27:59 +05:30
Shreyas Zare
193373ffee DhcpServer: updated code to use async socket calls from .net5. 2021-03-21 17:16:39 +05:30
Shreyas Zare
e227eeffab webapp: fixed bug in checkForWebConsoleRedirection() causing redirection when using default ports. 2021-03-21 17:14:50 +05:30
Shreyas Zare
6c1ce550fd webapp: updated jquery to v3.6.0 2021-03-21 17:13:38 +05:30
Shreyas Zare
4dc58a748a DnsServer: implemented socket async calls from .net5 in ReadUdpRequestAsync() and ProcessUdpRequestAsync(). Added missing connection close http header in DoH responses. Detecting protocol from content-type header when accept header is missing in ProcessDoHRequestAsync(). Forcing TCP for ANY queries via UDP in ProcessQueryAsync(). Passing recursion allowed flag to auth zone queries. 2021-03-21 16:48:29 +05:30
Shreyas Zare
4b6d83f27a ResolverDnsCache: passing recursion available flag. 2021-03-21 16:42:53 +05:30
Shreyas Zare
c264bc8793 BlockedZoneManager: passing recursion allowed flag. 2021-03-21 16:42:21 +05:30