summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-05-14 00:14:29 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-05-14 00:14:29 +0200
commit90bacfc27fa61cbe3d39f95385e040c5d566077b (patch)
treeccc0d03a0af54592ab9dc8ed74bd45be59346645
parent45240584c85cb21324c73cd574c16a189706e097 (diff)
downloaddistdns-90bacfc27fa61cbe3d39f95385e040c5d566077b.tar.gz
distdns-90bacfc27fa61cbe3d39f95385e040c5d566077b.tar.bz2
First draft of documentation
-rw-r--r--distdns.pod48
1 files changed, 48 insertions, 0 deletions
diff --git a/distdns.pod b/distdns.pod
new file mode 100644
index 0000000..920deb4
--- /dev/null
+++ b/distdns.pod
@@ -0,0 +1,48 @@
+=head1 NAME
+
+distdns - Distribute hostnames between clients
+
+=head1 SYNOPSIS
+
+ ./client.pl [options]
+
+=head1 DESCRIPTION
+
+The distdns scripts originated as an alternative to established dynamic DNS services.
+
+It features basically two scripts: client-side F<client.pl> and server-side F<server.cgi>.
+The client sends (once configured) personal network/computer/user name data to the server
+which stores it as JSON if access is granted and data is complete.
+
+When F<client.pl> is invoked (preferably by a scheduler, for example: cronjob), it also
+receives hostnames with according IP addresses which are written to a matching network
+marker within the hosts file. This allows then to use these hostnames to connect to
+machines.
+
+=head1 OPTIONS
+
+ -d, --debug server debugging
+ -h, --help this help screen
+ -i, --init initialize session data
+
+=over 4
+
+=item * C<-d, --debug>
+
+Enable "server debugging" in order to communicate fatal errors back to the client script.
+
+=item * C<-h, --help>
+
+Show usage screen.
+
+=item * C<-i, --init>
+
+Initialize session data prior to using client/server script regularly.
+
+=back
+
+=head1 AUTHORS
+
+Michel Ketterle, Steven Schubiger
+
+=cut