Commit Graph

  • c7a8348819 removed ResolverQueryHandle Shreyas Zare 2020-08-29 14:36:15 +05:30
  • bae6b0483a DnsServer: using separate forwarder and resolver settings. Implemented async methods for request processing and for resolver. Using intependent task scheduler for resolver. Added resolver task stuck check to allow using quick stale response. Shreyas Zare 2020-08-29 14:36:00 +05:30
  • 7a9db44855 StatsManager: using BlockingCollection. Shreyas Zare 2020-08-29 14:29:11 +05:30
  • 2b37a4c7f1 StubZone: implemented async methods. Shreyas Zare 2020-08-29 14:28:15 +05:30
  • 70434194fc SecondaryZone: implemented async methods. Shreyas Zare 2020-08-29 14:26:29 +05:30
  • 4ffe2cc139 PrimaryZone: implemented async methods. Shreyas Zare 2020-08-29 14:25:44 +05:30
  • d137fd59ab AuthZoneInfo: using async methods. Shreyas Zare 2020-08-29 14:25:09 +05:30
  • 140b96928e AuthZone: using async methods. Shreyas Zare 2020-08-29 14:24:50 +05:30
  • 3cfbec8883 AuthZoneManager: Zone creation, loading and sync checks added. Shreyas Zare 2020-08-29 14:23:58 +05:30
  • dfb5cd054d BlockListZoneManager: added duplicate url check in LoadBlockLists(). Updated code to use async methods with HttpClient. Shreyas Zare 2020-08-29 14:19:24 +05:30
  • 926fa2c93a BlockedZoneManager: fixed bug caused by an existing blocked.config file from older installations. Shreyas Zare 2020-08-29 14:17:24 +05:30
  • cc5cc5dff5 minor code refactoring done. Shreyas Zare 2020-08-29 14:16:32 +05:30
  • 7114b2ad8f DhcpServer: Code refactoring done to handle requests in same thread. Added dns update for hosts that send INFORM message. Fixed bug in dns update that caused incorrect reverse zone creation. Code refactoring done. Shreyas Zare 2020-08-29 14:15:55 +05:30
  • a89cbd3d5f DhcpMessage: updated code to removed assumption of Ethernet hardware address type. Shreyas Zare 2020-08-29 14:13:14 +05:30
  • cdcb79cc6a Scope: removed reverse zone property since it does not reflect correct reverse zone for all networks. Shreyas Zare 2020-08-29 14:12:37 +05:30
  • b961d66313 updated readme with blog post. Shreyas Zare 2020-07-26 18:43:47 +05:30
  • f1712674e9 removed old bash scripts. Shreyas Zare 2020-07-18 17:02:04 +05:30
  • e20e19e407 added new generic installer and uninstaller bash scripts. Shreyas Zare 2020-07-18 17:01:52 +05:30
  • 3e258e7964 assembly version updated for release Shreyas Zare 2020-07-18 15:41:27 +05:30
  • c422a2aee2 updated change log for v5.0.2 release Shreyas Zare 2020-07-18 15:40:30 +05:30
  • f955590679 updated readme with blog post Shreyas Zare 2020-07-18 14:01:16 +05:30
  • ab6c158621 upgraded .NET Framework version from v4.6.1 to v4.8 Shreyas Zare 2020-07-18 14:00:37 +05:30
  • c485c358ec DhcpServer: updated code for UnbindUdpListener() since the workaround did work well. Shreyas Zare 2020-07-18 13:45:58 +05:30
  • abf2530ab7 Scope: fixed bug that caused reserved addresses to stop working. code refactoring done. Shreyas Zare 2020-07-18 12:41:04 +05:30
  • 6d43ec4b31 minor code refactoring done. Shreyas Zare 2020-07-18 12:10:58 +05:30
  • 9b4a562b82 webapp: removed commented markup. Shreyas Zare 2020-07-18 12:10:28 +05:30
  • be23c21671 webapp: updated bootstrap from v3.3.7 to v3.4.1. Shreyas Zare 2020-07-18 12:09:58 +05:30
  • f9082d785d webapp: removed unused css. Shreyas Zare 2020-07-18 12:09:20 +05:30
  • 690ac9de2d StatsManager: updated maintenance timer interval to count stats early. Shreyas Zare 2020-07-18 12:08:56 +05:30
  • f9be5c7f3d DnsServer: updated min threads count code. Shreyas Zare 2020-07-18 12:07:57 +05:30
  • 8387bc5e27 DomainTree: throwing correct exception. Shreyas Zare 2020-07-18 12:05:27 +05:30
  • ed3535a7e6 added root hints file Shreyas Zare 2020-07-12 15:36:27 +05:30
  • 87821d98b7 webapp: minor fix. Shreyas Zare 2020-07-12 15:36:02 +05:30
  • d12c07ad6b DnsServer: added name of the domain that was blocked in TXT record. Updated min thread count to improve performance. Fixed bugs in CNAME cloaking implementation. Shreyas Zare 2020-07-12 15:35:42 +05:30
  • c2da7784f6 BlockListZoneManager: added name of the domain that was blocked in TXT record. Shreyas Zare 2020-07-12 15:34:03 +05:30
  • 83d03d2c5f minor project changes Shreyas Zare 2020-07-11 13:50:50 +05:30
  • 048704398a added uninstaller scripts for ubuntu and raspi Shreyas Zare 2020-07-11 13:50:21 +05:30
  • 0a3c47fbbc updated ubuntu installer to disable systemd-resolved to help novice users. Shreyas Zare 2020-07-11 13:49:44 +05:30
  • 8e37a337ed DnsServer: fixed missing port in UpdateThisServer(). Shreyas Zare 2020-07-11 13:48:40 +05:30
  • 2078aa92cf webapp: updates syntax for dns client server parameter. Shreyas Zare 2020-07-11 13:43:02 +05:30
  • aaf11f0c6c WebService: updated TLS port check in ResolveQuery() Shreyas Zare 2020-07-11 13:42:12 +05:30
  • 1c4c1554ed assembly version updated for release. Shreyas Zare 2020-07-06 19:02:23 +05:30
  • f7b9370830 updated readme with blog post link. Shreyas Zare 2020-07-06 19:01:57 +05:30
  • 04a792fc47 updated change log for v5.0.1 release. Shreyas Zare 2020-07-06 19:01:32 +05:30
  • 19e8040057 minor code refactoring. Shreyas Zare 2020-07-06 18:20:37 +05:30
  • 2847335c99 DnsServer: fixed issue of reading DnsDatagram from DoH request. Shreyas Zare 2020-07-06 18:19:43 +05:30
  • 2b71a4a41e updated readme with new feature details Shreyas Zare 2020-07-04 18:26:17 +05:30
  • b6dfd8a8da fixed changelog date Shreyas Zare 2020-07-04 18:25:52 +05:30
  • 56110b6a2e assembly version updated to v5.0 for release Shreyas Zare 2020-07-04 18:15:26 +05:30
  • bbe042997c MainApplicationContext: removed SaveConfig() since by default the app runs with low priviledge and cannot save config file. Shreyas Zare 2020-07-04 18:14:35 +05:30
  • 8441610401 added change log. Shreyas Zare 2020-07-04 16:46:15 +05:30
  • ece11e5bea updated .net core to 3.1.5 for raspberry pi. Shreyas Zare 2020-07-04 16:45:59 +05:30
  • d55fdd1352 frmAbout: updated link to license. Shreyas Zare 2020-07-04 16:45:30 +05:30
  • 5bd3230fc2 webapp: implemented use this server option in conditional forwarder config. Other UI changes and refactoring done. Shreyas Zare 2020-07-04 16:44:51 +05:30
  • f12fb4e569 webapp: minor ui fix done. Shreyas Zare 2020-07-04 16:43:39 +05:30
  • 203cd3e77f webapp: added more text to help with TLS cert creation. Updated About section with new links and whats new section. Added Use This Server option in conditional forwarder config. Other minor UI changes done. Shreyas Zare 2020-07-04 16:43:23 +05:30
  • 2948cebee6 WebService: fixed log messages to show more details. Used 0 ttl for FWD records. Updated GetRecords() to correctly return data when no records exists. Implemented ThisServer property. Code refactoring done. Shreyas Zare 2020-07-04 16:41:21 +05:30
  • 722591a1e4 DnsServer: added ThisServer property to provide correct name server address of this server. Added logging to help debugging. Updated code to select conditional forwarders without this-server entry when there are multiple FWD records. Added GetResolverQueryKey() to correctly generate query key. Shreyas Zare 2020-07-04 16:38:17 +05:30
  • 10e132c8cb AuthZoneManager: code refactoring done. Shreyas Zare 2020-07-04 16:35:33 +05:30
  • df6d34817d StubZone: updated initial interval to 5 sec for quick start. Added log entry to indicate start of refresh. Updated RefreshZone() to use TCP transport for zone sync to avoid issues when primary server responds with partial glue records in additional section without TC set. Shreyas Zare 2020-07-04 16:34:52 +05:30
  • 84c38dd3e4 SecondaryZone: updated initial interval to 5 sec for quick start. Added log entry to indicate start of refresh. Shreyas Zare 2020-07-04 16:33:13 +05:30
  • d15296824c AuthZone: using SetGlueRecords() which is correct glue record copy operation in SyncRecords(). Shreyas Zare 2020-07-04 16:32:13 +05:30
  • d103e729be ZoneTree: fixed bug in TryRemove() which caused removal of all sub domains of another zone in tree branch. Shreyas Zare 2020-07-04 16:31:10 +05:30
  • 4de8c5c8cf DnsResourceRecordExtension: code refactoring done. Shreyas Zare 2020-07-04 16:29:44 +05:30
  • 3e23d6cadb webapp: updated UI as per implementation changes for secondary and stub zones. Shreyas Zare 2020-06-28 19:45:37 +05:30
  • 28ee478c45 WebService: minor code fixes. Updated CreateZone api as per new implementation changes. Shreyas Zare 2020-06-28 19:44:14 +05:30
  • ac249e7843 DnsServer: updated ProcessNotifyQuery() and ProcessZoneTransferQuery() to reuse code. Shreyas Zare 2020-06-28 19:42:44 +05:30
  • 237c9e75dc AuthZoneManager: code refactoring done. Shreyas Zare 2020-06-28 19:41:56 +05:30
  • 9f88d6a4e6 StubZone: Added locks for reseting timer. Changed implementation to create new zone. Shreyas Zare 2020-06-28 19:40:58 +05:30
  • a6e913852b SecondaryZone: Added locks for reseting timer. Changed implementation to create new zone. Shreyas Zare 2020-06-28 19:40:32 +05:30
  • 816eba7545 AuthZoneInfo: added GetPrimaryNameServerAddresses() and GetSecondaryNameServerAddresses(). Shreyas Zare 2020-06-28 19:39:09 +05:30
  • 02c8ae8400 AuthZone: added checks in GetNameServerAddresses() to prevent exceptions. Made GetPrimaryNameServerAddresses() public, used GetRecords() for getting NS records and updated implementation to use addresses from NS record and from glue records. Made GetSecondaryNameServerAddresses() public and used GetRecords() for getting NS records. Updated GetRecords() to return empty array if no records are found. Optimized ContainsNameServerRecords() code. Shreyas Zare 2020-06-28 19:38:34 +05:30
  • f326110514 CacheZone: optimized code in ContainsNameServerRecords(). Shreyas Zare 2020-06-28 19:32:44 +05:30
  • a6b8c66a19 DnsResourceRecordExtension: added SetGlueRecords() and refactored old method to SyncGlueRecords(). Shreyas Zare 2020-06-28 19:31:17 +05:30
  • f98a451180 AuthZoneManager: fixed issue in QueryZoneTransferRecords() which caused extra SOA record. Removed special case in SyncRecords(). Updated delegation check sequence back to original in Query(). Shreyas Zare 2020-06-28 16:38:59 +05:30
  • c0fe15cf63 webapp: fixed issue with updateRecordState() causing NS records to lose glue addresses. Shreyas Zare 2020-06-28 16:37:04 +05:30
  • ee0847d316 timeout values updated as per DnsClient implementation changes. Shreyas Zare 2020-06-28 15:52:47 +05:30
  • d9862308af SecondaryZone: updated AXFR timeout to 5 mins per retry to allow waiting for longer time to refresh zone. Updated initial soa refresh and retry values for quick retries. Updated RefreshZone() to use all name servers to do zone transfer. Shreyas Zare 2020-06-27 17:40:32 +05:30
  • 03ea47fd8e StubZone: updated initial soa refresh and retry values for quick retries. Updated RefreshZone() to use same name servers to do zone sync. Shreyas Zare 2020-06-27 17:39:01 +05:30
  • 21eb4dd7d3 DnsServer: replaced ConcurrentDictionary with DomainTree to manage resolver query handles to have a complete lock less lookup code. Shreyas Zare 2020-06-27 15:38:42 +05:30
  • b24963425e ZoneTree: implemented DomainTree and ByteTree TryRemove() changes. Shreyas Zare 2020-06-27 15:36:49 +05:30
  • 2db9337d36 DomainTree: implemented independent class to traverse domain name to be reuseable. Shreyas Zare 2020-06-27 15:35:35 +05:30
  • 7301c2ea65 WebService: using new DnsCache property in ResolveQuery(). Minor refactoring changes done. Shreyas Zare 2020-06-27 12:05:03 +05:30
  • 3abb76fe8d DnsServer: implemented ResolverDnsCache for recursive resolution. Updated ProcessQuery() to change the sequence of checking for blocked zones to allow blocking correctly in case of stub zone or forwarder zone being used. Fixed implementation changes in ProcessAuthoritativeQuery(), ProcessCNAME(), ProcessANAME() and ProcessRecursiveQuery(). RecursiveResolveAsync() stopped caching failure record in case of exception due to undesirable side effects for clients. CachePrefetchSamplingAsync() added zone type checks. Code refactoring done. Shreyas Zare 2020-06-27 12:03:54 +05:30
  • fe8da4e5c8 ResolverPrefetchDnsCache: updated class to inherit ResolverDnsCache and allow using auth zone for recursive resolution. Shreyas Zare 2020-06-27 11:58:37 +05:30
  • c74acc6540 ResolverDnsCache: added class to allow recursive resolver to be able to query auth zone too. Shreyas Zare 2020-06-27 11:57:52 +05:30
  • 920200c505 AuthZoneManager: removed code that added glue records from SOA for zone transfer output in QueryZoneTransferRecords(). Updated SyncRecords() to allow root zone to respond for A or AAAA records for *.root-servers.net records and fixed name comparison issue. UpdateRecord() removed code for updating glue records for NS since secondary and stub NS records must not be changed. Query() updated the sequence of checking for delegation. Updated LoadZoneFrom() to delete zone if it fails to load. Shreyas Zare 2020-06-27 11:56:40 +05:30
  • 6c25e9498e ForwarderZone: added SetRecords() and AddRecord() methods with validation checks. Shreyas Zare 2020-06-27 11:51:43 +05:30
  • c29424f9c3 StubZone: using GetPrimaryNameServerAddresses() in RefreshTimerCallback(). Code refactoring done. Added validation checks in SetRecords(). Shreyas Zare 2020-06-27 11:50:16 +05:30
  • 58f592d3b6 SecondaryZone: RefreshTimerCallback() code refactoring done. Updated SetRecords() to copy glue records for SOA with validations. Shreyas Zare 2020-06-27 11:46:43 +05:30
  • 9e78fbca34 PrimaryZone: using GetSecondaryNameServerAddresses() call. Updated SetRecords() to remove any attached info data. Shreyas Zare 2020-06-27 11:45:12 +05:30
  • 06694b0eb2 AuthZone: updated implementation to get secondary name server addresses. Fixed SyncRecords() to allow syncing root zone correctly and to avoid overwriting glue records for SOA. Removed UpdateGlueAddresses(). Fixed typo bug in QueryRecords(). Shreyas Zare 2020-06-27 11:43:58 +05:30
  • f22972abd9 CacheZone: fixed minor typo bug. Shreyas Zare 2020-06-27 11:41:52 +05:30
  • 54762297ea ZoneTree: fixed issues in FindZone() to correctly check if sub domains exists. Fixed issue in selection of delegation and authority zones. Shreyas Zare 2020-06-27 11:41:17 +05:30
  • 8bf488818d webapp: updated UI glue addresses fields for specific zone types only. Disabled NS record edit options for secondary and stub zones. Shreyas Zare 2020-06-21 19:52:09 +05:30
  • d18bf2ab77 ZoneTree: added IsKeySubDomain() checks in FindNodeValue() instead of checking it afterwards for correctness. Shreyas Zare 2020-06-20 19:22:45 +05:30
  • 9cdb21acd0 DnsServer: updated ProcessZoneTransferQuery() with zone checks using AuthZoneInfo. Shreyas Zare 2020-06-20 19:14:21 +05:30
  • d5e463ec28 StubZone: not adding glue for SOA record as its not required. Shreyas Zare 2020-06-20 19:13:44 +05:30
  • 9fa91d96f7 AuthZoneManager: updated SyncRecords() to handle root zone case. Prevented SyncRecords() from overwriting glue addresses for SOA record. Shreyas Zare 2020-06-20 19:12:50 +05:30
  • be3fc997a7 webapp: changed glue address ui to use textarea. Shreyas Zare 2020-06-20 19:11:11 +05:30