cloudflarearchive / Cloudflare-Tools

Tools which enable you to get the full benefit of using the Cloudflare service.
www.cloudflare.com
122 stars 38 forks source link

Added a minor fix for the cloudflare specific bits of ddclient #11

Closed liath closed 6 years ago

liath commented 12 years ago

Also merged in the changes from ddclient-3.8.1.

Maybe CF changed the way it responds or something but split(/\t/) wasn't giving expected values.

[0] => domain status

Versus:

[0] => domain
[1] => status

So I added a second split. Now the script complains about domain already being updated as expected. And correctly stores the $config stuff.

My perl is weak so tell me if I sunglasses committed any atrocities.

ioquatix commented 12 years ago

Looks like a good addition - is CF still trying to integrate their changes back into ddclient proper?

liath commented 12 years ago

I have no idea, I thought the ddclient project was dead.

ioquatix commented 6 years ago

@Liath if you are interested (this issue from 2012!!), in the time since then, I made https://github.com/ioquatix/cloudflare-dns-update which I use quite a bit now.