18c666a1ab
Fix: aysnc exchange with new context ( #2788 )
2023-06-13 23:44:48 +08:00
257fcef0b8
Fix: adjust DNS TTL values based on minimum value ( #2706 )
...
This commit adds an updated function that adjusts
the TTL values of DNS records are based on the minimum TTL
the value found in the records list so that all records share the
same TTL value. This ensures consistency in the cache
expiry time for all records to prevent caching issues.
2023-04-30 12:18:20 +08:00
8f9b39c62e
Fix: potential panic in putMsgToCache ( #2634 )
...
When the upstream DNS server returns a message that contains no
questions (i.e. QDCOUNT == 0), `putMsgToCache` will trigger an
out-of-range panic.
Issue: #2524
Comment: https://github.com/Dreamacro/clash/issues/2524#issuecomment-1477477601
2023-03-21 19:36:49 +08:00
3b1d319820
Feature: add support for dns search domains ( #2597 )
2023-03-17 15:53:06 +08:00
a3281712e2
Chore: reduce dhcp dns client cost
2022-08-24 21:36:19 +08:00
6e058f8581
Chore: remove old cache implementation
2022-08-17 11:43:20 +08:00
3946d771e5
Feature: sync missing resolver logic from premium, but still net.IP on opensource
2022-08-13 13:07:35 +08:00
6a661bff0c
Migration: go 1.18
2022-03-16 12:10:13 +08:00
81d5da51a3
Fix: unexpected proxy dial behavior on mapping mode
2021-10-18 21:08:27 +08:00
f1cf7e9269
Style: use gofumpt for fmt
2021-10-10 23:44:09 +08:00
b9d470cf79
Fix: dhcp client should request special interface
2021-10-05 13:31:19 +08:00
a5b950a779
Feature: add dhcp type dns client ( #1509 )
2021-09-06 23:07:34 +08:00
e0d3f926b7
Feature: add geoip-code option
2021-08-25 15:15:13 +08:00
995aa7a8fc
Fix: remove ClientSessionCache and add NextProtos for vmess to fix #1468
2021-07-03 20:34:44 +08:00
0778591524
Feature: dns resolve domain through nameserver-policy ( #1406 )
2021-05-19 11:17:35 +08:00
4ad9761b32
Fix: don't resolve AAAA record when ipv6 is false and use go dns resolver
2021-04-01 18:03:30 +08:00
f4de055aa1
Refactor: make inbound request contextual
2021-01-23 14:58:09 +08:00
a6444bb449
Feature: support domain in fallback filter ( #964 )
2020-09-28 22:17:10 +08:00
558ac6b965
Chore: split enhanced mode instance ( #936 )
...
Co-authored-by: Dreamacro <305009791@qq.com >
2020-09-17 10:48:42 +08:00
a32ee13fc9
Feature: reuse dns resolver cache when hot reload
2020-08-31 00:32:18 +08:00
5805334ccd
Chore: pass staticcheck
2020-08-25 22:19:59 +08:00
89cf06036d
Feature: dns server could lookup hosts ( #872 )
2020-08-11 10:28:17 +08:00
20eff200b1
Fix: dns should put msg to cache while exchangeWithoutCache ( #820 )
2020-07-20 21:16:36 +08:00
02c7fd8d70
Fix: write msg cache multiple times ( #812 )
...
Co-authored-by: john.xu <john.xu@bytedance.com >
2020-07-17 17:34:40 +08:00
9f1d85ab6e
Fix: fake-ip-filter on fakeip mode should lookup ip-host mapping ( #743 )
2020-06-14 00:41:53 +08:00
b979ff0bc2
Feature: implemented a strategy similar to optimistic DNS ( #647 )
2020-05-07 15:10:14 +08:00
5c03613858
Chore: picker support get first error
2020-04-16 18:31:40 +08:00
518354e7eb
Fix: dns request panic and close #527
2020-03-24 10:13:53 +08:00
9471d80785
Fix: dns fallback logic
2020-03-13 00:11:54 +08:00
c733f80793
Fix : #563 and fallback error return
2020-03-08 13:00:42 +08:00
c4994d6429
Fix: dns not cache RcodeServerFailure
2020-02-25 21:53:28 +08:00
46edae9896
Fix: domain dns crash
2020-02-17 22:13:15 +08:00
df0ab6aa8e
Fix: ipv6 dns crash
2020-02-17 20:11:46 +08:00
d75cb069d9
Feature: add default-nameserver and outbound interface
2020-02-15 21:42:46 +08:00
8b5e511426
Fix: use the fastest whether the result is successful
2020-02-14 16:36:20 +08:00
9071351022
Chore: aggregate mmdb ( #474 )
2020-01-11 21:07:01 +08:00
e68c0d088b
Fix: upstream dns ExchangeContext workaround ( #468 )
2020-01-10 14:13:44 +08:00
86d3d77a7f
Chore: increase DNS timeout ( #464 )
2020-01-01 19:23:34 +08:00
93ea037230
Improve: UDP relay refactor ( #441 )
...
Co-authored-by: Dreamacro <Dreamacro@vip.qq.com >
2019-12-28 18:44:01 +08:00
0cdc40beb3
Fix: urltest get fastest node ehavior ( #326 )
2019-10-12 23:29:00 +08:00
c38469330d
Fix: ip version check
2019-09-27 15:26:07 +08:00
045c3a3ad4
Fix: clearer error and ipv6 string parse ( #325 )
2019-09-27 10:33:37 +08:00
b76737bdbb
Feature: add fallback filters ( #105 )
2019-09-15 13:36:45 +08:00
96a4abf46c
Feature: move hosts to the top
2019-09-14 20:01:08 +08:00
528fbd10e4
Fix(dns): use closure client ( #251 )
2019-08-02 09:22:09 +08:00
271ed2b9c1
Improve(fakeip): use lru cache to avoid outdate
2019-07-26 19:09:13 +08:00
1a21c8ebfd
Feature(dns): support custom hosts
2019-07-14 19:29:58 +08:00
7c6c147a18
Optimization: refactor picker
2019-07-02 19:18:03 +08:00
34338e7107
Chore: update dependencies & fix typo
2019-06-29 16:48:48 +08:00
57fdd223f1
Feature: custom dns ipv4/ipv6 dual stack
2019-06-29 00:58:59 +08:00