Donate to Dyns!
 home |  services |  sign up |  news |  downloads | documentation|  support |  contact 
(not logged in)
> documentation > technical > host

Host Tutorial

This document explains what a host is - and how to use it.

What is a Host?

A host is simply an easy-to-remember alias for your IP address.
Technically, a host is something like an 'A' record in our DNS server. It is a name that that will resolve to an IP address. You can update this IP address using one of the update clients that can be downloaded from our download section.

When would I want to use a Host?

You can use a host (which is basically an easy to remember alias for your ever-changing IP address) if you want to run any kind of server at you home.

  • A webserver
  • A gaming server
  • A mail server
  • An FTP server
  • A P2P node (using one of the many available P2P programs - like DirectConnect)
How do I create a Host?

First of all , you need to choose a hostname that you want to use. some examples are:
sam.dyns.cx
mycoolserver.ma.cx

  • You click the link 'Create new' in the section 'Your Hosts' of the member DNS console.
  • enter the prefix of your name in the first box (sam)
  • select the desired domain name in the drop-down box (dyns.cx)
  • press the 'create' button.

Congratulations, you just created a new host! The hostname will now appear in your list of hostnames.

How do I keep the IP address of my host up-to-date ?

Problem: every time your IP changes, you would need to go to the DyNS website , log in, and update the IP address of your hostname.

Solution: You can download a special piece of software that will do this automatically for you. This tool will keep track of your IP address, and will contact the DyNS site for you whenever your IP address changes, so you can leave the computer unattended, and still be sure that your IP address is up-to-date.

Software under Windows

The most easy way to keep your IP up to date is using the program DirectUpdate. This program is very straightforward to use.

Software under Linux

You can use the program ez-ipupdate to keep track of your IP address under linux. You can either run it a a daemon, or involke it every time your computer connects.

If you use a ppp client (for example with an ADSL connection) - you can run the ez-ipupdate program every time your connection comes up as follows:

  • create the file /etc/ppp/ip-up is it doesn't exist
  • At the bottom of this file, add the following line:
    /usr/local/bin/ez-ipupdate -s dyns.cx -a $4 -h YOURNAME.DYNS.CX -Sdyns -uUSERNAME:PASSWORD
    Where you fill in the capitalized words with your own information.
  • Make sure you change the permissions of this file to '-rwxr--r--' with the command 'chmod 744 /etc/ppp/ip-up'
  • The ip-up script is invoked every time your connection comes up - so also when your IP changes.


Copyright (c) 1998-2017 DyNS.
webmaster@dyns.cx - privacy statement