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
|
||||
zone: .
|
||||
levels: 1 # 1 = no subdmains # 2-128 Multilevel.
|
||||
version: 0.2
|
||||
|
||||
storage:
|
||||
backend: file
|
||||
path: /var/lib/distrins/data/
|
||||
path: /var/lib/plains/
|
||||
|
||||
cluster:
|
||||
initial-peers:
|
||||
- <ip-or-fqdn-of-peer-1>
|
||||
- <ip-or-fqdn-of-peer-2>
|
||||
- ...
|
||||
auth: open/closed
|
||||
keyfile: <joining-key>
|
||||
interfaces: [<ifnames-or-ips-to-bind>]
|
||||
clusters:
|
||||
- name: "Cluster 1"
|
||||
zone: .
|
||||
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:
|
||||
keyfile: <joining key>
|
||||
password:
|
||||
trust-anchor: <zone public key>
|
||||
|
||||
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:
|
||||
- name: "Public DHCP Server"
|
||||
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
|
||||
- all # default
|
||||
- 192.168.1.1/24
|
||||
- eth1
|
||||
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