From daf53df2f9a4dc2417866ba79be8c990b3a213d9 Mon Sep 17 00:00:00 2001 From: Sven Luthi Date: Thu, 20 May 2021 14:54:04 +0200 Subject: [PATCH] Revision to config.yml --- config.yml | 56 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/config.yml b/config.yml index 6e8606f..d345cd4 100644 --- a/config.yml +++ b/config.yml @@ -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: - - - - - - ... - auth: open/closed - keyfile: - interfaces: [] +clusters: +- name: "Cluster 1" + zone: . + level: 1 # 1 = no subdmains # 2-128 Multilevel. + bind: + - iface1 + - ip1 + bootstrap: + peers: + - + - + - ... + auth: + keyfile: + password: + trust-anchor: resolver: - interfaces: [] +- 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: + keyfile: #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: [] + subnets: [] + bind: + - iface1 + - ip1 + allow: + - ip1 + - ip2