mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-03-19 12:59:30 +00:00
39 lines
450 B
Markdown
39 lines
450 B
Markdown
|
---
|
||
|
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.
|