Commit Graph

39 Commits

Author SHA1 Message Date
Nick Peng
96d37332e4 dns_cache: Fix possible crash issue 2023-10-05 16:32:20 +08:00
Nick Peng
bfacad33ae dns_cache: Replace cache timeout mechanism with time wheel algorithm to reduce CPU usage 2023-09-23 23:31:19 +08:00
Nick Peng
c39a7b9b41 dns_cache: optimize dns cache. 2023-08-31 22:32:35 +08:00
Nick Peng
d3a6d46a44 dns_cache: Support periodically saving cache files 2023-04-29 21:46:48 +08:00
Nick Peng
582cdfb879 cache: modify cache ver check method, add ipset, nftset after restart. 2023-03-28 23:28:28 +08:00
Nick Peng
4f2867b7f4 server: fix some typo and support auto set cache size 2023-03-21 21:06:32 +08:00
Nick Peng
13d028df0d smartdns: bump copyright to 2023, and fix some typo 2023-01-20 00:05:14 +08:00
Nick Peng
70df7938f3 conf: support disable expired cache on specific domain. 2022-12-21 18:40:55 +08:00
Nick Peng
04985216a8 dns_cache: separate DNS cache 2022-11-17 23:51:15 +08:00
Nick Peng
2848aa0ac7 server_group: fix server group not working issue. 2022-08-11 23:57:33 +08:00
Nick Peng
ab415f2ee9 feature: support response mode: first-ping, fastest-ip, fastest-response 2022-07-25 22:54:27 +08:00
Nick Peng
a83818c094 code: cleanup lint and extra compile warnings 2022-07-10 10:32:01 +08:00
Nick Peng
5006059074 cache: fix dns cache prefetch issue 2022-06-25 20:24:27 +08:00
Nick Peng
1873a0c336 cache: support expired domain prefetch 2022-06-12 23:39:42 +08:00
Nick Peng
5bd521c36b dns_server: Cache A record for AAAA query when dualstack select 2022-04-22 23:36:37 +08:00
Nick Peng
75d91096ca cache: make cname ttl countdown 2022-02-16 17:05:43 +08:00
Jian Chang
017cd5cdc1 fix #689 2021-08-24 21:53:11 +08:00
Nick Peng
11cf7b614c dualstack: cache SOA record for speed. 2021-01-24 14:16:35 +08:00
Nick Peng
0b45da29c7 cache: support persist cache when restart smartdns 2020-09-05 12:55:30 +08:00
Nick Peng
aee19be262 dns-cache: support cache when speed check is disabled 2020-08-23 20:12:50 +08:00
Nick Peng
c824c0abc5 CodeStyle: update clang-format, limite column to 120 2020-03-02 23:45:47 +08:00
Nick Peng
8990446411 serve-expired: new feature, support cache serve-expired feature 2020-02-14 13:13:22 +08:00
Nick Peng
aa7237f770 Codesytle: replace CRLF with LF 2020-01-21 20:00:38 +08:00
Nick Peng
01e4140722 Add license 2019-12-15 01:28:32 +08:00
Nick Peng
87f04571b1 minor optimize 2019-12-15 01:27:44 +08:00
Nick Peng
f801023569 Optimize prefetch hitime 2019-12-15 01:27:39 +08:00
Nick Peng
1f6e447f86 format code sytle 2019-12-15 01:27:30 +08:00
Nick Peng
63db66546c Fix cache leak issue 2019-12-15 01:26:28 +08:00
Nick Peng
cddc511e6b Fix prefetch issue 2019-12-15 01:26:27 +08:00
Nick Peng
76367847d1 optimize dualstack selection feature 2019-12-15 01:26:25 +08:00
Nick Peng
7828f0ec27 code lint and optimize code style 2019-12-15 01:26:01 +08:00
Nick Peng
e8b920fb18 Fix cache issue 2019-12-15 01:25:49 +08:00
Nick Peng
bb1c4d2bfa optimize prefetch feature 2019-12-15 01:25:13 +08:00
Nick Peng
9e4ac50ee8 Format code 2019-12-15 01:24:55 +08:00
Nick Peng
92956e9bd3 Add prefetch domain feature 2019-12-15 01:22:59 +08:00
Nick Peng
a1a509f52c Support openwrt 2018-07-22 01:12:56 +08:00
Nick Peng
b33affdbd5 Add configuration for log, ttl, server-name
cache cname.
2018-07-07 01:03:32 +08:00
Nick Peng
a1906787b1 Bug Fix 2018-06-29 01:06:24 +08:00
Nick Peng
10136a73b3 Add cache feature 2018-06-28 01:35:10 +08:00