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

First install afraid-dyndns with the command:

1
sudo yum install afraid-dyndns

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 = <value>

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=<number>

or

http://freedns.afraid.org/api/?action=getdyndns&sha=<number>&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

5 thoughts on “configuration for afraid-dyndns on Fedora and other similar distro.”

  1. I compteted these steps correctly. But i dont think it works because when I type “afraid-dyndns” in command line, it shows something strange like this.

    [root@localhost ~]# afraid-dyndns
    Can’t locate XML/Simple.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/bin/afraid-dyndns line 26.
    BEGIN failed–compilation aborted at /usr/bin/afraid-dyndns line 26.

    What’s wrong? I’m using CentOS 5.7