|
@@ -1,3 +1,12 @@
|
|
|
|
+---
|
|
|
|
+icon: material/new
|
|
|
|
+---
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+!!! quote "Changes in sing-box 1.11.0"
|
|
|
|
+
|
|
|
|
+ :material-plus: [cache_capacity](#cache_capacity)
|
|
|
|
+
|
|
!!! quote "Changes in sing-box 1.9.0"
|
|
!!! quote "Changes in sing-box 1.9.0"
|
|
|
|
|
|
:material-plus: [client_subnet](#client_subnet)
|
|
:material-plus: [client_subnet](#client_subnet)
|
|
@@ -16,6 +25,7 @@
|
|
"disable_cache": false,
|
|
"disable_cache": false,
|
|
"disable_expire": false,
|
|
"disable_expire": false,
|
|
"independent_cache": false,
|
|
"independent_cache": false,
|
|
|
|
+ "cache_capacity": 0,
|
|
"reverse_mapping": false,
|
|
"reverse_mapping": false,
|
|
"client_subnet": "",
|
|
"client_subnet": "",
|
|
"fakeip": {}
|
|
"fakeip": {}
|
|
@@ -58,6 +68,14 @@ Disable dns cache expire.
|
|
|
|
|
|
Make each DNS server's cache independent for special purposes. If enabled, will slightly degrade performance.
|
|
Make each DNS server's cache independent for special purposes. If enabled, will slightly degrade performance.
|
|
|
|
|
|
|
|
+#### cache_capacity
|
|
|
|
+
|
|
|
|
+!!! quote "Since sing-box 1.11.0"
|
|
|
|
+
|
|
|
|
+LRU cache capacity.
|
|
|
|
+
|
|
|
|
+Value less than 1024 will be ignored.
|
|
|
|
+
|
|
#### reverse_mapping
|
|
#### reverse_mapping
|
|
|
|
|
|
Stores a reverse mapping of IP addresses after responding to a DNS query in order to provide domain names when routing.
|
|
Stores a reverse mapping of IP addresses after responding to a DNS query in order to provide domain names when routing.
|