Commit Graph

312 Commits

Author SHA1 Message Date
Shreyas Zare
499ef38257 DnsServer: cache auto prefetch refresh timer trigger and interval changed for optimization after experimentations. Fixed issue of failing to update prefetch timer interval when settings updated. 2019-05-18 12:52:43 +05:30
Shreyas Zare
aa0dde3dd6 minor fixes and wording changes 2019-05-18 12:50:53 +05:30
Shreyas Zare
3f9f6fe407 assembly version updated for v3.3 release. 2019-05-11 13:37:37 +05:30
Shreyas Zare
7167d4f9c9 Zone: minor optimization changes. 2019-05-11 12:49:23 +05:30
Shreyas Zare
cf5a6ec925 fixed minor css issue. 2019-05-11 12:43:30 +05:30
Shreyas Zare
61e56ab418 webapp: fixed dashboard stats item css. 2019-05-11 12:36:04 +05:30
Shreyas Zare
52b375d8eb DnsServer: Implemented DnsCache abstract class and refactored existing code as per its implementation requirements. Negative record caching set to 5 mins. ProcessRecursiveQuery() implementation updated to ignore RCODE value and only check answer responses. RecursiveResolve() implementation updated to use DnsClient object for querying forwarders and only use DnsClient.RecursiveResolve() when recursive resolution is required. 2019-05-11 11:30:09 +05:30
Shreyas Zare
4b89f54b29 Zone: removed dns cache related implementation code and implemented DnsCache class. Implemented failure response negative caching feature. Minor code refactoring done. 2019-05-11 11:26:58 +05:30
Shreyas Zare
1f87b725bc minor changes 2019-05-05 18:19:14 +05:30
Shreyas Zare
3ec2152f52 DnsServer: ProcessRecursiveQuery() fixed additional record in response to work only for MX requests. 2019-05-05 18:16:25 +05:30
Shreyas Zare
c8079728b6 Zone: fixed issues with zone disable feature. Code refactoring done. 2019-05-05 18:13:23 +05:30
Shreyas Zare
e05c160ea6 minor refactoring done. 2019-05-05 16:16:17 +05:30
Shreyas Zare
5f96a117bb Zone: fixed CacheResponse issue by allowing authority records to be cached when qtype is NS and answer count is 0. 2019-05-04 17:22:57 +05:30
Shreyas Zare
4f80ceaf75 DnsWebService: SendError() code refactoring done. Implemented X-Real-IP support when using reverse proxy on private IP address. Set IgnoreWriteExceptions option for HttpListener. 2019-05-04 12:46:20 +05:30
Shreyas Zare
aecde15894 DnsServer: removed X-Forwarded-For support due to spoofing possibilities. SendError and SendContent code refactoring done. 2019-05-04 12:44:29 +05:30
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
2f92daa178 DnsWebService: fixed string comparison issue caused with certain system locale. removed blocked zone check at CustomBlockZone() since it hinders adding zone which alreay has sub zone in block zone. 2019-05-01 19:40:03 +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
92d9379793 fixed string comparison issue caused with certain system locale. 2019-05-01 19:36:41 +05:30
Shreyas Zare
cde14cc581 assembly version updated for v3.2 release 2019-04-29 18:31:52 +05:30
Shreyas Zare
bb6b2e201d webapp: minor update to about section 2019-04-28 19:43:56 +05:30
Shreyas Zare
0108314004 webapp: implemented prefetch settings. 2019-04-28 19:17:36 +05:30
Shreyas Zare
086487ccb0 DnsWebService: implemented cache prefetch settings parameters in api and config file. 2019-04-28 19:16:39 +05:30
Shreyas Zare
4bb8f0d272 DnsServer: implemented ResetPrefetchTimers() to reset timers from Start() and via trigger property. 2019-04-28 19:15:27 +05:30
Shreyas Zare
977f165606 DnsServer: implemented max hops for recursive resolution. Cache prefetch implementation updated. 2019-04-28 17:09:07 +05:30
Shreyas Zare
5d8102dee1 StatsManager: implemented GetLastHourEligibleQueries() and code refactoring done. 2019-04-28 15:40:45 +05:30
Shreyas Zare
8aa46b964a DnsWebService: added web service hostname property to indicate if web panel is running only on localhost. Fixed issue caused by previous change in WriteRecordsAsJson() for authoritative records ttl property. 2019-04-28 15:22:37 +05:30
Shreyas Zare
da4973c4b4 webapp: added help topics permanent link and minor changes. 2019-04-28 15:17:40 +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
adbb72018d assembly version updated for v3.1 release 2019-04-20 15:49:12 +05:30
Shreyas Zare
51817e8986 DnsWebService: added error logging to CheckForUpdate(). 2019-04-20 15:25:44 +05:30
Shreyas Zare
d9293242ab DnsWebService: minor refactoring changes. 2019-04-20 13:16:46 +05:30
Shreyas Zare
7be67e8aab DnsServer: fixed minor issues. 2019-04-20 13:15:27 +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
389718c7ec DnsServer: prefetch timer periodic firing method changed. 2019-04-13 11:46:57 +05:30
Shreyas Zare
497f8633ab DnsServer: prefetch feature updated to configure total minutes to sample and per minute hit rate. 2019-04-07 17:27:33 +05:30
Shreyas Zare
bc977209f9 DnsServer: implemented prefetch feature for frequently queried domain names. 2019-04-07 15:05:36 +05:30
Shreyas Zare
c68634177d DnsServer: RecursiveResolve() implementation flow corrected wrt optimization. 2019-04-06 12:44:08 +05:30
Shreyas Zare
3bfd7b5dc6 minor changes 2019-03-31 17:02:44 +05:30
Shreyas Zare
ea5a1aab45 DnsServer: implemented draft-ietf-dnsop-serve-stale-04 in RecursiveResolve(). 2019-03-30 17:07:48 +05:30
Shreyas Zare
bab78ec014 DnsWebService: ResolveQuery() using only 1 retry and 10 sec timeout to help in debugging issues with DNS Server response times. 2019-03-30 17:03:00 +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
873f5953be DnsServer: fixed issue with DoH Uri template as per example given in draft-ietf-doh-resolver-associated-doh-03 2019-03-24 15:15:07 +05:30
Shreyas Zare
9308933db2 code refactoring done 2019-03-24 15:10:40 +05:30
Shreyas Zare
7a96be9609 minor ui change 2019-03-23 13:36:47 +05:30
Shreyas Zare
24991c372b webapp: minor fix to use returned domain name to load records. 2019-03-23 13:22:18 +05:30
Shreyas Zare
23d00c00b6 webapp: minor refactoring done. 2019-03-23 13:21:40 +05:30