mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
all: add client id preference config param
So client can chose how client id is generated.
This commit is contained in:
committed by
Cuong Manh Le
parent
c3ff8182af
commit
7591a0ccc6
@@ -215,6 +215,17 @@ DHCP leases file format.
|
||||
- Valid values: `dnsmasq`, `isc-dhcp`
|
||||
- Default: ""
|
||||
|
||||
### client_id_preference
|
||||
Decide how client ID has is generated.
|
||||
|
||||
If `host` -> client id will be a `hash(hostname)`.
|
||||
If `mac` -> client id will be `hash(mac)`.
|
||||
|
||||
- Type: string
|
||||
- Required: no
|
||||
- Valid values: `mac`, `host`
|
||||
- Default: ""
|
||||
|
||||
## Upstream
|
||||
The `[upstream]` section specifies the DNS upstream servers that `ctrld` will forward DNS requests to.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user