Operating system
Linux
System version
ubuntu 24.04
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
none
Version
sing-box version 1.12.0-alpha.1
Environment: go1.23.5 linux/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
Revision: 18c443ec41a0a1a76bfdf59dc0a866e3e42a96c2
CGO: disabled
Description
example in docs omitted the 'server`
{
"dns": [
{
"type": "udp",
"server": "1.1.1.1"
},
{
"type": "fakeip",
"tag": "fakeip",
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
],
"rules": [
{
"query_type": ["A", "AAAA"],
"server": "fakeip"
}
]
}
the following is fixed one:
{
"dns": {
"servers": [
{
"type": "udp",
"server": "1.1.1.1"
},
{
"type": "fakeip",
"tag": "fakeip",
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
],
"rules": [
{
"query_type": [
"A",
"AAAA"
],
"server": "fakeip"
}
]
}
}
Reproduction
example in docs
Logs
Supporter
Integrity requirements
Operating system
Linux
System version
ubuntu 24.04
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
none
Version
Description
example in docs omitted the 'server`
{ "dns": [ { "type": "udp", "server": "1.1.1.1" }, { "type": "fakeip", "tag": "fakeip", "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } ], "rules": [ { "query_type": ["A", "AAAA"], "server": "fakeip" } ] }the following is fixed one:
{ "dns": { "servers": [ { "type": "udp", "server": "1.1.1.1" }, { "type": "fakeip", "tag": "fakeip", "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } ], "rules": [ { "query_type": [ "A", "AAAA" ], "server": "fakeip" } ] } }Reproduction
example in docs
Logs
Supporter
Integrity requirements