跳转至

sing-box 1.12.0 中的更改

type

DNS Server

结构

{
  "dns": {
    "servers": [
      {
        "type": "",
        "tag": ""
      }
    ]
  }
}

type

DNS 服务器的类型。

类型 格式
empty (default) Legacy
local Local
hosts Hosts
tcp TCP
udp UDP
tls TLS
quic QUIC
https HTTPS
h3 HTTP/3
dhcp DHCP
fakeip Fake IP
tailscale Tailscale

tag

DNS 服务器的标签。