<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/pyfreednsupdate/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/pyfreednsupdate/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 23 Apr 2015 02:38:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pyfreednsupdate/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Salvatore Ventura</title><link>https://sourceforge.net/p/pyfreednsupdate/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -26,12 +26,12 @@
 # How to run
 #### Manual runs
 Make sure you can run python with the user account intended to perform the periodic poll. For that simply login as the desired user, and run:
-    *python pyFreeDnsUpdate.py*
+    python pyFreeDnsUpdate.py

 If everything is fine, nothing will be printed on screen and a logfile "freednsupdate.log" will be created in the same folder. Check the logfile for errors.

 On Windows it is no different, except you may have to specify the full python executable name and/or the path:
-    *python.exe pyFreeDnsUpdate.py*
+    python.exe pyFreeDnsUpdate.py

 #### Scheduled runs
 On linux, it is very convenient to setup a cron job to run the script. Follow cron documentation for full details and options. As an example you could have this entry in your user's crontab by entering the 'crontab -e' mode:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salvatore Ventura</dc:creator><pubDate>Thu, 23 Apr 2015 02:38:18 -0000</pubDate><guid>https://sourceforge.neta35c8e7fd315547607dd717a4585c0972faa14f4</guid></item><item><title>Home modified by Salvatore Ventura</title><link>https://sourceforge.net/p/pyfreednsupdate/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -10,6 +10,18 @@

 # Installation
 Copy pyFreeDnsUpdate.py in a folder on your destination server. Make sure the privileges under which the script will be running has read/write privileges on the current folder, needed for log file creation.
+
+You will then need to edit the script file to specify your domain list and API key. For that, open pyFreeDnsUpdate.py in your favorite editor and find the following section, at the top of the file:
+
+    DOMAINS={
+             'your.domain.here' : 'your_api_key_here',
+    }
+
+    DEBUG=False
+
+
+and replace "your.domain.here" with your desired domain, and associate your API key to update the FreeDNS server. If you have multiple entries to update, you can duplicate that line as many times as you need. Save and close the file, then test with a manual run, specified in the next section.
+

 # How to run
 #### Manual runs
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salvatore Ventura</dc:creator><pubDate>Thu, 23 Apr 2015 02:37:19 -0000</pubDate><guid>https://sourceforge.net26bc329ef6cabc53c34d6b13b0f0672f87c4259c</guid></item><item><title>Home modified by Salvatore Ventura</title><link>https://sourceforge.net/p/pyfreednsupdate/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,58 @@
-Welcome to your wiki!
+# pyFreeDnsUpdate
+pyFreeDnsUpdate is a python script created to keep the FreeDNS record for a list of domains current to the dynamic nature of the IP address of the hosting server.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+# Requirements
+For pyFreeDnsUpdate to run, python 2.x must be available on the system (tested with 2.7.x).
+Only non-standard required library is [Requests](docs.python-requests.org/): please refer to their documentation for installation on your OS.

-The wiki uses [Markdown](/p/pyfreednsupdate/wiki/markdown_syntax/) syntax.
+
+The server must have a current DNS configuration, so that correct DNS lookups can be made locally. Also - and obviously - the server must have internet (or at least HTTP) connectivity out to reach the FreeDNS server.
+
+# Installation
+Copy pyFreeDnsUpdate.py in a folder on your destination server. Make sure the privileges under which the script will be running has read/write privileges on the current folder, needed for log file creation.
+
+# How to run
+#### Manual runs
+Make sure you can run python with the user account intended to perform the periodic poll. For that simply login as the desired user, and run:
+    *python pyFreeDnsUpdate.py*
+
+If everything is fine, nothing will be printed on screen and a logfile "freednsupdate.log" will be created in the same folder. Check the logfile for errors.
+
+On Windows it is no different, except you may have to specify the full python executable name and/or the path:
+    *python.exe pyFreeDnsUpdate.py*
+
+#### Scheduled runs
+On linux, it is very convenient to setup a cron job to run the script. Follow cron documentation for full details and options. As an example you could have this entry in your user's crontab by entering the 'crontab -e' mode:
+
+    * * * * * /usr/bin/python /home/salvo/scripts/freednsupdate/pyFreeDnsUpdate.py
+
+which will run the script every minute. Keep in mind, that if local DNS resolution returns the same address as the one detected externally, then no update is performed on the FreeDns server.
+
+
+On Windows, follow tutorials on how to create scheduled tasks: it's not different.
+
+
+# Troubleshooting
+For any troubleshooting, you will need to make sure the following:
+ * the script actually runs: python and libraries installed? permissions? paths? typos?
+ * you can perform nslookups on the current host (say to yourdomain.com)
+ * you can access the internet from the current host
+ * the API key is correctly copied in the domain list
+ * ADVANCED: in the script, set DEBUG to True, and rerun manually, check/collect the log
+
+
+# Support info
+If you are still having troubles, upon contacting me, please provide:
+ * script version
+ * all the information above
+ * description of the issue: what's happening, what's not happening
+ * logfile from the latest run(s)
+ * ADVANCED: provide the log with DEBUG set to True
+
+*NOTE : The script is provided AS-IS: if you edit below the specified line, you are outside of supported land.*
+
+# Enhancement request
+Please email me any requests for enhancements, bugfixes etc.

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salvatore Ventura</dc:creator><pubDate>Thu, 23 Apr 2015 02:30:19 -0000</pubDate><guid>https://sourceforge.nete877f82a0eac5a2d3641060bc3b219f3f11cca29</guid></item><item><title>Home modified by Salvatore Ventura</title><link>https://sourceforge.net/p/pyfreednsupdate/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/pyfreednsupdate/wiki/markdown_syntax"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/salven"&gt;Salvatore Ventura&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-55384c0f04161f6cd4e23a39" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salvatore Ventura</dc:creator><pubDate>Thu, 23 Apr 2015 01:34:07 -0000</pubDate><guid>https://sourceforge.net910cd706eadd954587d3e5d33e74b2425507ea8c</guid></item></channel></rss>