From e034a48a4d882b93708f15e4ec29f06275fcef6a Mon Sep 17 00:00:00 2001 From: andyporkbun <102691433+andyporkbun@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:37:22 -0500 Subject: [PATCH] Update ddclient.in Replaced porkbun.com/api... with api.porkbun.com/api... on lines 6826 and 6864 --- ddclient.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddclient.in b/ddclient.in index ba4b463..523d1f9 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6823,7 +6823,7 @@ sub nic_porkbun_update { info("setting IPv$ipv address to $ip"); my $reply = geturl( proxy => opt('proxy'), - url => "https://porkbun.com/api/json/v3/dns/retrieveByNameType/$domain/$rrset_type/$sub_domain", + url => "https://api.porkbun.com/api/json/v3/dns/retrieveByNameType/$domain/$rrset_type/$sub_domain", headers => ['Content-Type: application/json'], method => 'POST', data => encode_json({ @@ -6861,7 +6861,7 @@ sub nic_porkbun_update { debug("notes = %s", $notes); $reply = geturl( proxy => opt('proxy'), - url => "https://porkbun.com/api/json/v3/dns/editByNameType/$domain/$rrset_type/$sub_domain", + url => "https://api.porkbun.com/api/json/v3/dns/editByNameType/$domain/$rrset_type/$sub_domain", headers => ['Content-Type: application/json'], method => 'POST', data => encode_json({