aboutsummaryrefslogtreecommitdiff
path: root/vhostcname
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-04-07 19:01:06 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2014-04-07 19:01:06 +0300
commit653bb8cf0ff24d35082b716849642d59ae789562 (patch)
tree07ed9e053ecfa26478990afd9e56808f7977a7fb /vhostcname
parentb1a57003af292b63c9e4c38519eab66f1fea9b6b (diff)
downloaddnstools-653bb8cf0ff24d35082b716849642d59ae789562.tar.gz
dnstools-653bb8cf0ff24d35082b716849642d59ae789562.tar.bz2
vhostcname: document global variables
Diffstat (limited to 'vhostcname')
-rwxr-xr-xvhostcname/vhostcname30
1 files changed, 15 insertions, 15 deletions
diff --git a/vhostcname/vhostcname b/vhostcname/vhostcname
index 0f1cf95..56b972c 100755
--- a/vhostcname/vhostcname
+++ b/vhostcname/vhostcname
@@ -22,25 +22,25 @@ use Sys::Hostname;
use Cwd qw(getcwd realpath);
use Net::DNS;
-my $script; # This script name;
+my $script; # This script name;
my $config_file = "/etc/vhostcname.conf";
my $cnamelist = "/var/run/vhostcname.cache";
-my $host; # This host name
-my @zone;
-my $nameserver;
-my $nskey;
-my $ttl = 3600; # Default TTL
-my $confdir; # Apache configuration directory
-my $confpat = "*"; # A globbing pattern for Apache configuration files
-my $dry_run; # Dry-run mode
-my $debug;
-
-my $help; # Display help summary
-my $man; # Ditto in manpage format
-
-my $status = 0;
+my $host; # This host name.
+my @zone; # List of acceptable DNS zones.
+my $nameserver; # Nameserver to use for updates.
+my $nskey; # Path to the DNSSEC key file.
+my $ttl = 3600; # Default TTL.
+my $confdir; # Apache configuration directory.
+my $confpat = "*"; # A globbing pattern for Apache configuration files.
+my $dry_run; # Dry-run mode.
+my $debug; # Debug level.
+
+my $help; # Display help summary.
+my $man; # Ditto in manpage format.
+
+my $status = 0; # Default exit status.
sub err {
print STDERR "$script: ";

Return to:

Send suggestions and report system problems to the System administrator.