世界 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
2025-12-13 20:11:29 +08:00
2025-12-14 00:09:19 +08:00
2025-10-01 10:22:44 +08:00
2025-10-09 23:45:23 +08:00
2025-07-08 13:14:42 +08:00
2025-12-14 00:09:19 +08:00
2025-07-08 13:14:42 +08:00
2025-03-14 17:07:17 +08:00
2025-08-13 23:37:40 +08:00
2025-12-12 21:19:28 +08:00
2025-07-08 13:14:43 +08:00
2025-09-12 21:58:48 +08:00
2025-11-04 11:00:43 +08:00
2025-08-10 20:06:28 +08:00
2025-09-23 16:12:29 +08:00
2025-04-18 08:54:40 +08:00
2025-07-08 13:14:43 +08:00
2025-10-07 13:37:11 +08:00
2024-02-24 13:20:27 +08:00
2025-08-13 23:37:40 +08:00
2025-08-16 00:09:29 +08:00
2025-04-29 20:45:19 +08:00
2023-12-29 18:00:40 +08:00
2023-12-29 18:00:40 +08:00
2025-04-29 20:45:19 +08:00
2025-10-27 18:03:05 +08:00
2025-10-27 18:03:05 +08:00
2023-03-27 08:20:51 +08:00
2025-07-08 13:14:42 +08:00

Sponsored by Warp, built for coding with multiple AI agents

Warp sponsorship

sing-box

The universal proxy platform.

Packaging status

Documentation

https://sing-box.sagernet.org

License

Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

In addition, no derivative work may use the name or imply association
with this application without prior consent.
Description
No description provided
Readme 10 MiB
Languages
Go 94.8%
Shell 4.4%
PowerShell 0.4%
Makefile 0.4%