Commit Graph

411 Commits

Author SHA1 Message Date
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
Shreyas Zare
946aa4fb97 DnsApplication: implemented new dns app interfaces. 2021-09-11 13:10:03 +05:30
Shreyas Zare
d24aaf0c28 StatsManager: fixed total clients stat implementation considering that daily stats has truncated list of unique clients and thus finding unique clients is not possible when data is truncated. 2021-08-21 15:11:51 +05:30
Shreyas Zare
137c32e545 DnsServer: implemented NS revalidation options. 2021-08-21 12:15:52 +05:30
Shreyas Zare
d5e61db98b StatsManager: fixed bug while merging stats causing total clients stats to show non unique client count. 2021-08-21 12:15:05 +05:30
Shreyas Zare
da56c453c7 BlockListZoneManager: updated allowed list implementation to check for domains zone wise so that subdomain names from blocked lists too are allowed. 2021-08-21 12:13:08 +05:30
Shreyas Zare
24eba0c080 DnsServer: refactored ProcessDoHRequestAsync() to implement correct sequence for qpm rate limit check for different cases. 2021-08-15 19:38:35 +05:30
Shreyas Zare
df76122125 DnsServer: checking qpm rate limit after reading real ip address for cases when DoH is behind an reverse proxy. 2021-08-15 18:18:48 +05:30
Shreyas Zare
9c5a235bc7 StatsManager: added separate counter for clients since the clients list is getting truncated for daily stats. 2021-08-14 11:46:39 +05:30
Shreyas Zare
8a21c84cf2 DnsServer: implemented TsigKey and tsig implementation changes. Fixed minor issue in ProcessCNAMEAsync() preventing the response from having expected authority records. 2021-08-14 11:45:26 +05:30
Shreyas Zare
f2b1c3453e DnsResourceRecordInfo: tsig implementation changes done. 2021-08-14 11:42:14 +05:30
Shreyas Zare
5e6e9eee94 AuthZoneManager: tsig implementation changes. 2021-08-14 11:41:27 +05:30
Shreyas Zare
e51f58eb7e AuthZone: fixed issue in GetPrimaryNameServerAddressesAsync() to resolve IP if not specified in primary name server addresses. Code refactoring done. 2021-08-14 11:40:49 +05:30
Shreyas Zare
8b157fd11b PrimaryZone: minor log message changes. 2021-08-14 11:38:51 +05:30
Shreyas Zare
a36107a300 SecondaryZone: updated tsig implementation. minor changes done. 2021-08-14 11:38:10 +05:30
Shreyas Zare
8827eadbe9 StubZone: minor change in logging message. 2021-08-14 11:35:46 +05:30
Shreyas Zare
e4b4b6abb8 AuthZoneManager: Triggering zone refresh immediately for secondary and stub zones after creation. 2021-08-08 17:33:28 +05:30
Shreyas Zare
bb0ef33a92 SecondaryZone: Updated TriggerRefresh() to set custom interval. Updated TriggerResync() to immediately resync. Updated RefreshZoneAsync() to not perform SOA check when resyncing, fixed issue with name server protocol change causing IXFR over UDP which was not being handled. 2021-08-08 17:32:21 +05:30
Shreyas Zare
e7d29ad89f StubZone: Updated TriggerRefresh() to set custom interval. Updated TriggerResync() to immediately resync. 2021-08-08 17:29:43 +05:30
Shreyas Zare
c5bfd1ba11 DnsWebService: updated LoadConfigFile() to allow restoring settings to default when restoring old format settings like during backup restore. 2021-08-07 17:28:33 +05:30
Shreyas Zare
2ce21cc7bd DnsServer: implemented tsig support changes. Implemented tsig support for all queries. Updated query rate limiting feature to use client subnet for droping requests. Added option to limit error responses independently. Removed auto client ip blocking feature since it was not much effective. 2021-08-07 12:42:02 +05:30
Shreyas Zare
3a01ba835c StatsManager: updated implementation for query rate limiting feature support. Code refactoring done. 2021-08-07 12:35:11 +05:30
Shreyas Zare
267888e2ed AuthZoneManager: fixed issue of slow XFR responses for secondary root zones or large zones. 2021-08-07 12:31:45 +05:30
Shreyas Zare
2e5bd3f862 minor changes 2021-08-07 12:28:30 +05:30
Shreyas Zare
fa44c40bcd AuthZoneInfo: updated tsig support implementation. 2021-08-07 12:28:05 +05:30
Shreyas Zare
b005d46693 PrimaryZone: updated tsig support implementation. 2021-08-07 12:26:56 +05:30
Shreyas Zare
6ffb1ff8ad SecondaryZone: updated tsig support implementation. 2021-08-07 12:10:37 +05:30
Shreyas Zare
ecc1a63e14 minor changes 2021-08-07 12:00:40 +05:30
Shreyas Zare
a48a60f1c0 DnsServer: implemented tsig support for zone transfer. 2021-07-31 19:02:48 +05:30
Shreyas Zare
092483f32d SecondaryZone: implemented xfr-over-tls support. 2021-07-31 18:47:20 +05:30
Shreyas Zare
aae7f27052 AuthZoneManager: implemented xfr protocol support for secondary zone. 2021-07-31 18:45:08 +05:30
Shreyas Zare
d9da07a0e4 DnsResourceRecordInfo: implemented xfr-over-tls and tsig support. 2021-07-31 18:44:13 +05:30
Shreyas Zare
65e7f8dc7a AuthZoneInfo: fixed issue with missing zone history for secondary zone files. Added tsig support. 2021-07-31 17:07:55 +05:30