Files
plains/config.yml
2021-05-20 14:54:04 +02:00

56 lines
1.0 KiB
YAML

---
version: 0.2
storage:
backend: file
path: /var/lib/plains/
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:
- 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: <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:
api:
interfaces: [<ifnames or ips to bind>]
subnets: [<subnets to bind to; instead of defining interfaces>]
bind:
- iface1
- ip1
allow:
- ip1
- ip2