From d9365359bdc1f6044c9bd1adb2171d1ee9a63dc0 Mon Sep 17 00:00:00 2001 From: Cristian Aldea Date: Fri, 11 Oct 2024 14:54:30 -0700 Subject: [PATCH] update porkbun api endpoint domain --- 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({