mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-13 04:13:16 +00:00
522 B
522 B
dns
inbound is a DNS server.
Structure
{
"inbounds": [
{
"type": "dns",
"tag": "dns-in",
"listen": "::",
"listen_port": 5353,
"network": "udp"
}
]
}
!!! note ""
There are no outbound connections by the DNS inbound, all requests are handled internally.
Listen Fields
listen
==Required==
Listen address.
listen_port
==Required==
Listen port.
DNS Fields
network
Listen network, one of tcp
udp
.
Both if empty.