update porkbun api endpoint domain
This commit is contained in:
parent
1c0ba9a126
commit
d9365359bd
1 changed files with 2 additions and 2 deletions
|
@ -6823,7 +6823,7 @@ sub nic_porkbun_update {
|
||||||
info("setting IPv$ipv address to $ip");
|
info("setting IPv$ipv address to $ip");
|
||||||
my $reply = geturl(
|
my $reply = geturl(
|
||||||
proxy => opt('proxy'),
|
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'],
|
headers => ['Content-Type: application/json'],
|
||||||
method => 'POST',
|
method => 'POST',
|
||||||
data => encode_json({
|
data => encode_json({
|
||||||
|
@ -6861,7 +6861,7 @@ sub nic_porkbun_update {
|
||||||
debug("notes = %s", $notes);
|
debug("notes = %s", $notes);
|
||||||
$reply = geturl(
|
$reply = geturl(
|
||||||
proxy => opt('proxy'),
|
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'],
|
headers => ['Content-Type: application/json'],
|
||||||
method => 'POST',
|
method => 'POST',
|
||||||
data => encode_json({
|
data => encode_json({
|
||||||
|
|
Loading…
Reference in a new issue