mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
681 B
681 B
Structure
{
"dns": {
"servers": [],
"rules": [],
"final": "",
"strategy": "prefer_ipv6",
"disable_cache": false,
"disable_expire": false
}
}
Fields
Key | Format |
---|---|
server |
List of DNS Server |
rules |
List of DNS Rule |
final
Default dns server tag. the first server will be used if empty.
strategy
Default domain strategy for resolving the domain names.
One of prefer_ipv4
prefer_ipv6
ipv4_only
ipv6_only
.
disable_cache
Disable dns cache.
disable_expire
Disable dns cache expire.