Corrected dns_domain / @DNSDomain descriptive comments

This commit is contained in:
2019-08-05 21:04:59 +02:00
parent a11b90b721
commit 9cb9bf9e7a
2 changed files with 14 additions and 13 deletions

View File

@@ -6,13 +6,13 @@
# DNS Settings
#dns_server = 192.168.1.1 # DNS Server to communicate with (use IP!)
dns_domain = ?, !, 1 # DNS Domain to support, match hostname with:
# '?' - take domain name from parameter 'domain'
# '!' - take domain name from virtualhost name
# positive number - last # parts from hostname
# negative number - last # parts from virtualhost
# any other string - use if hostname ends on this
#dns_domain = ?, !, 1 # DNS Domain to support, match hostname with:
# '?': take domain name from parameter 'domain'
# '!': take domain name from virtualhost name
# 0: take domain from hostname
# positive number: last # parts from hostname
# negative number: last # parts from virtualhost
# any other string: use if hostname ends on it
#expand_cnames = 1 # CNAME levels to expand (0 to disable)
#require_rr = # Require existing record of this type to update

View File

@@ -31,12 +31,13 @@ my $ConfigFile = 'optional'; # hardcoded, either optional, required or ignore
##############################
# Configuration section (defaults, can be set in config file)
my $DNSServer = '192.168.1.1'; # DNS Server to communicate with (use IP!)
my @DNSDomain = ( '?', '!', 0 ); # DNS Domain to support, matches hostname with:
# '?' - take domain name from parameter 'domain'
# '!' - take domain name from virtualhost name
# positive number - last # parts from hostname
# negative number - last # parts from virtualhost
# any other string - use if hostname ends on this
my @DNSDomain = ( '?', '!', 0 ); # DNS Domain to support, match hostname with:
# '?': take domain name from parameter 'domain'
# '!': take domain name from virtualhost name
# 0: take domain from hostname
# positive number: last # parts from hostname
# negative number: last # parts from virtualhost
# any other string: use if hostname ends on it
my $ExpandCNAMEs = 1; # CNAME levels to expand (0 to disable)
my $AllowDebugKey = 'off'; # Debuging, 'off' to disable, '' for always on
# and other values to enable with debug= param.