From 88b6ae7ce35fbe15df56d28fc9966cf39980f82e Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Wed, 11 Dec 2024 19:12:11 +0100 Subject: [PATCH] Add a configuration example. --- configuration-example.yml | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 configuration-example.yml diff --git a/configuration-example.yml b/configuration-example.yml new file mode 100644 index 0000000..c9fe236 --- /dev/null +++ b/configuration-example.yml @@ -0,0 +1,47 @@ +# Configuration to put in ~/.config/baguette/dnsmanager.yml or in /etc/baguette/dnsmanager.yml + +# `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 + +# IPC-related variables. By default, only print errors and exceptions. +#print_ipc_timer: false +#print_ipc_connection: false +#print_ipc_disconnection: false +#print_ipc_extra_socket: false +#print_ipc_message_received: false +#print_ipc_message_sent: false +#print_ipc_switch: false +#print_ipc_error: true +#print_ipc_exception: true +#print_keepalive: false