Revision to config.yml
This commit is contained in:
1 parent
c0b549631c
commit
daf53df2f9
1 file changed
+40
-16
+40
-16
@@ -1,31 +1,55 @@
|
|||||||
---
|
---
|
||||||
version: 0.1
|
version: 0.2
|
||||||
zone: .
|
|
||||||
levels: 1 # 1 = no subdmains # 2-128 Multilevel.
|
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
backend: file
|
backend: file
|
||||||
path: /var/lib/distrins/data/
|
path: /var/lib/plains/
|
||||||
|
|
||||||
cluster:
|
clusters:
|
||||||
initial-peers:
|
- name: "Cluster 1"
|
||||||
- <ip-or-fqdn-of-peer-1>
|
zone: .
|
||||||
- <ip-or-fqdn-of-peer-2>
|
level: 1 # 1 = no subdmains # 2-128 Multilevel.
|
||||||
- ...
|
bind:
|
||||||
auth: open/closed
|
- iface1
|
||||||
keyfile: <joining-key>
|
- ip1
|
||||||
interfaces: [<ifnames-or-ips-to-bind>]
|
bootstrap:
|
||||||
|
peers:
|
||||||
|
- <ip or fqdn of peer 1>
|
||||||
|
- <ip or fqdn of peer 2>
|
||||||
|
- ...
|
||||||
|
auth:
|
||||||
|
keyfile: <joining key>
|
||||||
|
password:
|
||||||
|
trust-anchor: <zone public key>
|
||||||
|
|
||||||
resolver:
|
resolver:
|
||||||
interfaces: [<ifnames-or-ips-to-bind>]
|
- name: "Public Resolver"
|
||||||
|
bind:
|
||||||
|
- iface1
|
||||||
|
- ip1
|
||||||
|
clusters: # Limit responses to those found in cluster X
|
||||||
|
- all #default
|
||||||
|
- "Cluster 1"
|
||||||
|
- ...
|
||||||
|
zone: . # Limit responses to specific zone.
|
||||||
|
# Implies searching all Clusters for corresponding zone.
|
||||||
|
|
||||||
dhcp:
|
dhcp:
|
||||||
|
- name: "Public DHCP Server"
|
||||||
zone: .
|
zone: .
|
||||||
keyfile: <private-key-for-zone>
|
keyfile: <zone private key> #Needed to add/remove nodes dynamically
|
||||||
bind: # IPs/Subnets or Interface names to bind to
|
bind: # IPs/Subnets or Interface names to bind to
|
||||||
- all # default
|
- all # default
|
||||||
- 192.168.1.1/24
|
- 192.168.1.1/24
|
||||||
- eth1
|
- eth1
|
||||||
pool:
|
pool:
|
||||||
start: 192.168.1.2
|
|
||||||
stop: 192.168.1.199
|
api:
|
||||||
|
interfaces: [<ifnames or ips to bind>]
|
||||||
|
subnets: [<subnets to bind to; instead of defining interfaces>]
|
||||||
|
bind:
|
||||||
|
- iface1
|
||||||
|
- ip1
|
||||||
|
allow:
|
||||||
|
- ip1
|
||||||
|
- ip2
|
||||||
Reference in new issue
Block a user