After a fresh install of centOS 6 i tried to install ddclient so i can update my DNS records on Cloudflare and I have configured it correctly as instructed on the Cloudflare site and other sites, when i try to run the debug command
ddclient -daemon=0 -debug -verbose -noquiet
I get this error
FATAL: Error loading the Perl module JSON::Any needed for cloudflare update.
And I tried to install perl-JSON using yum install perl-JSON but did nothing
You can try
sudo cpan install JSON::Any
This is a long time passed, but I found a solution to the same issue I had on Ubuntu here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873750
Adding libjson-any-perl satisfies this dependency.
So did apt-get install libjson-any-perl and now there is no error.
Edit: Cloudflare changed its API version since this was actual which ddclient is not compatible with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With