documentation: Refactor DNS

This commit is contained in:
世界
2025-01-25 20:35:10 +08:00
parent 17576e9f66
commit 23666a9230
24 changed files with 1710 additions and 8 deletions

View File

@@ -0,0 +1,38 @@
---
icon: material/new-box
---
!!! question "Since sing-box 1.12.0"
# DHCP
### Structure
```json
{
"dns": {
"servers": [
{
"type": "dhcp",
"tag": "",
"interface": "",
// Dial Fields
}
]
}
}
```
### Fields
#### interface
Interface name to listen on.
Tge default interface will be used by default.
### Dial Fields
See [Dial Fields](/configuration/shared/dial/) for details.