configuration for afraid-dyndns on Fedora and other similar distro.

2011-03-04 1 min read Fedora Linux

First install afraid-dyndns with the command:

  <td>
    <div class="text codecolorer">
      sudo yum install afraid-dyndns
    </div>
  </td>
</tr>
1

Now open the configuration file /etc/afraid-dyndns.cfg and we need to change the following:

Notify = root@localhost # leave empty to suppress notifications
CacheFile = /var/cache/afraid-dyndns/IP
AccountHash =

For the Account hash, head over to http://freedns.afraid.org/api/ login and then click one of the XML or the ASCII links there. Once the page has loaded, look at the URL which is of form:

http://freedns.afraid.org/api/?action=getdyndns&sha=

or

http://freedns.afraid.org/api/?action=getdyndns&sha=&style=xml

The number above that you see in the actual URL is the account hash that you need to configure in the config file. Though it is very simple but could never get this correctly 🙂 until today.

Enhanced by Zemanta
comments powered by Disqus