Commit Graph

391 Commits

Author SHA1 Message Date
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
Shreyas Zare
008a706a04 AuthZoneManager: added TSIG support. Fixed implementation for zone transfer AXFR and IXFR. Fixed issue with missing zone history for secondary zone file. 2021-07-31 17:06:00 +05:30
Shreyas Zare
e265be89bf SecondaryZone: added tsig support. Implemented TSIG for zone refresh. 2021-07-31 17:04:06 +05:30
Shreyas Zare
84cd671712 PrimaryZone: added tsig support. 2021-07-31 17:02:24 +05:30
Shreyas Zare
5291d393db DnsResourceRecordExtension: added GetRecordInfo() and CopyRecordInfoFrom() extension methods. 2021-07-31 17:01:29 +05:30
Shreyas Zare
b141b1e042 updated methods to reuse list for optimization. 2021-07-31 17:00:13 +05:30
Shreyas Zare
467bed5ade AuthZone: code refactoring done. 2021-07-31 16:59:11 +05:30
Shreyas Zare
3367dc1e39 StubZone: code refactoring done. 2021-07-31 16:58:32 +05:30
Shreyas Zare
05cd49c81e Zone: updated ListAllRecords() to reuse list. 2021-07-31 16:57:52 +05:30
Shreyas Zare
e2c4a22d81 ZoneTree: updated ListSubDomains() to reuse list. 2021-07-31 16:57:20 +05:30
Shreyas Zare
1e576707fa ResolverPrefetchDnsCache: implemented Query() definition changes. 2021-07-18 15:50:21 +05:30
Shreyas Zare
acd9cf9966 ResolverDnsCache: implemented Query() definition changes. 2021-07-18 15:49:28 +05:30
Shreyas Zare
a3d843e791 AuthZoneManager: fixed code in SyncIncrementalZoneTransferRecords() to use correct SyncRecords() method. Updated Query() to not add authority and additional records. 2021-07-18 15:48:53 +05:30
Shreyas Zare
fe8bc9e273 CacheZoneManager: setting max record TTL to 7 days. Implemented new Query() definition changes. 2021-07-18 15:46:00 +05:30
Shreyas Zare
320109101e StubZone: Added ResetRefreshTimer() to safely reset refresh timer. Setting dns client concurrency to 1 for refresh operation. 2021-07-18 15:44:02 +05:30
Shreyas Zare
f297763283 SecondaryZone: Disposing notify timer. Added ResetRefreshTimer() method to safely reset refresh timer. Setting dns client concurrency to 1 for refresh. Implemented IXFR failover to switch to AXFR. 2021-07-18 15:43:09 +05:30
Shreyas Zare
a0edc08104 AuthZone: fixed SyncRecords() definition causing ambuigity. 2021-07-18 15:41:16 +05:30
Shreyas Zare
07f2943cda AuthZone: fixed issues in GetNameServerAddressesAsync(). Code refactoring done. 2021-07-10 14:44:05 +05:30
Shreyas Zare
b5c9f1054c DnsServer: set max stack count to 16 to resolve badly configured zones. Implemented IXFR support. Minor code refactoring done. 2021-07-10 13:35:23 +05:30
Shreyas Zare
c0a23703e7 AuthZoneManager: implemented CondenseIncrementalZoneTransferRecords(). Implemented IXFR query support. Implemented IXFR sync support. Code refactoring done. 2021-07-10 13:31:41 +05:30
Shreyas Zare
5594faec8f SecondarySubDomainZone: implemented sub domain changes. 2021-07-10 13:29:25 +05:30