Dynamic DNS service: Difference between revisions
m 10 revisions |
mNo edit summary |
||
| Line 7: | Line 7: | ||
* https://help.ubuntu.com/community/DynamicDNS | * https://help.ubuntu.com/community/DynamicDNS | ||
Popular dynamic DNS registration | Popular dynamic DNS registration sites: | ||
* http://dyndns.org | * http://dyndns.org | ||
* http://www.dnsexit.com (free) | |||
== Installation == | == Installation == | ||
Revision as of 20:24, 7 August 2014
Dynamic DNS allows you to have a DNS name while your IP address changes frequently. You will need to register for an account with one of the dynamic DNS providers. This service is often provided freely.
More information:
Popular dynamic DNS registration sites:
Installation
This client updates the DynDNS record automatically.
sudo apt-get install ssh libio-socket-ssl-perl ddclient
Follow the instructions. Additionally configure a longer update interval 'daemon=3600' and use SSL:
sudo gedit /etc/ddclient.conf
protocol=dyndns2 use=web, web=checkip.dyndns.com, web-skip='IP Address' server=members.dyndns.org login=**dyndns-login** password='**dyndns-pwd**' wilbertvolkers.dyndns.org daemon=3600 ssl=yes
View ddclient logging:
cat /var/log/syslog* | grep 'ddclient'
Test/force refresh:
sudo ddclient -force
Reconfigure and restart, you can edit the config file instead:
sudo dpkg-reconfigure ddclient sudo /etc/init.d/ddclient restart
Remarks
Note that when your IP address has changed, the ddcient needs to announce this to your dyndns service. Then it is still possible that the DNS you are using does not give you the new IP address, it may take some time before updates are routed through the DNS network.