From 54d2d5e36fd33020b4edc6d876618082ab2c0d52 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 5 Jan 2019 00:32:23 -0600 Subject: [PATCH] Update Cloudflare zone ID query The zone ID query was executed without a trailing slash, resulting in an un-handled 301. --- ddclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient b/ddclient index 5f65d95..8d39898 100755 --- a/ddclient +++ b/ddclient @@ -4262,7 +4262,7 @@ sub nic_cloudflare_update { verbose("UPDATE:","updating %s", $domain); # Get zone ID - my $url = "https://$config{$key}{'server'}/zones?"; + my $url = "https://$config{$key}{'server'}/zones/?"; $url .= "name=".$config{$key}{'zone'}; my $reply = geturl(opt('proxy'), $url, undef, undef, $headers);