Corrected dns_domain / @DNSDomain descriptive comments
This commit is contained in:
@@ -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
|
||||
|
||||
13
dyndns.pl
13
dyndns.pl
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user