Commit Graph

443 Commits

Author SHA1 Message Date
Shreyas Zare
e8a7353075 minor refactoring done. 2022-01-16 19:58:42 +05:30
Shreyas Zare
e1f5a97b93 StubZone: using ApexZone. Fixed minor issue in name comparison. 2022-01-16 19:45:51 +05:30
Shreyas Zare
be0a2990b8 SecondaryZone: using ApexZone. Enabled EDNS for IXFR request. 2022-01-16 19:44:45 +05:30
Shreyas Zare
40d84b1120 ForwarderZone: using ApexZone. 2022-01-16 19:43:32 +05:30
Shreyas Zare
a4b672f79f AuthZoneInfo: updated code to use ApexZone. 2022-01-16 19:42:54 +05:30
Shreyas Zare
fcf555fea5 PrimarySubDomainZone: Fixed UpdateRecord() to handle error case correctly. 2022-01-16 19:35:57 +05:30
Shreyas Zare
e300ef1efd PrimaryZone: inheriting ApexZone. Fixed issue in UpdateRecord() by handling the error case correctly. 2022-01-16 19:35:12 +05:30
Shreyas Zare
ce8961983d CacheZone: updated code to support DNSSEC. 2022-01-16 19:34:03 +05:30
Shreyas Zare
ae0f326bfe ApexZone: added new abstract class by splitting AuthZone class to be used by auth zones apex nodes. 2022-01-16 19:32:55 +05:30
Shreyas Zare
a11269ece2 AuthZone: removed code for apex zone into a new ApexZone class. Added DNSSEC related implementation. 2022-01-16 19:31:33 +05:30
Shreyas Zare
a7542598c8 AuthZoneNode: added new class to allow AuthZoneTree to store parent side records as well as authoritative zone to allow DS records to exists at parent zone and for NS records to exists in both parent and child zone. 2022-01-16 19:28:26 +05:30
Shreyas Zare
9faa882529 ZoneTree: minor change. 2022-01-16 19:26:41 +05:30
Shreyas Zare
20b719f6d1 AuthZoneTree: added new class that inherits ZoneTree for auth zone usage. 2022-01-16 19:26:20 +05:30
Shreyas Zare
c1e62a2f68 CacheZoneTree: added new class that extends ZoneTree for use with caching. 2022-01-16 19:24:36 +05:30
Shreyas Zare
a427cf1711 ZoneTree: updated implementation to be abstract and split into AuthZoneTree and CacheZoneTree. 2022-01-16 19:23:33 +05:30
Shreyas Zare
417e7e6417 DomainTree: updated key map to be able to arrange the tree in canonical form for DNSSEC usecase. 2022-01-16 19:20:57 +05:30
Shreyas Zare
37fadd7705 StubZone: fixed minor issue of RD flag set in initial request in CreateAsync(). Implemented EDNS for SOA requests. 2021-11-06 16:06:01 +05:30
Shreyas Zare
8e497093b1 SecondaryZone: fixed minor issue of RD flag set in initial request in CreateAsync(). Implemented EDNS for IXFR and SOA requests. 2021-11-06 16:05:19 +05:30
Shreyas Zare
c7b2ec9dc1 DnsApplicationManager: updated LoadApplicationAsync() to remove error handling. 2021-11-06 14:06:56 +05:30
Shreyas Zare
88c7beccfc DnsApplication: updated InitializeAsync() to handle exception to soft fail app loading. 2021-11-06 14:05:55 +05:30
Shreyas Zare
35a22bae12 DnsServer: minor refactoring done in PostProcessQuery(). 2021-11-06 13:32:35 +05:30
Shreyas Zare
2ac3f4f483 minor changes 2021-11-06 13:29:21 +05:30
Shreyas Zare
13791e1d60 DnsServer: implemented EDNS support. 2021-10-30 12:18:32 +05:30
Shreyas Zare
0254f9f96c DnsServer: Added logs in ProcessZoneTransferQueryAsync() to give reasons for why zone transfer was refused. Fixed cache poisoning issue that can be done via conditional forwarder by adding sanitization checks. 2021-10-16 14:55:44 +05:30
Shreyas Zare
2aae0f6896 DnsServer: refactored code to move parsing error checks into PreProcessQueryAsync() and to allow request controller dns apps to inspect the requests to allow droping them. Updated ProcessQueryAsync() to not return FormatError when a request received has response flag set to avoid loops. 2021-10-09 16:51:20 +05:30
Shreyas Zare
00be9b8210 StatsManager: updated code to pass timestamp to InsertLogAsync(). Minor refactoring done. 2021-10-02 12:31:49 +05:30
Shreyas Zare
2614275a0a StatsManager: minor refactoring. 2021-09-26 17:10:46 +05:30
Shreyas Zare
803a9bdfdc DnsApplicationManager: minor refactoring changes. 2021-09-26 17:10:17 +05:30
Shreyas Zare
73f9b13586 DnsApplication: updated implementation to use new IDnsApplication interface to load dns apps. 2021-09-26 17:07:49 +05:30
Shreyas Zare
3abf126b8d DnsServer: implemented allow txt blocking report option. Minor changes done. 2021-09-25 13:43:14 +05:30
Shreyas Zare
407a5a19e2 StatsManager: Code refactoring done. 2021-09-25 13:41:37 +05:30
Shreyas Zare
867843c6f9 BlockListZoneManager: implemented AllowTxtBlockingReport option. 2021-09-25 13:40:35 +05:30
Shreyas Zare
fbb6716927 minor changes 2021-09-18 19:03:08 +05:30
Shreyas Zare
da454a2a9d CacheZone: fixed issue when records in a RRSet have different TTL values by considering entire RRSet as expired when one record expires. 2021-09-18 11:57:22 +05:30
Shreyas Zare
47d888de7a DnsServer: minor changes done 2021-09-18 11:55:08 +05:30
Shreyas Zare
cb3b3e27ec BlockListZoneManager: minor refactoring done. 2021-09-18 11:54:38 +05:30
Shreyas Zare
161c7d5c9b code refactoring changes done 2021-09-18 11:53:34 +05:30
Shreyas Zare
eeee534cdb DnsApplication: updated code to load all DLLs first and then start loading the app handlers. 2021-09-11 18:58:33 +05:30
Shreyas Zare
649d72a173 DnsApplication: updated dns app loading code to make sure that the app loads even if some component fails to initialize. 2021-09-11 17:58:32 +05:30
Shreyas Zare
bc9a365d5c DnsApplicationManager: minor refactoring done. 2021-09-11 17:55:53 +05:30
Shreyas Zare
f8558a8fc6 DnsApplication: minor refactoring done. 2021-09-11 17:40:57 +05:30
Shreyas Zare
f51bc6f869 DnsServer: Updated cache timer interval to 5 mins to remove expired records quickly. Code refactoring done. Implemented new DNS app interfaces. 2021-09-11 15:29:56 +05:30
Shreyas Zare
74a6ea8190 ResolverPrefetchDnsCache: updated code to support dns app to find closest delegation. 2021-09-11 15:22:07 +05:30
Shreyas Zare
a1bcbf9e9c ResolverDnsCache: updated code to support querying dns apps for authoritative queries. 2021-09-11 15:09:28 +05:30
Shreyas Zare
39f5437795 StatsManager: implemented IDnsLogger to allow dns apps to log requests and responses. Code refactoring done. 2021-09-11 15:07:54 +05:30
Shreyas Zare
2e4ae1fa4b BlockListZoneManager: setting soa minimum to 60. Using correct zone for soa response. Minor refactoring done. 2021-09-11 15:05:56 +05:30
Shreyas Zare
ba9d766877 setting soa minimum to 60 sec. 2021-09-11 15:03:00 +05:30
Shreyas Zare
dc2341a6dc DnsServerInternal: updated code for new implementation changes. Minor refactoring done. 2021-09-11 13:29:14 +05:30
Shreyas Zare
81e14e3724 DnsApplicationManager: updated implementation to allow access to all the DNS app new interface instances for performance reasons. 2021-09-11 13:18:57 +05:30
Shreyas Zare
acc3573e0e DnsApplicationAssemblyLoadContext: updated implementation to load unmanaged native dlls. 2021-09-11 13:14:33 +05:30