Corrected dns_domain / @DNSDomain descriptive comments
This commit is contained in:
@@ -6,13 +6,13 @@
|
|||||||
# DNS Settings
|
# DNS Settings
|
||||||
#dns_server = 192.168.1.1 # DNS Server to communicate with (use IP!)
|
#dns_server = 192.168.1.1 # DNS Server to communicate with (use IP!)
|
||||||
|
|
||||||
dns_domain = ?, !, 1 # DNS Domain to support, match hostname with:
|
#dns_domain = ?, !, 1 # DNS Domain to support, match hostname with:
|
||||||
# '?' - take domain name from parameter 'domain'
|
# '?': take domain name from parameter 'domain'
|
||||||
# '!' - take domain name from virtualhost name
|
# '!': take domain name from virtualhost name
|
||||||
# positive number - last # parts from hostname
|
# 0: take domain from hostname
|
||||||
# negative number - last # parts from virtualhost
|
# positive number: last # parts from hostname
|
||||||
# any other string - use if hostname ends on this
|
# 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)
|
#expand_cnames = 1 # CNAME levels to expand (0 to disable)
|
||||||
#require_rr = # Require existing record of this type to update
|
#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)
|
# Configuration section (defaults, can be set in config file)
|
||||||
my $DNSServer = '192.168.1.1'; # DNS Server to communicate with (use IP!)
|
my $DNSServer = '192.168.1.1'; # DNS Server to communicate with (use IP!)
|
||||||
my @DNSDomain = ( '?', '!', 0 ); # DNS Domain to support, matches hostname with:
|
my @DNSDomain = ( '?', '!', 0 ); # DNS Domain to support, match hostname with:
|
||||||
# '?' - take domain name from parameter 'domain'
|
# '?': take domain name from parameter 'domain'
|
||||||
# '!' - take domain name from virtualhost name
|
# '!': take domain name from virtualhost name
|
||||||
# positive number - last # parts from hostname
|
# 0: take domain from hostname
|
||||||
# negative number - last # parts from virtualhost
|
# positive number: last # parts from hostname
|
||||||
# any other string - use if hostname ends on this
|
# 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 $ExpandCNAMEs = 1; # CNAME levels to expand (0 to disable)
|
||||||
my $AllowDebugKey = 'off'; # Debuging, 'off' to disable, '' for always on
|
my $AllowDebugKey = 'off'; # Debuging, 'off' to disable, '' for always on
|
||||||
# and other values to enable with debug= param.
|
# and other values to enable with debug= param.
|
||||||
|
|||||||
Reference in New Issue
Block a user