Commit Graph

56 Commits

Author SHA1 Message Date
Shreyas Zare
8b10ee673c Zone: auth zone's parent zone disable issue in QueryFindClosestZone() fixed by removing disable check and adding check in QueryClosestAuthority() instead. Other minor refactoring changes done. 2019-05-04 12:42:34 +05:30
Shreyas Zare
b4a85ae2dd Zone: fixed string comparison issue caused with certain system locale. added missing RDATA type check while querying for glue records. 2019-05-01 19:38:41 +05:30
Shreyas Zare
f33cd0ad6d Zone: set minimum ttl to 0 due to prefetch feature. FilterExpiredDisabledRecords() check added to filter records based on type of zone. 2019-04-28 15:15:59 +05:30
Shreyas Zare
8b7007f54f Zone: implemented glue records for both MX and NS types. Implemented minimum ttl option. 2019-04-20 13:14:02 +05:30
Shreyas Zare
7300ef7fca Zone: CacheResponse() cache poisioning issue fixed. 2019-04-14 14:49:34 +05:30
Shreyas Zare
c6bd070bd3 DnsServer: implemented cache maintenance to remove expired records. 2019-04-13 16:10:53 +05:30
Shreyas Zare
a89b148da2 minor refactoring done. 2019-04-13 11:59:45 +05:30
Shreyas Zare
bc977209f9 DnsServer: implemented prefetch feature for frequently queried domain names. 2019-04-07 15:05:36 +05:30
Shreyas Zare
4049b8a486 Zone: serve stale querying support implemented. Query response record shuffeling implemented to allow load balancing across all IP addresses. Added check in non authoritative zone type to remove CNAME entry if different type of entry is added in the zone to prevent issue with serve stale. 2019-03-30 17:01:44 +05:30
Shreyas Zare
5b563da951 Zone: DomainEquals() implementation improved to correctly match wildcard domain names. Done changes to allow handling root zone correctly. 2019-03-09 15:21:11 +05:30
Shreyas Zare
03ad45c3b1 Zone: added DomainEquals() method for correct wild card domain name matching. 2019-02-02 14:32:04 +05:30
Shreyas Zare
e94b1ea0b6 refactoring done for clarity 2019-02-02 14:14:37 +05:30
Shreyas Zare
94332502b1 refactoring done 2019-02-02 14:00:15 +05:30
Shreyas Zare
b0aeea1682 Zone: fixed issue with disabled CNAME record. Refactoring done for function names to know that they do QueryRecords. Adding missing checks for disabled zone in QueryGlueRecords. 2019-02-02 13:55:51 +05:30
Shreyas Zare
3612d4babd minor refactoring 2019-02-02 12:38:18 +05:30
Shreyas Zare
3544556c70 - GetClosestCachedNameServers : Bug fixed. Since cache can contain DnsEmptyRecord or DnsNXRecord.
- QueryAuthoritative implementation refactoring done to handle delegated zone queries correctly.

