Revision to config.yml

This commit is contained in:
Sven Luthi committed 2021-05-20 14:54:04 +02:00
1 parent c0b549631c
commit daf53df2f9
1 file changed
+39 -15
+39 -15
View File
@@ -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:
- iface1
- ip1
bootstrap:
peers:
- <ip or fqdn of peer 1>
- <ip or fqdn of peer 2>
- ... - ...
auth: open/closed auth:
keyfile: <joining-key> keyfile: <joining key>
interfaces: [<ifnames-or-ips-to-bind>] 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