# Configuration to put in ~/.config/baguette/dnsmanager.yml or in /etc/baguette/dnsmanager.yml

# Path to the log file. By default, everything is just printed on screen.
log_file: /var/log/baguette/dnsmanager.log

# `dnsmanagerd` needs to connect itself to authd(1) with an admin account to then authenticate its users.
# login: dnsmanager
pass: secret

# Does symlinks have to be recreated each time the app starts?
#recreate_indexes: false

# Path to the database.
storage_directory: /var/dnsmanager/db

# New domains require to load a template so users won't have to enter
# some necessary entries themselves.  For example, SOA and NS RRs are
# pre-loaded and updated by an administrator when required.
# See tools/write-template-zone-file.cr
#template_directory: /etc/dnsmanager/templates

# Accepted domains, they all must have a template in `template_directory`.
accepted_domains:
  - netlib.re
  - codelib.re
  - example.com

# IPC wake-up timer, see libipc(7).
#ipc_timer: 30000 # 30 seconds

# Name of the `dnsmanagerd` IPC service.
#service_name: dnsmanager

#
# Verbosity-related variables.
#

#verbosity: 4 # [0-4], “0” being quiet and “4” meaning printing debug values

# By default, print everything except KEEPALIVE messages.
#messages_to_mask: [KEEPALIVE]

# IPC-related messages. By default, only print errors and exceptions.
#ipc_messages_to_show: [ERROR, EXCEPTION]