Dynamic DNS

From ArchWiki
Revision as of 16:41, 28 November 2012 by K2s (talk | contribs) (Afraid: how to schedulle freedns.afraid.org update with cron)
Jump to: navigation, search

Template:Article summary start Template:Article summary text Template:Article summary end

Dynamic DNS or DDNS is a method of updating, in real time, a DNS to point to a changing IP address on the Internet. This is used to provide a persistent domain name for a resource that may change location on the network.


Many routers have built in DDNS Services but can be limited in the services which they update. If the Router supports a the service, or you are willing to pay or donate for a service, you should do this, it is faster and more reliable. In that case, there is no need to use a softwareside solution.

Software Dynamic DNS


FreeDNS.afraid.org is a free Service which is easy and uncomplicated to set up.

Afraid can be installed with the package afraid-dyndns-uvAUR, available in the AUR.

Another option is to:

  • goto Dynamic DNS page on freedns.afraid.org
  • add A record and select your prefered domain name
  • copy link under Direct URL, it will be something like "http://freedns.afraid.org/dynamic/update.php?ZRRJZ...................bzo4Njc1M4DA"
  • use crontab -e to enter new schedulled command:
*/10 * * * * curl -ks http://freedns.afraid.org/dynamic/update.php?ZRRJZ...................bzo4Njc1M4DA > /dev/null


DynDNS is another Dynamic DNS service.

DynDNS can be installed with the package dyndnsAUR, available in the AUR.