Posted by Shaker B. on 11 February 2016 09:02 AM
Dynamic DNS service is used to keep a domain name pointing to the same computer or server connected to the internet despite the fact that the address (IP address) of the computer keeps changing. This service is useful to anyone who wants to operate a server (web server, mail server, ftp server, irc server etc) connected to the Internet with a dynamic IP or to someone who wants to connect to an office computer or server from a remote location with software such as pcAnywhere
NOTE: Our Dynamic DNS feature is only available under our DNS Hosting service plan and above.
To setup your Dynamic DNS, please do the following:
1. Log into your easyDNS account
3. Click on the MODULAR EDITOR tab
5. Create a Dynamic Authenticated Token by clicking on ENABLE
NOTE: Dynamic tokens must be entered in place of your account password, as many updaters only use clear text. We only allow the use of the token to avoid exposing your password. You can view the existing token along with resetting and disabling it. If the option is disabled, your updates will require your account password.
6. Create your dynamic records by defining your host name(s) and a TTL
8. Confirm the changes
NOTE: You may be warned that an A record already exists for the host you are making dynamic. If you are sure you wish to make the record dynamic and stop resolving it to whatever it was before (an existing page or a parked page), simply ignore the warning and confirm the changes.
Setting Up Your System To Use Dynamic DNS
There are a number of different ways to make dynamic updates and they are all dependent on your local setup. They break down into two basic types:
Hardware Based Options
Many routers have an option to enable dynamic updates. This can be very convenient, as the router is always the first place the IP address change makes itself known. Some of these include easyDNS as one of their options, and you need only select it from the menu they provide. Others allow you to enter the settings for your dynamic server. Here are the basic parameters you will need:
If your router does not include easyDNS or allow you to enter your own parameters, you will want to use a software-based updater.
Software Based Options
There are dozens or more different options available for software based dynamic updates. The following are the ones we are currently recommending:
- Mac Systems
We currently provide our own custom updater for Mac-based servers (OS 10), which can be downloaded directly from our system here.
- Linux Systems
1. For Linux we recommend ez-ipupdate, which can be installed through the software manager on Ubuntu or directly from their website. This software includes current configuration files for both the Legacy and Caprica systems. If you require the specific Caprica configuration files, you can download it directly from us here.
Sourceforge also provides an excellent update client for Linux called ddclient.
2. One of our clients has written a nice java-based client that runs on Linux and can be downloaded from their project site here.
- Windows Systems
There’s a very nice piece of software called Dynsite, which continues to be maintained by its creator Noel Danjou. You can download it here. For a walkthrough on installing and configuring it, please see the Dynsite tutorial here.
easyDNS plans to release our own windows updater shortly, however.
easyDNS Dynamic DNS Client Specifications V1.3
The following is what you need to know to code a Dynamic DNS client for use with easyDNS. Giving credit where credit is due, the protocol used below was adapted from the format used at dyndns.org.
After evaluating various approaches out there, we felt theirs was the simplest and most straightforward. However, there are some differences such as the back _mx parameter which has a different meaning to our system.
If you code a completely generic client and follow the specification below, you can perform dynamic DNS updates by executing a GET method request on following URL:
You can send the following parameters in the QUERY_STRING of a request, for example:
If you do not include the myip paramete our update script will look to the IP the request originates from and update to that.
If you do code a client for easyDNS, please email our support team so we can keep you informed of any changes, enhancements, bug fixes etc. Also, please be sure to let us know about your client, which platform it runs on, and where our users can download it so we can add it to our dynamic page.
hostname - The full hostname being updated.
tld – The root domain of your hostname. For example, if your hostname is “example.co.uk” you should set “tld” to “co.uk”. This field can be omitted in cases of second level domains like example.com.
myip – The IP address of the client to be updated. Send “0.0.0.0” to set record to an offline state (sets record to “offline.easydns.com”). If you are behind a firewall or NAT set this to 126.96.36.199 and our system will detect your remote IP for you.
mx – Use this parameter as the MX handler for the domain being updated. It defaults to preference 5.
backmx – Either “YES” or “NO”. If “YES” we set smtp.easydns.com to be a backup mail spool for domain being updated at preference 100.
wildcard – Either “ON” or “OFF”. If “ON” sets a wildcard host record for the domain being updated equal to the IP address specified in “myip”.
Result Codes Are As Follows:
NOACCESS – The authentication failed. This no only happens if the username/password are wrong, but if they send a hostname for a domain that isn’t under the user’s account.
NOSERVICE – Dynamic DNS is not turned on for this domain. Each domain must have it’s own dyndns flag enabled individually (by the user) in their member settings.
ILLEGAL INPUT – Self-explanatory. Client sent data that is outside the allowed set for a dyndns update.
TOOSOON – Not enough time has elapsed since the last update. You need to wait at least 10 minutes between updates.
NOERROR – Everything works fine.