Commit Graph

  • 0360f76d28 StubZone: using GetAllNameServerAddresses() for getting all name server addresses. Shreyas Zare 2020-06-20 17:35:04 +05:30
  • 33f28c8d89 SecondaryZone: using GetPrimaryNameServerAddresses() to get primary name server addresses. Using different timeout values for SOA and AXFR queries since AXFR may take longer time. Code refactoring done. Shreyas Zare 2020-06-20 17:34:33 +05:30
  • 870937f390 PrimaryZone: using GetAllNameServerAddresses() method to get secondary name server addresses. Shreyas Zare 2020-06-20 17:32:17 +05:30
  • c9ba96e82f AuthZone: implemented GetNameServerAddresses(), GetPrimaryNameServerAddresses() and GetAllNameServerAddresses() common functions for code reuse. Shreyas Zare 2020-06-20 17:31:41 +05:30
  • 40e15825f7 ZoneTree: fixed bug in GetNextSubDomainZoneNode() which could cause listing of sub domains from another zone down the tree. fixed bug in FindNodeValue() to allow finding authority when key is for root. Fixed issue in FindZone() that would incorrectly report existence of sub domain. Shreyas Zare 2020-06-20 16:33:19 +05:30
  • c5064651ac BlockListZoneManager: fixed null reference error. Shreyas Zare 2020-06-20 16:30:52 +05:30
  • 8703c9fb57 DnsServer: implemented DnsDatagram parsing changes. Shreyas Zare 2020-06-20 14:17:28 +05:30
  • 5e8cb1cbd1 AuthZoneManager: zone loading sequence updated. update server domain done async. Fixed issue with GetForwarderResponse() to allow using subdomain FWD records. Updated LoadZoneFrom() to correctly loading old version stub zones. Fixed minor issues and refactoring done. Shreyas Zare 2020-06-20 14:14:19 +05:30
  • 353693529f BlockListZoneManager: zone loading sequence updated. code refactoring done. Shreyas Zare 2020-06-20 14:10:26 +05:30
  • c1a3e0fe86 minor refactoring done. Shreyas Zare 2020-06-20 14:09:35 +05:30
  • e7cd3687ef BlockedZoneManager: zone loading sequence updated. Shreyas Zare 2020-06-20 14:09:13 +05:30
  • 9795225bd2 AllowedZoneManager: zone loading sequence updated. Shreyas Zare 2020-06-20 14:08:41 +05:30
  • 0ac4b61f28 minor code refactoring. Shreyas Zare 2020-06-20 14:08:10 +05:30
  • 0afe7a8e64 DhcpServer: implemented waitForInterface option in ActivateScope() to allow waiting upto 30 sec for activating scope on server startup. Implemented stopping option in UnloadScope() to avoid closing socket when server is stopping to prevent from getting indefinitely blocked due to .NET Core bug on linux. Shreyas Zare 2020-06-20 14:05:43 +05:30
  • f88717e731 webapp: ui enhancements done. added OISD block list. Shreyas Zare 2020-06-20 14:02:35 +05:30
  • 1351c43ca2 WebService: fixed minor issues. updated zone loading sequence. loading for block list zone done async to allow server to start quickly. Shreyas Zare 2020-06-20 14:01:02 +05:30
  • f00cdad2ab Fixed socket dispose getting blocked issue with work around. More info on the issue: https://github.com/dotnet/runtime/issues/37873 Shreyas Zare 2020-06-14 19:57:21 +05:30
  • 2d2824cc6c webapp: updated UI to allow editing glue addresses for secondary and stub zones. Shreyas Zare 2020-06-14 15:45:23 +05:30
  • 6e29034566 AuthZoneManager: updated auth zones to allow updating glue addresses for secondary and stub zones. Shreyas Zare 2020-06-14 15:44:29 +05:30
  • 5b978f9f28 added missing ANAME validations. Shreyas Zare 2020-06-14 13:47:48 +05:30
  • 28f34c1773 minor UI issues fixed. Shreyas Zare 2020-06-14 13:34:35 +05:30
  • 84d30a295e AuthZone: made Disabled property virtual and overrided it in primary, secondary and stub zone to correctly start or stop timer events. Shreyas Zare 2020-06-14 13:20:53 +05:30
  • 771d3df50c webapp: added zone enable, disable and delete buttons to edit zone viewer. Shreyas Zare 2020-06-14 13:18:31 +05:30
  • 07c7a8c5b7 renamed MasterNameServer to PrimaryNameServer. Shreyas Zare 2020-06-14 12:40:40 +05:30
  • 7c38ddac37 DhcpServer: added retry with delay in ActivateScope() when no static IP address was found on the system which is common issue when the server boots up. Shreyas Zare 2020-06-13 19:54:03 +05:30
  • 8af2f49bcc webapp: added refresh link for zone viewer. minor ui changes done. Shreyas Zare 2020-06-13 19:19:52 +05:30
  • f3f0c10c15 WebService: Updated ResolveQuery() import feature to allow primary and forwarder zones for import. Shreyas Zare 2020-06-13 18:49:08 +05:30
  • 17868a7ffb minor refactoring changes. Shreyas Zare 2020-06-13 18:48:19 +05:30
  • 1526a48fc3 AuthZone: automatic trigerring of notify or refresh for zone when it is enabled implemented. Shreyas Zare 2020-06-13 18:24:22 +05:30
  • d4c9b7ed0a AuthZoneInfo: added NotifyNameServers() method to allow triggering notify requests. Shreyas Zare 2020-06-13 18:06:30 +05:30
  • f7e8fb7158 DnsServer: implemented ProcessNotifyQuery() to handle notify requests for secondary zones. Shreyas Zare 2020-06-13 17:28:38 +05:30
  • 7f9d4fa063 AuthZoneInfo: implemented RefreshZone() method to allow refreshing secondary & stub zones. Shreyas Zare 2020-06-13 17:27:55 +05:30
  • 752958102b PrimaryZone: reduced notify trigger interval to 10sec. Included SOA record in notify request. Shreyas Zare 2020-06-13 17:24:54 +05:30
  • 8d43f71fc7 DnsServer: fixed AXFR permission issue in ProcessZoneTransferQuery() by checking remote ip against glue addresses for name servers. Shreyas Zare 2020-06-13 16:34:26 +05:30
  • 5e73584a81 DnsServer: fixed condition checks to allow querying for ANAME record. Shreyas Zare 2020-06-13 16:01:47 +05:30
  • bf959c483a DnsServer: fixed bugs in ANAME resolution. Fixed serve-stale issue by only returning stale answers that have NoError rcode. Minor code refactoring done. Shreyas Zare 2020-06-13 15:48:59 +05:30
  • 57a83a3f82 StubZone: fixed issue of not setting glue to soa record in constructor. Code refactoring done. Shreyas Zare 2020-06-13 15:47:00 +05:30
  • 0f833fe471 SecondaryZone: fixed issue of not setting glue to soa record in constructor. Code refactoring done. Shreyas Zare 2020-06-13 15:46:00 +05:30
  • 0ae68a1c21 AuthZoneManager: QueryZoneTransferRecords() fixed issues of missing soa glue records and duplicate glue records in output. Fixed issues in SyncRecords() that prevented setting glue records for soa. Shreyas Zare 2020-06-13 15:44:58 +05:30
  • a965e69d93 code refactoring done. Shreyas Zare 2020-06-13 14:17:14 +05:30
  • 45dfe04768 WebService: Fixed directory traversal bug (thanks to Jason Pia). Fixed minor issues. Code refactoring done. Updated API calls for implementing new DNS server features. Shreyas Zare 2020-06-13 14:05:02 +05:30
  • 525be58d79 webapp: implemented UI for new features like new zone types, ANAME records, Forwarder records and option to set glue addresses. Shreyas Zare 2020-06-13 13:56:33 +05:30
  • 0e3ef7be3e DnsServer: Added log parameter to constructor to allow logging errors while loading zones. Implemented conditional forwarding changes. Shreyas Zare 2020-06-13 13:53:28 +05:30
  • 83e84212da AuthZoneManager: implemented IDisposable. Fixed multiple issues. Code refactoring done. Correctly implemented create zone methods. Shreyas Zare 2020-06-13 13:48:15 +05:30
  • 39bca09bde BlockedZoneManager: minor code changes done. Shreyas Zare 2020-06-13 13:44:03 +05:30
  • 515e20758b AllowedZoneManager: minor code changes done. Shreyas Zare 2020-06-13 13:43:34 +05:30
  • 2b9688e3da DhcpServer: Code refactoring changes done. Shreyas Zare 2020-06-13 13:42:38 +05:30
  • 4745d24e0a Scope: moved GetReverseZone() methods to Zone class. Shreyas Zare 2020-06-13 13:41:58 +05:30
  • 1627f9da2e AuthZoneInfo: implemented zone property changes. Code refactoring done. Changed QueryRecords() to GetRecords() as per the requirements. Shreyas Zare 2020-06-13 13:41:19 +05:30
  • 7ceb70c0e6 ForwarderZone: Updated constructor to correctly create zone. Shreyas Zare 2020-06-13 13:39:39 +05:30
  • 1648612121 StubZone: Updated constructors to correctly create zone. Implemented isExpired state. Fixed issues and code refactoring done. Added QueryRecords() override to prevent responding to SOA and NS records as authoritative. Shreyas Zare 2020-06-13 13:39:12 +05:30
  • 79bc7fc64d SecondaryZone: Updated constructors to correctly create zone. LastRefreshed refactored to IsExpired. Code refactoring and fixes done. Shreyas Zare 2020-06-13 13:37:08 +05:30
  • e6deed2031 PrimaryZone: updated constructors to correctly create zone. Shreyas Zare 2020-06-13 13:35:16 +05:30
  • 2af8bca7df AuthZone: removed constructors that added SOA and NS records. Made QueryRecords() virtual to allow overriding. Added GetRecords() to directly get records. Added virtual IsActive to allow controlling zone state. Shreyas Zare 2020-06-13 13:34:05 +05:30
  • 866f30047d Zone: added GetReverseZone() methods. Shreyas Zare 2020-06-13 13:31:57 +05:30
  • 68d52e4f65 updated console project main method to use wait handles. Shreyas Zare 2020-06-06 18:13:01 +05:30
  • 679cb92077 WebService: implemented DnsServer related changes. Shreyas Zare 2020-06-06 16:52:36 +05:30
  • a8cec0d33a LogManager: minor fix done. Shreyas Zare 2020-06-06 16:44:57 +05:30
  • 65fbaac43e webapp: implemented Local End Points settings ui changes. Shreyas Zare 2020-06-06 16:44:35 +05:30
  • cef548df89 DnsServer: implemented local end points option. Implemented new zone managers. Implemented ANAME feature. Implemented conditional forwarding. Implemented CNAME cloaking. Multiple fixes and code refactoring done. Shreyas Zare 2020-06-06 16:43:44 +05:30
  • e8f22ec88f StatsManager: code refactoring done. Shreyas Zare 2020-06-06 16:31:25 +05:30
  • ce62b12a17 ResolverQueryHandle: implementation changed for WaitForResponse() to return if wait handle was set or not. Shreyas Zare 2020-06-06 16:30:37 +05:30
  • 4a113c802c minor refactoring change. Shreyas Zare 2020-06-06 16:29:51 +05:30
  • 968fe66b91 DhcpServer: code changes done as per AuthZoneManager implementation changes. Removed ServerDomain property. Code refactoring done. Shreyas Zare 2020-06-06 16:29:22 +05:30
  • 5ccfcf8b38 added BlockedZoneManager. Shreyas Zare 2020-06-06 16:28:17 +05:30
  • b866c794f6 added AllowedZoneManager Shreyas Zare 2020-06-06 16:28:05 +05:30
  • a08f83d0cd AuthZoneManager: implemented auth zone management changes. Added zone file management support. Shreyas Zare 2020-06-06 16:27:43 +05:30
  • e37b98251e BlockListZoneManager: Changes done to manage block list cache folder internally. Code refactoring done. Shreyas Zare 2020-06-06 16:25:29 +05:30
  • 92de0601d3 CacheZoneManager: added failure record TTL support. Code refactoring done. Shreyas Zare 2020-06-06 16:23:08 +05:30
  • 36745942a6 added ForwarderSubDomainZone Shreyas Zare 2020-06-06 16:22:14 +05:30
  • a43a054169 added StubSubDomainZone Shreyas Zare 2020-06-06 16:22:02 +05:30
  • 8154051840 added SecondarySubDomainZone. Shreyas Zare 2020-06-06 16:21:40 +05:30
  • 322cbe6785 added PrimarySubDomainZone with NOTIFY support. Shreyas Zare 2020-06-06 16:21:01 +05:30
  • 6490e4906e SubDomainZone: made class abstract and implemented AutoUpdateState(); Shreyas Zare 2020-06-06 16:19:53 +05:30
  • 8dc6e9e8d6 ZoneTree: changes done for Stub and Forwarder zone implementation. Shreyas Zare 2020-06-06 16:19:08 +05:30
  • 573d6cf1d2 AuthZoneInfo: updated code to support forwarder zone and included LastRefreshed and IsExpired for secondary and stub zones. Shreyas Zare 2020-06-06 16:18:13 +05:30
  • 2f80f70a24 added ForwarderZone to provide conditional forwarding feature. Shreyas Zare 2020-06-06 16:07:28 +05:30
  • b3473ca897 StubZone: implemented zone refresh from primary server. Shreyas Zare 2020-06-06 16:06:35 +05:30
  • b3322cf51a SecondaryZone: implemented zone refresh from primary zone. Shreyas Zare 2020-06-06 16:04:56 +05:30
  • 3cd55a614e PrimaryZone: implemented DNS NOTIFY [RFC 1996]. Overrided methods to correctly manipulate entries for primary zone. Shreyas Zare 2020-06-06 16:03:53 +05:30
  • 6b6dec16af AuthZone: implemented IDisposable. Added SyncRecords(), LoadRecords(), SetRecords(), AddRecord(), DeleteRecords() & DeleteRecord() methods. Removed AreAllRecordsDisabled(). Added ANAME record processing in QueryRecords(). Shreyas Zare 2020-06-06 16:01:14 +05:30
  • d87b2e7548 CacheZone: updated base class changes. Shreyas Zare 2020-06-06 15:58:50 +05:30
  • fef22cfdc5 Zone: moved SetRecords(), AddRecord(). DeleteRecords() & DeleteRecord() methods to AuthZone. Shreyas Zare 2020-06-06 15:58:16 +05:30
  • db69e9fc35 DnsResourceRecordInfo: code refactoring done. Shreyas Zare 2020-06-06 15:50:54 +05:30
  • 7ec6df807e DnsResourceRecordExtension: Fixed issue in SetGlueRecords(). Code refactoring done. Shreyas Zare 2020-06-06 15:50:15 +05:30
  • 480687cae7 ZoneTree: code implementation updated as per ByteTree code changes. Shreyas Zare 2020-05-30 18:49:58 +05:30
  • 1ff00e7ace added windows firewall auto entry support. Shreyas Zare 2020-05-23 18:05:50 +05:30
  • 6763bdd5fa added licence info. Shreyas Zare 2020-05-23 18:04:47 +05:30
  • faa013f2c3 webapp: added quad9 unsecure entries to dns client. Added quad9 and opendns family shield options in forwarders list. Refactoring done. Shreyas Zare 2020-05-23 17:33:24 +05:30
  • c13873817d fixed minor issue. Shreyas Zare 2020-05-23 17:30:58 +05:30
  • e9ba62103a minor refactoring. Shreyas Zare 2020-05-23 17:30:41 +05:30
  • 6eac903552 DhcpServer: done AuthZoneManager related changes. Shreyas Zare 2020-05-23 17:29:51 +05:30
  • 6587138ea7 WebService: implemented new DnsServer changes. Removed obsolete code parts. Code refactoring done. Shreyas Zare 2020-05-23 17:25:08 +05:30
  • f4b837a605 LogManager: implemented queue mechanism to fix thread contention issues. Code refactoring done. Shreyas Zare 2020-05-23 17:06:29 +05:30
  • ad25dee604 StatsManager: implemented queuing mechanism to fix thread contention issues. Code refactoring done. Shreyas Zare 2020-05-23 17:05:30 +05:30
  • 7a1e2a4396 DnsServer: updated code to implement AuthZoneManager, CacheZoneManager and BlockListZoneManager. Implemented new recursive resolver code using wait handles to fix thread contention issues. Removed doh-servers-associated json response support. Changed zone processing sequence to auth, allowed, blocked, blocklist, and finally recursive. Implemented CNAME cloaking checks. Code refactoring done. Shreyas Zare 2020-05-23 17:03:58 +05:30
  • 9cfc3809f8 added BlockListZoneManager Shreyas Zare 2020-05-23 16:47:08 +05:30
  • ec4291149f Added CacheZoneManager. Shreyas Zare 2020-05-23 16:46:19 +05:30
  • e834b34155 added AuthZoneManager Shreyas Zare 2020-05-23 16:46:06 +05:30
  • 705f9adf11 added new zone related classes. Shreyas Zare 2020-05-23 16:45:51 +05:30