Commit Graph

22 Commits

Author SHA1 Message Date
mzz
00cf4bc3cd
refactor(dns): replace dnsmessage with miekg/dns (#188) 2023-07-09 16:02:17 +08:00
mzz
0d05e88e76
optimize(dns): cache all qtype (not only a/aaaa) (#167) 2023-07-07 14:54:23 +08:00
mzz
ee09ae17e3
feat: support iptables tproxy (#80) 2023-06-04 11:38:05 +08:00
mzz
b936e7ada4
feat(dns): support fixed domain ttl (#100)
* feat(dns): support fixed domain ttl

* docs
2023-05-30 22:10:32 +08:00
mzz
e0d3cb0ecd
fix(dns): cache would never expire caused by #63 by accident (#87) 2023-05-14 22:09:55 +08:00
mzz
a110cadd65
optimize: cache NXDomain and reject with 0.0.0.0/:: (#63) 2023-04-29 13:59:20 +08:00
czybjtu
e71c272693
style: format golang import package code style (#58)
Co-authored-by: Kevin Yu <yqlbu@Bu.edu>
2023-04-23 13:27:29 +08:00
mzz2017
066e856163 optimize(dns): use different ID for another lookup in ipversion prefer mode 2023-04-07 23:13:10 +08:00
mzz2017
38cc66d1d3 feat: support dns.ipversion_prefer 2023-04-07 23:06:04 +08:00
mzz2017
6657fb329c feat: support reject in dns request routing 2023-03-31 15:46:53 +08:00
mzz2017
f3b80c977c style: beautify log 2023-03-30 01:56:05 +08:00
mzz2017
12febe94cf optimize: remove rush-answer detector because it does always work in all districts 2023-03-29 18:14:13 +08:00
mzz2017
a3bf4e1ebd fix: potential overwriting deadline of DNS upstream resolution 2023-03-24 02:35:09 +08:00
mzz2017
b69cb63a11 fix: rollback reloading and refresh fixed outbound alive state 2023-03-23 15:34:56 +08:00
mzz2017
fe3f9c62c3 optimize: refine dns cache behaviour 2023-03-17 13:13:49 +08:00
mzz2017
029f35ce14 optimize: send dns req repeatly until receiving a resp 2023-03-16 23:36:42 +08:00
mzz2017
e2964ee6aa chore: transferred to daeuniverse 2023-03-14 15:01:55 +08:00
mzz2017
c086e21998 optimize: should keep the same ID of DNS req and resp 2023-03-14 13:17:13 +08:00
mzz2017
2b25e789db feat: support to suspend 2023-03-14 00:34:38 +08:00
mzz2017
ea568ebce5 fix: should disable rush-answer detecting when dns packet sent to loopback 2023-03-13 22:55:40 +08:00
mzz2017
741a8dedb4 chore 2023-02-28 21:25:15 +08:00
mzz
8bd6a77398
feat: dns routing (#26) 2023-02-25 02:38:21 +08:00