Zero logo

DtDNS

The majority of domestic Internet connections are via a dynamic IP address, one that can change every time you connect to the Internet. A web server requires a static IP address. A free dynamic DNS service such as DtDNS provides accounts and tracking software to automatically update your IP address when it changes, creating the effect of a static IP address. The Uniform Server Zero XIII has a built-in utility which supports the DtDNS service. This page covers the configuration sub-menu, which allows you to configure and test the DtDNS service.

Overview

DtDNS provide accounts that allow you to obtain a domain name, and provide tracking software to automatically update your IP address when it changes. A big advantage of their free service is that they automatically enable wild cards by default. This means that names like <whatever>.fred.com will be mapped to your IP address.

The Uniform Server Zero XIII supports the DtDNS service by integrating a simple function to automatically update hostname IP address at DtDNS. The function is configurable, allowing you to update all five free hostnames. The function can optionally be run by Cron, making the whole task transparent.

Note: The script is portable, so putting the servers on a USB memory stick means you can have them on-line and accessible within ten minutes (the minimum DNS propagation time). Of course this assumes the PC host machine has been configured to allow Internet server traffic.

Edit DtDNS Accounts

Add or edit DtDNS service account. Open the DtDNS Controller and add or modify your DtDNS account as follows:

Extra > DtDNS

  • 1) Enter upto five domain names as configuraed at DtDNS.
    • Minimum of one domain name is required.
  • 2) Enter your DtDNS account password.
  • 3) Click Save Changes.
    • Data entered is saved to a configuration file.

Alternatively edit the file UniServerZ\home\us_dtdns\dtdns.ini and add domain names and password to the [ACCOUNTS] block.

[ACCOUNTS]
password=
domain_name_1=
domain_name_2=
domain_name_3=
domain_name_4=
domain_name_5=
DtDNS controller

Note: With configured accounts initially opening the DtDNS updater client buttons are greyed out until the refresh button is clicked. This forces user to manually refresh.

Force DtDNS Update

After editing, adding a new domain name or an indicator is red you need to run force update. Open the DtDNS Controller as follows:

Extra > DtDNS

  • 4) Click Force Update button. (If button greyed out click refresh button)
Indicators: Tri-state indicators to the right of each domain name are updated when the menu is displayed and when a force update is initiated.
  • Red: Indicates the IP address configured at DtDNS is different from your IP address as seen from the Internet.
  • Green: Confirms the IP address configured at DtDNS is identical to your IP address as seen from the Internet.
  • Greyed out: Either the configured address at DtDNS is unobtainable, no domain entered or not connected to Internet.
Note: You are forced to wait 10 minutes between force updates. Clicking the force update button within this period only updates the indicator state.
DtDNS controller

Auto-run

Every time you start your PC and reconnect to the Internet (given a new IP address) you need to manually run (force update) the DtDNS updater.

Remembering to manually run scripts like DtDNS becomes a chore. Uniform Server Zero XIII centralises running this type of script using portable Cron. Cron automatically runs when UniCotroller is started. It periodically executes a list of scripts; the DtDNS script is included and requires enabling as follows:

Extra > DtDNS

  • 6) Auto-run Check box. -- Check this box to enable DtDNS in Cron.

To prevent undesirable side effects the DtDNS Accounts section is greyed out preventing any additional changes and disables "ForceUpdate"

Note: If you need to modify Accounts or force an update UnCheck the Auto-run checkbox. Make changes as required and click the Auto-run check box to re-enable auto run.

DtDNS controller

Enable and View Logging

Extra > DtDNS

View Log button displays the DtDNS log file in Notepad. Each updater run produces an entry in the log file. An example of one run is shown on the right.

  • 7) Enable disable logging. Cheked enable logging.
  • 8) "ViewLog" Button displays log in Notepad.

18/08/2013 22:42:18 ### Log Started =========================================
18/08/2013 22:42:25 Changed IP from: xx.x10.165.92 To xx.x10.160.158 books.dtdns.net
18/08/2013 22:42:31 Changed IP from: xx.x10.165.92 To xx.x10.160.158 books.effers.com
18/08/2013 22:42:36 Changed IP from: xx.x10.165.92 To xx.x10.160.158 fredxx.dtdns.net
18/08/2013 22:42:36 ### Log Ended ===========================================

Where to go next

Create DtDNS Account