- CacheResponse: avoiding caching authority section records when query is for NS to prevent duplicate NS records in cache.
2019-01-27 18:17:43 +05:30
Shreyas Zare
b68119e22e Implemented feature to store TXT record in blocked zone that tells which list the domain was in. Api updated to allow only add/delete/flush operations on custom block zone such that the block list zones are not affected. 2019-01-27 17:03:02 +05:30
Shreyas Zare
63af409a3b minor refactoring done 2019-01-26 17:35:12 +05:30
Shreyas Zare
0038793761 Zone: SetRecords() removed unnecessary CNAME check. 2019-01-13 17:43:56 +05:30
Shreyas Zare
c7ed22cef4 hotfix: fixed CNAME issue that get introduced by previous changes. 2019-01-13 17:32:10 +05:30
Shreyas Zare
8cdedb086e DnsServer: delegated zone recursive resolution done via authoritative name servers instead of configured forwarders. Zone changes done to allow delegating zone. 2019-01-13 13:22:30 +05:30
Shreyas Zare
7af246b935 Zone: added check to prevent CNAME entry from removing existing records in same zone. 2019-01-12 19:23:43 +05:30
Shreyas Zare
e564241bd8 implemented Zone.DnsResourceRecordInfo to store additional info on a resource record. Implemented resource record disable feature. Added IsZoneDisabled() method. 2019-01-06 16:44:56 +05:30
Shreyas Zare
6b3278eaca Zone: ttl value expiry issue fixed. 2018-12-09 16:54:53 +05:30
Shreyas Zare
2863e76a99 Zone: added domain name validation check. DeleteZone() return value updated to bool. AuthoritativeZoneExists() & DeleteSubZones() methods added. IsAuthoritative property added. 2018-10-05 23:48:48 +05:30
Shreyas Zare
48e37e2658 Zone: DeleteZone() deleteSubZone option added. 2018-09-22 15:01:52 +05:30
Shreyas Zare
af2a226006 Zone: fixed bug in GetClosestAuthority() by enabling CNAME bypass for reading SOA record. Empty response from authority name server caching done when SOA is missing due to bad config. 2018-09-15 13:16:26 +05:30
Shreyas Zare
68fd83655f Zone: QueryAuthoritative() changes done to check for closest authority at start and refuse response if not authorized. Caching changes done for empty response without authority SOA record. Code refactoring done. 2018-08-11 12:03:16 +05:30
Shreyas Zare
f5799eb9a7 minor refactoring done. 2018-08-04 13:05:18 +05:30
Shreyas Zare
9169d138e8 Zone: GetAllRecords() added type parameter to filter records by type. 2018-07-15 18:14:30 +05:30
Shreyas Zare
ed206ebb98 DnsServer: forwarder protocol option and proxy support added. 2018-06-16 23:05:27 +05:30
Shreyas Zare
dfb180cb50 Zone: fixed bug causing record to get deleted while modify process due to zone object getting removed. Fixed null pointer exception bug. 2018-02-16 22:36:47 +05:30
Shreyas Zare
ddd3430328 minor changes 2017-12-11 00:18:52 +05:30
Shreyas Zare
47621d434b minor changes 2017-12-03 23:37:27 +05:30
Shreyas Zare
eb14fcfc4e Zone: fixed authoritative zone ANY query. 2017-12-03 23:34:44 +05:30
Shreyas Zare
7af154eae6 Zone: corrected response authoritive flag. 2017-12-03 23:20:01 +05:30
Shreyas Zare
719771c8c7 Zone: added closest authoritative name servers to response for authoritative zone query to allow the resolving server to cache all NS records with glue. 2017-12-03 22:59:16 +05:30
Shreyas Zare
1c7309c7b6 Zone: added zone deligation feature. code refactoring done. prevented setting records to root zone. reloading root hints in cache zone after flush. 2017-12-03 22:29:28 +05:30
Shreyas Zare
1e59c2f677 Dns Zone: wildcard subdomain feature implemented. Simplified delete zone method. GetAllRecords() updated to return records for the authoritative zone the domain belongs to. 2017-11-17 18:52:50 +05:30
Shreyas Zare
80dee5974e sorting zone output list done. 2017-11-04 20:13:10 +05:30
Shreyas Zare
1e79190c41 Dns Zone: added disable zone feature. Bug fixes and code refactoring done. 2017-11-04 14:33:15 +05:30
Shreyas Zare
9b9388ebb3 Zone: get closest NS & SOA record methods bug fixed. 2017-10-29 22:55:04 +05:30
Shreyas Zare
05d2882b28 Zone: caching ANY records implementation issue fixed. TTL set to 60 sec. 2017-10-29 19:22:16 +05:30
Shreyas Zare
5b2e9d5d7d Dns Zone: added update records & flush features. fixed multiple bugs. 2017-10-29 16:08:50 +05:30
Shreyas Zare
617ba5e532 Zone: implemented AddRecord(), DeleteRecord(), DeleteRecords(), and done minor fixes. 2017-10-14 20:14:26 +05:30
Shreyas Zare
da00cb0770 Dns Zone: minor bug fixes and code refactoring done. 2017-09-30 23:26:18 +05:30
Shreyas Zare
067cb5adab Zone: implemented concurrent dictionary and refactored code to simplify query implementation. 2017-09-30 15:25:19 +05:30
Shreyas Zare
9c95ffe3f0 minor refactoring done 2017-04-02 19:52:13 +05:30
Shreyas Zare
931d206767 Zone: removed ZoneEntry class. 2017-01-22 19:02:06 +05:30
Shreyas Zare
53b27a9f15 DnsServer: fixed tcp dns compression offset issue due. changed buffering code for optimization. 2017-01-16 00:39:00 +05:30