Commit Graph

64 Commits

Author SHA1 Message Date
gVisor bot
77d099e66c fix: DNS cache 2023-07-14 09:55:43 +08:00
gVisor bot
903c77d806 chore: update to go1.21rc2, drop support for go1.19 2023-07-02 09:59:18 +08:00
gVisor bot
381600bfd9 fix: dns concurrent not work 2023-06-12 18:42:46 +08:00
gVisor bot
07d75d52e6 chore: Disable cache for RCode client 2023-06-11 23:01:51 +08:00
gVisor bot
1f49fa0c5d feat: Add RCode DNS client 2023-06-11 23:01:45 +08:00
gVisor bot
ea5a231145 chore: Something update from clash :) (#606) 2023-06-06 09:45:05 +08:00
gVisor bot
e4a0b3b2f1 chore: Remove default DNS in system resolver 2023-05-01 12:41:36 +08:00
gVisor bot
c556482ab7 feat: support system dns 2023-04-30 23:59:54 +08:00
gVisor bot
3defc3fc77 chore: proxyDialer first using old function to let mux work 2023-04-12 11:09:31 +08:00
gVisor bot
e604ec6bf8 chore: wireguard dns can work with domain-based server 2023-04-11 14:10:57 +08:00
gVisor bot
72447a529d feat: wireguard add remote-dns-resolve and dns settings 2023-04-11 10:29:55 +08:00
gVisor bot
e5eab112d0 feta: add hosts support domain and mulitple ip (#439)
* feat: host support domain and multiple ips

* chore: append local address via `clash`

* chore: update hosts demo

* chore: unified parse mixed string and array

* fix: flatten cname

* chore: adjust logic

* chore: reuse code

* chore: use cname in tunnel

* chore: try use domain mapping when normal dns

* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
c348b6ae70 chore: better dns log 2023-01-28 22:33:03 +08:00
gVisor bot
79bd67a6c4 fix: dns cache index out of range 2023-01-11 09:54:07 +08:00
gVisor bot
ae5e4559dc Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2023-01-01 13:03:30 +08:00
gVisor bot
b9dbd81038 Chore: skip cache acme challenge dns msg (#2469) 2022-12-22 13:30:23 +08:00
gVisor bot
ec0136af1b chore: rebuild relay 2022-12-19 21:34:07 +08:00
gVisor bot
f73cbb90a2 chore: split dns's dialContext and listenPacket 2022-12-13 12:38:46 +08:00
gVisor bot
52924804ef fix: fix bindIfaceToListenConfig() in windows force bind to an ipv4 address 2022-12-13 11:18:32 +08:00
gVisor bot
a6e88229d6 fix: let doh/dot server follow hosts and can remotely resolve itself ip 2022-12-07 20:01:44 +08:00
gVisor bot
5841fa51b0 fix: rollback batchExchange's code 2022-11-19 10:35:45 +08:00
gVisor bot
c57f091db5 fix: doh use NewRequestWithContext and batchExchange don't wait cancel finish 2022-11-19 09:43:31 +08:00
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
gVisor bot
70c6e586ca Merge pull request #256 from Skimmle/Alpha
featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy
2022-11-12 11:19:04 +08:00
gVisor bot
34ec07f589 featrue: DoH and DoQ are implemented using AdGuardTeam/dnsProxy, DoH support perfer and force http3 2022-11-12 11:14:51 +08:00
gVisor bot
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
gVisor bot
81dd0ed2db Chore: reduce dhcp dns client cost 2022-08-24 21:36:19 +08:00
gVisor bot
44a1ae08ef Fix: ALPN should on DoH instead of DoT (#2232) 2022-07-25 12:41:22 +08:00
gVisor bot
21d44fa391 refactor: DoH use fragment setting params 2022-07-21 21:40:28 +08:00
gVisor bot
91af078580 fix: DoT-ALPN error 2022-07-21 13:57:06 +08:00
gVisor bot
12338f285b feat: try h3 connect DOH, failed will fall back h2; turn on with dns.prefer-h3: true 2022-07-03 21:59:47 +08:00
gVisor bot
bb2b64ba42 chore: dns interface name 2022-06-25 09:16:51 +08:00
gVisor bot
0fcb82af0e fix: doq maybe crash when use adapter 2022-06-06 21:45:08 +08:00
gVisor bot
cc41c30b09 chore: 调整dns interface与adapter部分 2022-06-05 13:37:00 +08:00
gVisor bot
7b40a2bd06 chore: mix the proxy adapter and interface to dns client 2022-06-04 21:18:49 +08:00
gVisor bot
bbf0f1af4b Feature: can set custom interface for dns nameserver (#2126) 2022-06-01 10:50:54 +08:00
gVisor bot
02d30883b6 feat: "!"(not) support for geosite
eg. GEOSITE,!CN,Proxy & dns.fallback-filter.geosite: ['!CN']
2022-05-15 13:16:45 +08:00
gVisor bot
fe1099b0c5 refactor: doq dialer 2022-04-28 22:21:48 +08:00
gVisor bot
e2dbbb7cfe Refactor: metadata use netip.Addr 2022-04-20 22:52:05 +08:00
gVisor bot
915f40e71b Chore: IpToAddr 2022-04-20 22:09:16 +08:00
gVisor bot
bc33cd5630 Refactor: fakeip pool use netip.Prefix, supports ipv6 range 2022-04-12 20:32:08 +08:00
gVisor bot
b1cf4dc1a2 Refactor: lrucache use generics 2022-04-12 18:44:07 +08:00
gVisor bot
095a65abd9 [Feat]
1.Add DNS over QUIC support
2.Replace Country.mmdb with GeoIP.dat
3.build with Alpha tag
2022-01-27 12:25:53 +08:00
gVisor bot
e69c54cfcd [test] 2021-11-17 16:03:47 +08:00
gVisor bot
a40706ba21 Fix: unexpected proxy dial behavior on mapping mode 2021-10-18 21:08:27 +08:00
gVisor bot
653f2de2c0 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
gVisor bot
a50a642f01 Fix: dhcp client should request special interface 2021-10-05 13:31:19 +08:00
gVisor bot
da551ac737 Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
gVisor bot
089faa30a5 Fix: remove ClientSessionCache and add NextProtos for vmess to fix #1468 2021-07-03 20:34:44 +08:00
gVisor bot
be5a2a9adf Refactor: make inbound request contextual 2021-01-23 14:58:09 +08:00