mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
all: add starting service with Control D config
This commit is contained in:
committed by
Cuong Manh Le
parent
ec72af1916
commit
114ef9aad6
@@ -25,6 +25,8 @@ Usage:
|
||||
|
||||
Flags:
|
||||
--base64_config string base64 encoded config
|
||||
--cache_size int Enable cache with size items
|
||||
--cd string Control D resolver uid
|
||||
-c, --config string Path to config file
|
||||
-d, --daemon Run as daemon
|
||||
--domains strings list of domain to apply in a split DNS policy
|
||||
|
||||
15
docs/controld_config.md
Normal file
15
docs/controld_config.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Control D config
|
||||
|
||||
`ctrld` can build a Control D config and run with the specific resolver data.
|
||||
|
||||
For example:
|
||||
|
||||
```shell
|
||||
ctrld run --cd p2
|
||||
```
|
||||
|
||||
Above command will fetch the `p2` resolver data from Control D API and use that data for running `ctrld`:
|
||||
|
||||
- The resolver `doh` endpoint will be used as the primary upstream.
|
||||
- The resolver `exclude` list will be used to create a rule policy which will steer them to the default OS resolver.
|
||||
```
|
||||
Reference in New Issue
Block a user