跳转至

sing-box 1.12.0 中的更改

type

DNS Server

结构

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

type

DNS 服务器的类型。

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

tag

DNS 服务器的标签。