Commit Graph

284 Commits

Author SHA1 Message Date
Nick Peng
73c96cf932 dns-server: fix prefetch cache timeout issue 2023-11-07 22:09:34 +08:00
Nick Peng
14330dd5da dns_server: cache ptr record 2023-11-04 09:38:36 +08:00
Nick Peng
aca8cf92cb dns_cache: refactor dns-cache.c, remove unused code. 2023-10-31 22:22:31 +08:00
Nick Peng
95c79ce1f6 dns_server: fix memory leak 2023-10-23 01:49:49 +00:00
Nick Peng
a1d067f9eb dns_server: Fix address sub-rule issue. 2023-10-05 17:10:14 +08:00
Nick Peng
96d37332e4 dns_cache: Fix possible crash issue 2023-10-05 16:32:20 +08:00
Nick Peng
3916ea570a dns_cache: fix cache timeout issue 2023-09-27 23:19:45 +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
f7ede1b7d0 lint: clear lint warnings 2023-09-13 23:39:54 +08:00
Frand Ren
1a492f7dc0 add domain rule "root or sub" 2023-09-12 09:22:59 +08:00
Nick Peng
1ff7829b49 dns: simple make DDR request SOA. 2023-09-09 17:20:42 +08:00
Nick Peng
5658d72b3b dns_conf: update smartdns.conf and add -no-ip-alias for bind 2023-09-07 23:04:15 +08:00
Nick Peng
1b12709451 feature: add ip-rules and ip-set options 2023-09-06 23:25:13 +08:00
Nick Peng
901baf80c0 ip-alias: add option -no-ipalias for domain-rules 2023-08-30 00:34:27 +08:00
Nick Peng
45e3455932 dns_cache: reduce cpu usage. 2023-08-29 23:55:04 +08:00
Nick Peng
1054229efb feature: add ip-alias option. 2023-08-16 22:47:47 +08:00
Nick Peng
601ebd590e ssl: output error message when handshake failed. 2023-08-06 21:15:04 +08:00
Nick Peng
8d3a62c568 dns_server: fix bogus-nxdomain issue. 2023-07-26 22:40:26 +08:00
Nick Peng
93a8b87c17 dns_server: fix memory corrupt bug. 2023-07-17 21:47:14 +08:00
Nick Peng
ffc331af21 dns-client: fix bootstrap retry failure issue when os startup. 2023-07-15 21:04:27 +08:00
Nick Peng
c2b072b523 conf: add ddns-domain options 2023-07-12 19:28:32 +08:00
Nick Peng
6b021946aa conf: support prefix wildcard match. 2023-07-05 00:08:29 +08:00
Nick Peng
08567c458b address: support multiple ip addresses 2023-06-14 22:41:53 +08:00
Nick Peng
f072ff3412 dns_server: optimize result callback and update tlog. 2023-06-07 21:15:59 +08:00
Nick Peng
ad43c796cf force-qtype-SOA: support qtype range. 2023-06-05 22:55:47 +08:00
Nick Peng
f5c8d3ce57 dns_server: improve code readability 2023-06-02 22:52:46 +08:00
Nick Peng
f621b424e2 lint: add clang-tidy linter 2023-05-30 23:26:05 +08:00
Nick Peng
0340d272c3 dns_server: fix max ttl reply issue. 2023-05-09 23:22:08 +08:00
Nick Peng
5500fe2592 cache: change default cache file path to /var/cache/smartdns/ 2023-05-05 22:41:02 +08:00
Nick Peng
7bca0ee98f luci: add server flags option and suppress some log 2023-05-05 22:36:09 +08:00
Nick Peng
c9f7dad42f feature: support ipset, nftset for bind option 2023-04-30 00:04:44 +08:00
Nick Peng
d3a6d46a44 dns_cache: Support periodically saving cache files 2023-04-29 21:46:48 +08:00
Nick Peng
54d95609bd cname: fix cname rule loop issue. 2023-04-17 23:21:41 +08:00
Nick Peng
0e6eeefe5e dns_server: suppress error log 2023-04-12 23:14:10 +08:00
Nick Peng
0947a8dcab feature: add per server edns-client-subnet support 2023-04-08 22:14:52 +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
fa5e519368 domain-rule: Exceptions are allowed when enable force-AAAA-SOA 2023-03-27 22:41:32 +08:00
Nick Peng
2dbde718a7 test: return NXDOMAIN when block ad, add some test cases for ip-rule. 2023-03-26 22:30:24 +08:00
Nick Peng
b5cc8a805a dns_server: suppress log. 2023-03-26 17:23:13 +08:00
Nick Peng
c90a85dfc7 test: add test cases 2023-03-26 00:27:40 +08:00
Nick Peng
dd23c5fc31 config: add option -no-cache and -response-mode for domain-rules and add some test cases. 2023-03-24 21:58:41 +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
bf68385d0e test: add test case for cache and fix some issue 2023-03-20 23:41:34 +08:00
Nick Peng
47f2f45c37 dns-server: fix bind-tls issue 2023-03-16 18:56:30 +08:00
Nick Peng
2e3e03bfda test: add some test and fix some bugs 2023-03-15 23:57:25 +08:00
Nick Peng
cf52eeacc9 test: add test case for cname 2023-03-14 23:52:10 +08:00
Nick Peng
1c605938e0 dns_conf: add option to enable output log to console. 2023-03-13 23:40:28 +08:00
Nick Peng
3d7a2a8d80 dns_server: export is_ipv6_ready function 2023-03-11 23:18:10 +08:00
Nick Peng
7bf950c5f1 smartdns: some minor fix 2023-03-09 21:59:06 +08:00
Nick Peng
c42f98979c dns_server: support bind tls server 2023-03-07 21:48:20 +08:00