世界
1ebff74c21
Fix DNS cache not working when domain strategy is set
...
The cache lookup was performed before rule matching, using the caller's
strategy (usually AsIS/0) instead of the resolved strategy. This caused
cache misses when ipv4_only was configured globally but the cache lookup
expected both A and AAAA records.
Remove LookupCache and ExchangeCache from Router, as the cache checks
inside client.Lookup and client.Exchange already handle caching correctly
after rule matching with the proper strategy and transport.
2025-12-21 16:59:10 +08:00
世界
36dc883c7c
Fix DNS negative caching to comply with RFC 2308
2025-10-09 23:45:23 +08:00
Mahdi
6557bd7029
Fix dns cache in lookup
2025-10-09 23:45:23 +08:00
世界
1955002ed8
Do not cache DNS responses with empty answers
2025-09-13 03:04:08 +08:00
世界
e81a76fdf9
Fix DNS exchange
2025-09-12 18:05:02 +08:00
世界
f98a3a4f65
Treat requests with OPT extra but no options as simple requests
2025-09-08 09:12:30 +08:00
世界
2594745ef8
Fix DNS client
2025-09-08 09:12:30 +08:00
世界
cc3041322e
Fix DNS cache
2025-09-08 09:12:30 +08:00
世界
c0dd4a3f07
Fix DNS reject check
2025-07-08 13:14:46 +08:00
世界
e586ef070e
Fix dns.client_subnet ignored
2025-07-08 13:14:43 +08:00
世界
6ee3117755
Add resolved service and DNS server
2025-07-08 13:14:41 +08:00
世界
f990630ccc
Fix set edns0 client subnet
2025-07-08 13:14:38 +08:00
世界
e7ef1b2368
Handle EDNS version downgrade
2025-07-08 13:12:35 +08:00
世界
349db7baec
Fix DNS lookup
2025-07-08 13:12:33 +08:00
k9982874
0c523980ff
Fix hosts DNS server
2025-07-08 13:12:24 +08:00
世界
9a5f69f435
Add fallback local DNS server for iOS
2025-07-08 13:12:18 +08:00
世界
3016338e34
refactor: DNS
2025-07-08 13:12:14 +08:00
世界
dc127e2994
Migrate components to library
2022-07-11 18:44:59 +08:00
世界
3c1190e2c3
Make dns.strategy take effect in dns exchange
2022-07-11 13:21:17 +08:00
世界
7f84191748
Minor fixes
2022-07-10 16:19:42 +08:00
世界
f448b6b977
Update gci format
2022-07-08 23:03:57 +08:00
世界
3699a57847
Add dial parallel for outbound dialer
2022-07-08 13:08:29 +08:00
世界
ecac383477
Add disableCache/disableExpire option for dns client
2022-07-06 23:43:20 +08:00
世界
8a761d7e3b
Add dns client
2022-07-06 23:14:19 +08:00