23 lines
762 B
Crystal
23 lines
762 B
Crystal
|
|
class Baguette::Configuration
|
|
class DNSManager < IPC
|
|
property service_name : String = "dnsmanager"
|
|
property login : String = "dnsmanager"
|
|
property pass : String?
|
|
property recreate_indexes : Bool = false
|
|
property storage_directory : String = "storage"
|
|
|
|
# List of all accepted domains. Example: netlib.re.
|
|
property accepted_domains : Array(String)? = nil
|
|
|
|
# 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"
|
|
|
|
def initialize
|
|
end
|
|
end
|
|
end
|