Commit Graph

57 Commits

Author SHA1 Message Date
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
5ccfcf8b38 added BlockedZoneManager. 2020-06-06 16:28:17 +05:30
Shreyas Zare
b866c794f6 added AllowedZoneManager 2020-06-06 16:28:05 +05:30
Shreyas Zare
a08f83d0cd AuthZoneManager: implemented auth zone management changes. Added zone file management support. 2020-06-06 16:27:43 +05:30
Shreyas Zare
e37b98251e BlockListZoneManager: Changes done to manage block list cache folder internally. Code refactoring done. 2020-06-06 16:25:29 +05:30
Shreyas Zare
92de0601d3 CacheZoneManager: added failure record TTL support. Code refactoring done. 2020-06-06 16:23:08 +05:30
Shreyas Zare
36745942a6 added ForwarderSubDomainZone 2020-06-06 16:22:14 +05:30
Shreyas Zare
a43a054169 added StubSubDomainZone 2020-06-06 16:22:02 +05:30
Shreyas Zare
8154051840 added SecondarySubDomainZone. 2020-06-06 16:21:40 +05:30
Shreyas Zare
322cbe6785 added PrimarySubDomainZone with NOTIFY support. 2020-06-06 16:21:01 +05:30
Shreyas Zare
6490e4906e SubDomainZone: made class abstract and implemented AutoUpdateState(); 2020-06-06 16:19:53 +05:30
Shreyas Zare
8dc6e9e8d6 ZoneTree: changes done for Stub and Forwarder zone implementation. 2020-06-06 16:19:08 +05:30
Shreyas Zare
573d6cf1d2 AuthZoneInfo: updated code to support forwarder zone and included LastRefreshed and IsExpired for secondary and stub zones. 2020-06-06 16:18:13 +05:30
Shreyas Zare
2f80f70a24 added ForwarderZone to provide conditional forwarding feature. 2020-06-06 16:07:28 +05:30
Shreyas Zare
b3473ca897 StubZone: implemented zone refresh from primary server. 2020-06-06 16:06:35 +05:30
Shreyas Zare
b3322cf51a SecondaryZone: implemented zone refresh from primary zone. 2020-06-06 16:04:56 +05:30
Shreyas Zare
3cd55a614e PrimaryZone: implemented DNS NOTIFY [RFC 1996]. Overrided methods to correctly manipulate entries for primary zone. 2020-06-06 16:03:53 +05:30
Shreyas Zare
6b6dec16af AuthZone: implemented IDisposable. Added SyncRecords(), LoadRecords(), SetRecords(), AddRecord(), DeleteRecords() & DeleteRecord() methods. Removed AreAllRecordsDisabled(). Added ANAME record processing in QueryRecords(). 2020-06-06 16:01:14 +05:30
Shreyas Zare
d87b2e7548 CacheZone: updated base class changes. 2020-06-06 15:58:50 +05:30
Shreyas Zare
fef22cfdc5 Zone: moved SetRecords(), AddRecord(). DeleteRecords() & DeleteRecord() methods to AuthZone. 2020-06-06 15:58:16 +05:30
Shreyas Zare
db69e9fc35 DnsResourceRecordInfo: code refactoring done. 2020-06-06 15:50:54 +05:30
Shreyas Zare
7ec6df807e DnsResourceRecordExtension: Fixed issue in SetGlueRecords(). Code refactoring done. 2020-06-06 15:50:15 +05:30
Shreyas Zare
480687cae7 ZoneTree: code implementation updated as per ByteTree code changes. 2020-05-30 18:49:58 +05:30
Shreyas Zare
6763bdd5fa added licence info. 2020-05-23 18:04:47 +05:30
Shreyas Zare
ad25dee604 StatsManager: implemented queuing mechanism to fix thread contention issues. Code refactoring done. 2020-05-23 17:05:30 +05:30
Shreyas Zare
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. 2020-05-23 17:03:58 +05:30
Shreyas Zare
9cfc3809f8 added BlockListZoneManager 2020-05-23 16:47:08 +05:30
Shreyas Zare
ec4291149f Added CacheZoneManager. 2020-05-23 16:46:19 +05:30
Shreyas Zare
e834b34155 added AuthZoneManager 2020-05-23 16:46:06 +05:30
Shreyas Zare
705f9adf11 added new zone related classes. 2020-05-23 16:45:51 +05:30
Shreyas Zare
69e10fc375 added new Zone classes 2020-05-23 16:45:17 +05:30
Shreyas Zare
9c5d8463ea removed old zone related classes 2020-05-23 16:44:40 +05:30
Shreyas Zare
66536383c2 removed old Zone 2020-05-23 16:44:01 +05:30
Shreyas Zare
080c1b504f ZoneTree: changes done as per ByteTree refactoring. 2020-05-23 16:00:15 +05:30
Shreyas Zare
2c176c6524 ZoneTree: zone tree based on ByteTree added. 2020-05-23 13:08:25 +05:30
Shreyas Zare
2c2875cdba DnsServer: fixed x-real-ip parsing issue in ProcessDoHRequest(). Fixed IXFR issue in ProcessQuery(). 2020-05-10 13:37:40 +05:30
Shreyas Zare
77ce647497 Zone: implemented record shuffling only for type A and AAAA queries. 2020-04-11 12:39:47 +05:30
Shreyas Zare
4d0c6ac80b DnsServer: Increased listener thread count to 4. Implemented handling of response parsing error correctly with FormatError response in return. 2020-03-15 17:23:03 +05:30
Shreyas Zare
fcd6cd53a0 minor code optimization changes done. 2020-02-29 18:16:05 +05:30
Shreyas Zare
1ae7d4ef3c Zone: code optimization done to init a zone's ConcurrentDictionary objects only when required with concurrency set to 1 to minimize memory usage. 2020-02-29 17:55:50 +05:30
Shreyas Zare
ceeb9d708f DnsServer: implemented changes to prevent domain cloaking to bypass domain name blocking. 2020-02-22 12:24:54 +05:30
Shreyas Zare
52f472f987 implemented zone transfer. code refactoring done. 2020-01-04 12:44:53 +05:30
Shreyas Zare
2e571fba3a DnsServer: implemented DirectQuery() method to allow internal dns resolution. 2019-12-29 14:55:06 +05:30
Shreyas Zare
508f61de33 minor refactoring changes 2019-12-14 18:19:37 +05:30
Shreyas Zare
38608fc7f2 Zone: SetRecords() added check to prevent CNAME record from being set to zone root. 2019-12-14 18:04:18 +05:30
Shreyas Zare
5bb9a8c8dd DnsServer: removed draft-ietf-doh-resolver-associated-doh implementation since the draft is expired. 2019-12-14 17:52:56 +05:30
Shreyas Zare
0deba1f705 DnsServer: fixed bug in Start() due to incorrect exception handing causing the server to crash when socket object fails to instantiate. Updated SOA default parameters. 2019-12-14 16:55:16 +05:30