Commit graph

71 commits

Author SHA1 Message Date
gVisor bot
e65308b535 chore: system resolver can autoupdate 2023-10-25 19:21:20 +08:00
gVisor bot
494093ca99 chore: code cleanup 2023-10-25 18:07:45 +08:00
gVisor bot
bf2c62958e fix: DNS NCACHE TTL and OPT RRs (#2900)
* Fix: DNS NCACHE TTL and OPT RRs

1. DNS NCACHE was not correctly implemented.
2. OPT RRs must not be cached or forwarded.

Closes #2889.
2023-10-16 09:21:06 +08:00
gVisor bot
9a957501b2 fix: socks5 udp not working on loopback 2023-09-22 23:33:24 +08:00
gVisor bot
2e60b9a81c chore: Restore go1.20 support 2023-09-21 08:29:28 +08:00
gVisor bot
4407cc44f4 chore: DNS cache policy follow upstream 2023-09-17 17:18:35 +08:00
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
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