Every computer which is attached to the internet has an IP address. DNS is the process of assigning a name to an IP address.
Most home users do not get a single IP address from their Internet Service Provider. A different IP address can get assigned to them every time the connect to the internet. To assign a host name (URL) to an ever-changing IP address is called Dynamic DNS.
There are several possibilities to get a dynamic DNS. You need to set up and account with a dynamic DNS provider, and then make the dynamic DNS provider aware of your ip address by using a dynamic DNS client.
Dynamic DNS is usually free but you do not have a large choice of domain names unless you use a paid service.
To use Dynamic DNS, you need to have an accound at a dynamic DNS provider and to have a dynamic DNS clinet keep tabs on your IP address and inform the provider of any changes.
If your computer is conected directly to the internet, install a dynamic dns client. If you are conect to the internet through a router, the router itself will usually be able to perform the dynamic DNS client task.
Create an account at one of the following free dynamic DNS providers:
You will then have your dynamic DNS host name, your user name and your password.
Install the client software
If you are directly connected to your cable or dsl modem, install a dynamic DNS client. If you are connected through a router, skip this step and enter your username, password and host name in the router's dynamic DNS configuration.
Enable the Universe repository
Use any method to install the following package:
The configuration of that package will ask for your username, password and host name. After which you are done. The ddclient service is started each time you boot.
Alternative dynamic DNS clients
Alternatively, you can install the no-ip package.
Configure the no-ip client
sudo no-ip -C
Please enter the login/email string for no-ip.com: set your_login
Please enter the password for user 'your_login' set your password
Please enter an update interval: interval time is in minutes
Do you wish to run something at successful update?[N] (y/N)
Start the no-ip client
Now no-ip is configured and you can run it with the following command:
Add instructions on how to get the no-ip client to start automatically when a computer is rebooted. Do not do this by using a gui app. I am using Ubuntu Server. Adding a script to /etc/rc2.d/ does not work.