Added documentation 0.0.1
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 5 Mar 2014 21:36:36 +0000 (22:36 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 5 Mar 2014 21:36:36 +0000 (22:36 +0100)
doc/apache2.txt [new file with mode: 0644]
doc/bind.txt [new file with mode: 0644]

diff --git a/doc/apache2.txt b/doc/apache2.txt
new file mode 100644 (file)
index 0000000..b4458be
--- /dev/null
@@ -0,0 +1,17 @@
+# Add a virtual host similar than that:
+# (e.g. in /etc/apache2/sites-available/example.com.conf)
+
+<VirtualHost *:80>
+  SSLEngine Off
+  ServerName dyndns.example.com
+  ServerAdmin webmaster@example.com
+  DocumentRoot /var/www/dyndns
+  DirectoryIndex dyndns.py
+  ErrorLog /var/log/apache2/error.log
+  CustomLog /var/log/apache2/access.log combined
+  <Directory /var/www/dyndns>
+      SetHandler cgi-script
+      Options ExecCGI FollowSymLinks
+  </Directory>
+</VirtualHost>
+
diff --git a/doc/bind.txt b/doc/bind.txt
new file mode 100644 (file)
index 0000000..3fd8b95
--- /dev/null
@@ -0,0 +1,4 @@
+; Add the following lines to your zone file (e.g. /etc/bind/master/example.com)
+; (exchange "hostname" with you host name)
+dyn            IN      NS      hostname
+dyndns         IN      CNAME   hostname