Files
sing-box/docs/configuration/experimental/cache-file.md
世界 8e10b22463 Standardize legacy DNS feature terminology in docs and error messages
Use concrete feature names per design spec: "Legacy Address Filter
Fields", "Legacy `strategy` DNS rule action option", "Legacy
`ip_accept_any` DNS rule item", "Legacy `rule_set_ip_cidr_accept_empty`
DNS rule item" for deprecated features, and "Response Match Fields" for
the new response matching section.
2026-04-01 22:49:22 +08:00

919 B

!!! question "Since sing-box 1.8.0"

!!! quote "Changes in sing-box 1.9.0"

:material-plus: [store_rdrc](#store_rdrc)  
:material-plus: [rdrc_timeout](#rdrc_timeout)

Structure

{
  "enabled": true,
  "path": "",
  "cache_id": "",
  "store_fakeip": false,
  "store_rdrc": false,
  "rdrc_timeout": ""
}

Fields

enabled

Enable cache file.

path

Path to the cache file.

cache.db will be used if empty.

cache_id

Identifier in the cache file

If not empty, configuration specified data will use a separate store keyed by it.

store_fakeip

Store fakeip in the cache file

store_rdrc

Store rejected DNS response cache in the cache file

The check results of Legacy Address Filter Fields will be cached until expiration.

rdrc_timeout

Timeout of rejected DNS response cache.

7d is used by default.