Commit Graph

510 Commits

Author SHA1 Message Date
Shreyas Zare
1351c43ca2 WebService: fixed minor issues. updated zone loading sequence. loading for block list zone done async to allow server to start quickly. 2020-06-20 14:01:02 +05:30
Shreyas Zare
f00cdad2ab Fixed socket dispose getting blocked issue with work around. More info on the issue: https://github.com/dotnet/runtime/issues/37873 2020-06-14 19:57:21 +05:30
Shreyas Zare
2d2824cc6c webapp: updated UI to allow editing glue addresses for secondary and stub zones. 2020-06-14 15:45:23 +05:30
Shreyas Zare
6e29034566 AuthZoneManager: updated auth zones to allow updating glue addresses for secondary and stub zones. 2020-06-14 15:44:29 +05:30
Shreyas Zare
5b978f9f28 added missing ANAME validations. 2020-06-14 13:47:48 +05:30
Shreyas Zare
28f34c1773 minor UI issues fixed. 2020-06-14 13:34:35 +05:30
Shreyas Zare
84d30a295e AuthZone: made Disabled property virtual and overrided it in primary, secondary and stub zone to correctly start or stop timer events. 2020-06-14 13:20:53 +05:30
Shreyas Zare
771d3df50c webapp: added zone enable, disable and delete buttons to edit zone viewer. 2020-06-14 13:18:31 +05:30
Shreyas Zare
07c7a8c5b7 renamed MasterNameServer to PrimaryNameServer. 2020-06-14 12:40:40 +05:30
Shreyas Zare
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. 2020-06-13 19:54:03 +05:30
Shreyas Zare
8af2f49bcc webapp: added refresh link for zone viewer. minor ui changes done. 2020-06-13 19:19:52 +05:30
Shreyas Zare
f3f0c10c15 WebService: Updated ResolveQuery() import feature to allow primary and forwarder zones for import. 2020-06-13 18:49:08 +05:30
Shreyas Zare
17868a7ffb minor refactoring changes. 2020-06-13 18:48:19 +05:30
Shreyas Zare
1526a48fc3 AuthZone: automatic trigerring of notify or refresh for zone when it is enabled implemented. 2020-06-13 18:24:22 +05:30
Shreyas Zare
d4c9b7ed0a AuthZoneInfo: added NotifyNameServers() method to allow triggering notify requests. 2020-06-13 18:06:30 +05:30
Shreyas Zare
f7e8fb7158 DnsServer: implemented ProcessNotifyQuery() to handle notify requests for secondary zones. 2020-06-13 17:28:38 +05:30
Shreyas Zare
7f9d4fa063 AuthZoneInfo: implemented RefreshZone() method to allow refreshing secondary & stub zones. 2020-06-13 17:27:55 +05:30
Shreyas Zare
752958102b PrimaryZone: reduced notify trigger interval to 10sec. Included SOA record in notify request. 2020-06-13 17:24:54 +05:30
Shreyas Zare
8d43f71fc7 DnsServer: fixed AXFR permission issue in ProcessZoneTransferQuery() by checking remote ip against glue addresses for name servers. 2020-06-13 16:34:26 +05:30
Shreyas Zare
5e73584a81 DnsServer: fixed condition checks to allow querying for ANAME record. 2020-06-13 16:01:47 +05:30
Shreyas Zare
bf959c483a DnsServer: fixed bugs in ANAME resolution. Fixed serve-stale issue by only returning stale answers that have NoError rcode. Minor code refactoring done. 2020-06-13 15:48:59 +05:30
Shreyas Zare
57a83a3f82 StubZone: fixed issue of not setting glue to soa record in constructor. Code refactoring done. 2020-06-13 15:47:00 +05:30
Shreyas Zare
0f833fe471 SecondaryZone: fixed issue of not setting glue to soa record in constructor. Code refactoring done. 2020-06-13 15:46:00 +05:30
Shreyas Zare
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. 2020-06-13 15:44:58 +05:30
Shreyas Zare
a965e69d93 code refactoring done. 2020-06-13 14:17:14 +05:30
Shreyas Zare
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. 2020-06-13 14:05:02 +05:30
Shreyas Zare
525be58d79 webapp: implemented UI for new features like new zone types, ANAME records, Forwarder records and option to set glue addresses. 2020-06-13 13:56:33 +05:30
Shreyas Zare
0e3ef7be3e DnsServer: Added log parameter to constructor to allow logging errors while loading zones. Implemented conditional forwarding changes. 2020-06-13 13:53:28 +05:30
Shreyas Zare
83e84212da AuthZoneManager: implemented IDisposable. Fixed multiple issues. Code refactoring done. Correctly implemented create zone methods. 2020-06-13 13:48:15 +05:30
Shreyas Zare
39bca09bde BlockedZoneManager: minor code changes done. 2020-06-13 13:44:03 +05:30
Shreyas Zare
515e20758b AllowedZoneManager: minor code changes done. 2020-06-13 13:43:34 +05:30
Shreyas Zare
2b9688e3da DhcpServer: Code refactoring changes done. 2020-06-13 13:42:38 +05:30
Shreyas Zare
4745d24e0a Scope: moved GetReverseZone() methods to Zone class. 2020-06-13 13:41:58 +05:30
Shreyas Zare
1627f9da2e AuthZoneInfo: implemented zone property changes. Code refactoring done. Changed QueryRecords() to GetRecords() as per the requirements. 2020-06-13 13:41:19 +05:30
Shreyas Zare
7ceb70c0e6 ForwarderZone: Updated constructor to correctly create zone. 2020-06-13 13:39:39 +05:30
Shreyas Zare
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. 2020-06-13 13:39:12 +05:30
Shreyas Zare
79bc7fc64d SecondaryZone: Updated constructors to correctly create zone. LastRefreshed refactored to IsExpired. Code refactoring and fixes done. 2020-06-13 13:37:08 +05:30
Shreyas Zare
e6deed2031 PrimaryZone: updated constructors to correctly create zone. 2020-06-13 13:35:16 +05:30
Shreyas Zare
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. 2020-06-13 13:34:05 +05:30
Shreyas Zare
866f30047d Zone: added GetReverseZone() methods. 2020-06-13 13:31:57 +05:30
Shreyas Zare
679cb92077 WebService: implemented DnsServer related changes. 2020-06-06 16:52:36 +05:30
Shreyas Zare
a8cec0d33a LogManager: minor fix done. 2020-06-06 16:44:57 +05:30
Shreyas Zare
65fbaac43e webapp: implemented Local End Points settings ui changes. 2020-06-06 16:44:35 +05:30
Shreyas Zare
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. 2020-06-06 16:43:44 +05:30
Shreyas Zare
e8f22ec88f StatsManager: code refactoring done. 2020-06-06 16:31:25 +05:30
Shreyas Zare
ce62b12a17 ResolverQueryHandle: implementation changed for WaitForResponse() to return if wait handle was set or not. 2020-06-06 16:30:37 +05:30
Shreyas Zare
4a113c802c minor refactoring change. 2020-06-06 16:29:51 +05:30
Shreyas Zare
968fe66b91 DhcpServer: code changes done as per AuthZoneManager implementation changes. Removed ServerDomain property. Code refactoring done. 2020-06-06 16:29:22 +05:30
Shreyas Zare
5ccfcf8b38 added BlockedZoneManager. 2020-06-06 16:28:17 +05:30
Shreyas Zare
b866c794f6 added AllowedZoneManager 2020-06-06 16:28:05 +05:30