Commit Graph

60 Commits

Author SHA1 Message Date
Shreyas Zare
2dd9b89e74 AuthZoneManager: implemented QueryClosestDelegation(). 2021-04-03 12:32:23 +05:30
Shreyas Zare
f8230ce7a1 CacheZoneManager: updated code to require DnsServer reference to read serve stale option. 2021-04-03 12:31:51 +05:30
Shreyas Zare
5dfaad2c92 AuthZoneManager: added GetRecords() method to directly get the records without querying. 2021-03-27 16:37:46 +05:30
Shreyas Zare
4db2098b0f CacheZoneManager: added validation for '*' in CacheRecords() to prevent abuse due to caching wildcard response. Fixed null ref exception in GetAdditionalRecords(). 2021-03-27 16:35:07 +05:30
Shreyas Zare
c0479442d5 AuthZoneManager: allowing to update specific ANAME record in RR set. 2021-03-21 20:39:45 +05:30
Shreyas Zare
8de579fbdf BlockListZoneManager: implemented allow list url feature. 2021-03-21 20:02:07 +05:30
Shreyas Zare
c264bc8793 BlockedZoneManager: passing recursion allowed flag. 2021-03-21 16:42:21 +05:30
Shreyas Zare
cfc6cb3d00 AllowedZoneManager: passing recursion allowed flag. 2021-03-21 16:41:56 +05:30
Shreyas Zare
2f56309b2f AuthZoneManager: added isRecursionAllowed parameter to return response with correct flag set. 2021-03-21 16:41:15 +05:30
Shreyas Zare
5ef9d83a49 BlockListZoneManager: removed Flush() call in LoadBlockLists() before loading new data. 2021-03-21 16:40:00 +05:30
Shreyas Zare
d9bc59f3c3 CacheZoneManager: removed DnsANYRecord usage. 2021-03-21 16:38:33 +05:30
Shreyas Zare
cc34cf3065 AuthZoneManager: removed application zone and instead added APP record processing to primary zone. 2021-03-13 13:15:45 +05:30
Shreyas Zare
deb9ff8706 AuthZoneManager: updated GetApplicationResponse to respond with SOA when there is no APP record available. Updated CreateApplicationZone to create app zone similar to primary zone. Added support to APP record in UpdateRecord. Added missing app zone type in ListZones(). 2021-03-06 16:36:16 +05:30
Shreyas Zare
a5977d0b9f AuthZoneManager: implemented app zone support. 2021-02-27 19:27:30 +05:30
Shreyas Zare
85ac382d07 CacheZoneManager: implemented filterSpecialCacheRecords option in calls to prevent internal cache records from leaking. 2021-02-27 18:27:26 +05:30
Shreyas Zare
e286331008 CacheZoneManager: updated CacheRecords() to read glue records from base class and set it again on the record as per DNS server method. Implemented glue record resolution in ResolveAdditionalRecords(). 2021-01-26 15:51:04 +05:30
Shreyas Zare
f0dd31ae6d AllowedZoneManager & BlockedZoneManager: Using AuthZoneManager's TotalZones. 2020-12-25 18:25:40 +05:30
Shreyas Zare
8df4c4c0f8 AuthZoneManager: implemented TotalZones for stats usage. 2020-12-25 18:24:28 +05:30
Shreyas Zare
b79274b26a AuthZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:57:25 +05:30
Shreyas Zare
1e7c156594 BlockListZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:57:01 +05:30
Shreyas Zare
ecfbfa1781 BlockedZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:56:34 +05:30
Shreyas Zare
958f13a200 AllowedZoneManager: flushing zone before load to allow reloading. 2020-12-20 16:56:18 +05:30
Shreyas Zare
e5ec73c7c3 CacheZoneManager: updated serve stale default TTL to 3 days. 2020-12-19 12:35:57 +05:30
Shreyas Zare
9b653fd3a9 BlockListZoneManager: added support for automatic decompression when downloading block list. 2020-12-19 12:35:19 +05:30
Shreyas Zare
135c22ebe8 StubZone: updated stub zone to not allow adding records since this will create inconsistency issues when resursive resolvers query the stub zone. Removed stub sub domain zone too. 2020-11-14 16:49:50 +05:30
Shreyas Zare
885c832000 CacheZoneManager: updated code to do additional section processing for NS, MX and SRV queries. 2020-10-31 13:18:50 +05:30
Shreyas Zare
601d1066f8 AuthZoneManager: updated code to do additional section processing for NS, MX and SRV queries. 2020-10-31 13:18:23 +05:30
Shreyas Zare
3781afcd8d CacheZoneManager: fixed issue which caused the cache manager to respond with RCODE refused instead of returning available closest name servers. 2020-10-11 16:15:02 +05:30
Shreyas Zare
e4bb8c15eb minor change 2020-10-04 14:50:08 +05:30
Shreyas Zare
e8ed7bd966 fixed issue of allowed and blocked zone not being marked as internal. 2020-08-30 19:05:10 +05:30
Shreyas Zare
3cfbec8883 AuthZoneManager: Zone creation, loading and sync checks added. 2020-08-29 14:23:58 +05:30
Shreyas Zare
dfb5cd054d BlockListZoneManager: added duplicate url check in LoadBlockLists(). Updated code to use async methods with HttpClient. 2020-08-29 14:19:24 +05:30
Shreyas Zare
926fa2c93a BlockedZoneManager: fixed bug caused by an existing blocked.config file from older installations. 2020-08-29 14:17:24 +05:30
Shreyas Zare
cc5cc5dff5 minor code refactoring done. 2020-08-29 14:16:32 +05:30
Shreyas Zare
c2da7784f6 BlockListZoneManager: added name of the domain that was blocked in TXT record. 2020-07-12 15:34:03 +05:30
Shreyas Zare
10e132c8cb AuthZoneManager: code refactoring done. 2020-07-04 16:35:33 +05:30
Shreyas Zare
237c9e75dc AuthZoneManager: code refactoring done. 2020-06-28 19:41:56 +05:30
Shreyas Zare
f98a451180 AuthZoneManager: fixed issue in QueryZoneTransferRecords() which caused extra SOA record. Removed special case in SyncRecords(). Updated delegation check sequence back to original in Query(). 2020-06-28 16:38:59 +05:30
Shreyas Zare
920200c505 AuthZoneManager: removed code that added glue records from SOA for zone transfer output in QueryZoneTransferRecords(). Updated SyncRecords() to allow root zone to respond for A or AAAA records for *.root-servers.net records and fixed name comparison issue. UpdateRecord() removed code for updating glue records for NS since secondary and stub NS records must not be changed. Query() updated the sequence of checking for delegation. Updated LoadZoneFrom() to delete zone if it fails to load. 2020-06-27 11:56:40 +05:30
Shreyas Zare
9fa91d96f7 AuthZoneManager: updated SyncRecords() to handle root zone case. Prevented SyncRecords() from overwriting glue addresses for SOA record. 2020-06-20 19:12:50 +05:30
Shreyas Zare
c5064651ac BlockListZoneManager: fixed null reference error. 2020-06-20 16:30:52 +05:30
Shreyas Zare
5e8cb1cbd1 AuthZoneManager: zone loading sequence updated. update server domain done async. Fixed issue with GetForwarderResponse() to allow using subdomain FWD records. Updated LoadZoneFrom() to correctly loading old version stub zones. Fixed minor issues and refactoring done. 2020-06-20 14:14:19 +05:30
Shreyas Zare
353693529f BlockListZoneManager: zone loading sequence updated. code refactoring done. 2020-06-20 14:10:26 +05:30
Shreyas Zare
c1a3e0fe86 minor refactoring done. 2020-06-20 14:09:35 +05:30
Shreyas Zare
e7cd3687ef BlockedZoneManager: zone loading sequence updated. 2020-06-20 14:09:13 +05:30
Shreyas Zare
9795225bd2 AllowedZoneManager: zone loading sequence updated. 2020-06-20 14:08:41 +05:30
Shreyas Zare
6e29034566 AuthZoneManager: updated auth zones to allow updating glue addresses for secondary and stub zones. 2020-06-14 15:44:29 +05:30
Shreyas Zare
5b978f9f28 added missing ANAME validations. 2020-06-14 13:47:48 +05:30
Shreyas Zare
07c7a8c5b7 renamed MasterNameServer to PrimaryNameServer. 2020-06-14 12:40:40 +05:30
Shreyas Zare
17868a7ffb minor refactoring changes. 2020-06-13 18:48:19 +05:30