mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
all: writing correct routers setup to config file
When running on routers, ctrld leverages default setup, let dnsmasq runs on port 53, and forward queries to ctrld listener on port 5354. However, this setup is not serialized to config file, causing confusion to users. Fixing this by writing the correct routers setup to config file. While at it, updating documentation to refelct that, and also adding note that changing default router setup could break things.
This commit is contained in:
committed by
Cuong Manh Le
parent
350d8355b1
commit
50bfed706d
@@ -316,14 +316,14 @@ IP address that serves the incoming requests. If `ip` is empty, ctrld will liste
|
||||
|
||||
- Type: ip address string
|
||||
- Required: no
|
||||
- Default: ""
|
||||
- Default: "" or "127.0.0.1" in [Router Mode](../README.md#router-mode).
|
||||
|
||||
### port
|
||||
Port number that the listener will listen on for incoming requests. If `port` is `0`, a random available port will be chosen.
|
||||
|
||||
- Type: number
|
||||
- Required: no
|
||||
- Default: 0
|
||||
- Default: 0 or 5354 in [Router Mode](../README.md#router-mode).
|
||||
|
||||
### restricted
|
||||
If set to `true` makes the listener `REFUSE` DNS queries from all source IP addresses that are not explicitly defined in the policy using a `network`.
|
||||
|
||||
Reference in New Issue
Block a user