2020-12-10 17:29:26 +01:00
|
|
|
|
|
|
|
class Baguette::Configuration
|
|
|
|
class DNSManager < IPC
|
|
|
|
property service_name : String = "dnsmanager"
|
2023-06-15 20:14:27 +02:00
|
|
|
property login : String = "dnsmanager"
|
|
|
|
property pass : String?
|
2020-12-10 17:29:26 +01:00
|
|
|
property recreate_indexes : Bool = false
|
|
|
|
property storage_directory : String = "storage"
|
|
|
|
|
2023-06-28 17:59:13 +02:00
|
|
|
# List of all accepted domains. Example: netlib.re.
|
|
|
|
property accepted_domains : Array(String)? = nil
|
|
|
|
|
2023-06-28 15:22:23 +02:00
|
|
|
# New domains require to load a template so the user won't have to enter some
|
|
|
|
# necessary entries himself. For example, SOA and NS RRs should be pre-loaded
|
|
|
|
# and updated by an administrator when required.
|
|
|
|
# See tools/write-template-zone-file.cr
|
|
|
|
property template_directory : String = "/etc/dnsmanager/templates"
|
|
|
|
|
2020-12-10 17:29:26 +01:00
|
|
|
def initialize
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|