Commit Graph

697 Commits

Author SHA1 Message Date
Shreyas Zare
fa82a737e9 DnsServer: Updated ProcessAuthoritativeQueryAsync() by moving query code into separate AuthoritativeQueryAsync() method. Updated ProcessCNAME(), ProcessANAME(), and CachePrefetchSamplingTimerCallback() to use AuthoritativeQueryAsync(). Updated "this-server" implementation to move checking code into RecursiveResolveAsync(). Code refactoring changes done. 2023-02-25 13:10:42 +05:30
Shreyas Zare
a53d5df19c BlockListZoneManager: updated implementation of allowed list by having a separate allowed zone. Updated parser to detect inline comment. Added IsAllowed() method. Updated Query() to check count before query. 2023-02-25 13:06:04 +05:30
Shreyas Zare
d62483bd51 BlockedZoneManager: updated Query() to check count before query. 2023-02-25 13:04:25 +05:30
Shreyas Zare
cc597d8694 AllowedZoneManager: refactored Query() to IsAllowed(). 2023-02-25 13:03:40 +05:30
Shreyas Zare
089634f1f3 DnsServer: setting default blocking type to NX domain. Implemented independent query task scheduler to handle incoming requests. Implemented new DirectQueryAsync() method. 2023-02-18 11:43:37 +05:30
Shreyas Zare
12c63f0907 ResolverDnsCache: refactoring changes. 2023-02-18 11:41:56 +05:30
Shreyas Zare
2e2fd43263 AuthZoneInfo: updated implementation to use values from apex zone reference when it is available. 2023-02-18 11:41:19 +05:30
Shreyas Zare
431b16c1f4 BlockListZoneManager: Updated code to support Adblock plus list file format. 2023-02-18 11:40:11 +05:30
Shreyas Zare
6338ee25b9 AuthZoneManager: setting correct RA flag. Code refactoring done. 2023-02-18 11:39:08 +05:30
Shreyas Zare
43bc42d000 minor changes 2023-02-18 11:37:50 +05:30
Shreyas Zare
7da491c4b3 DnsServerInternal: implemented new DirectQueryAsync() method. 2023-02-18 11:37:23 +05:30
Shreyas Zare
8239139015 DnsServer: removed doh-port 80 compatibility option. Updated ProcessBlockedQuery() to support extended dns error for blocked domain report. Updated ProcessRecusriveQueryAsync() to support new response types. Updated RecursiveResolveAsync() to use new ResolveDnsCache object with skip option enabled. Updated PrepareRecursiveResolveResponse() to copy dns client extended errors to get similar response as from cache. 2023-02-12 13:06:27 +05:30
Shreyas Zare
dffda22867 StatsManager: updated code to support new response types. 2023-02-12 13:01:39 +05:30
Shreyas Zare
a154173bcc ResolverPrefetchDnsCache: code refactoring changes. 2023-02-12 13:00:46 +05:30
Shreyas Zare
f0b611fa90 ResolverDnsCache: added option to skip calling app authoritative request handlers. 2023-02-12 13:00:14 +05:30
Shreyas Zare
3dab7b5f4b BlockListZoneManager: implemented extended error report for blocked domain report. 2023-02-12 12:59:07 +05:30
Shreyas Zare
f71c7008b5 code refactoring changes. 2023-02-12 12:57:41 +05:30
Shreyas Zare
06282fc8c0 AuthZoneManager: Implemented zone index to allow paginated access to zones list. 2023-02-12 12:56:09 +05:30
Shreyas Zare
29d35fb022 AuthZoneInfo: implemented Equals() and GetHashCode() methods. 2023-02-12 12:51:19 +05:30
Shreyas Zare
ebc6e5f1f3 DnsServer: merged doh web apps. 2023-02-05 17:21:20 +05:30
Shreyas Zare
31aa04c1c5 DnsServer: Updated ProcessConnectionAsync() to add timeout condition for AuthenticateAsServerAsync() call. Updated ProcessAPPAsync() to decide on correct RCODE to be used for response. 2023-02-05 16:37:15 +05:30
Shreyas Zare
975bc5d584 BlockListZoneManager: refactored code for optimization. 2023-02-05 16:29:37 +05:30
Shreyas Zare
cb5cd38ef8 code refactoring changes. 2023-02-05 16:29:02 +05:30
Shreyas Zare
ba48a63eb1 AuthZoneManager: split ListAllRecords() into ListAllZoneRecords() and ListAllRecords() for different usages. Code refactoring done. 2023-02-05 16:28:16 +05:30
Shreyas Zare
50cf6fdf2e code refactoring changes. 2023-02-05 16:26:18 +05:30
Shreyas Zare
d2a1ba6de0 CacheZone: updated ReadFrom() and ReadEntriesFrom() to avoid loading stale records and empty RR sets. 2023-01-15 18:36:40 +05:30
Shreyas Zare
78e4cd2253 CacheZoneManager: updated LoadCacheZoneFile() to avoid loading empty cache zones. 2023-01-15 18:35:35 +05:30
Shreyas Zare
e25d5c01b2 CacheZoneManager: added log messages for dns cache operations. 2023-01-14 17:37:18 +05:30
Shreyas Zare
88b4b6c4ea StubZone: Updated CreateAsync() to parse and convert primary name servers to udp transport. Code refactoring done. 2023-01-14 17:23:38 +05:30
Shreyas Zare
2b7c10861d SecondaryZone: updated CreateAsync() to parse primary name server and convert protocol to zone transfer protocol. Updated RefreshZoneAsync() to explicitly change initial probe name servers to udp. Code refactoring done. 2023-01-14 17:22:05 +05:30
Shreyas Zare
d1ab424f57 DnsServer: Implemented IAsyncDisposable. Implemented DNS-over-QUIC optional protocol support. Replaced old DNS-over-HTTPS web server with Kestrel to support HTTP/2 and HTTP/3. Code refactoring done. 2023-01-14 14:52:00 +05:30
Shreyas Zare
507f596fc8 Zone: added another protected constructor to allow reloading cache zone. 2023-01-14 14:41:42 +05:30
Shreyas Zare
1dd35f68e9 SubDomainZone: code refactoring changes. 2023-01-14 14:40:36 +05:30
Shreyas Zare
8b3ddf113c StubZone: Code refactoring changes. 2023-01-14 14:40:04 +05:30
Shreyas Zare
d1e8d081b9 SecondaryZone: added xfr-over-quic support. Code refactoring done. 2023-01-14 14:39:20 +05:30
Shreyas Zare
5692e5e166 PrimaryZone: code refactoring changes. 2023-01-14 14:36:41 +05:30
Shreyas Zare
d867e5f71e PrimarySubDomainZone: code refactoring changes. 2023-01-14 14:34:06 +05:30
Shreyas Zare
d2fc9cab6e ForwarderZone: code refactoring changes. 2023-01-14 14:33:28 +05:30
Shreyas Zare
d1b2e1c192 CacheZone: updated implementation to support serializing cached records. Code refactoring changes done. 2023-01-14 14:32:43 +05:30
Shreyas Zare
b1fe727dec AuthZoneInfo: code refactoring changes. 2023-01-14 14:28:48 +05:30
Shreyas Zare
00927c92dd AuthZone: code refactoring changes. 2023-01-14 14:26:41 +05:30
Shreyas Zare
62c55aa76c ApexZone: code refactoring changes done. 2023-01-14 14:24:44 +05:30
Shreyas Zare
b8622f2055 CacheZoneManager: updated implementation to use CacheRecordInfo. Implemented LoadCacheZoneFile(), SaveCacheZoneFile(), and DeleteCacheZoneFile() to add support for saving dns cache on disk. 2023-01-14 14:21:45 +05:30
Shreyas Zare
b6dae0ad7d BlockListZoneManager: updated UpdateBlockListsAsync() to use all decompression methods. 2023-01-14 14:18:48 +05:30
Shreyas Zare
a9e457fa6e AuthZoneManager: updated code as per refactoring changes for record info. 2023-01-14 13:44:35 +05:30
Shreyas Zare
a09582d0e1 minor refactoring change. 2023-01-14 13:41:44 +05:30
Shreyas Zare
bbe9aebfa0 DnsResourceRecordExtension: removed get/set type of extension methods. 2023-01-14 13:41:02 +05:30
Shreyas Zare
09e479eb55 CacheRecordInfo: added class to hold record info for cache records. 2023-01-14 13:38:42 +05:30
Shreyas Zare
23e944410d DnsResourceRecordInfo: renamed to AuthRecordInfo. updated code to remove variables used by cache records. Added xfr-over-quic support. Minor changes done. 2023-01-14 13:37:32 +05:30
Shreyas Zare
f1437de06d DnssecPrivateKey: code refactoring changes. 2023-01-14 13:35:11 +05:30