add zone_id query
This commit is contained in:
parent
e90eb71c1a
commit
9986fbfb68
1 changed files with 1 additions and 1 deletions
|
|
@ -6216,7 +6216,7 @@ sub nic_hetzner_update {
|
||||||
$config{$domain}{"status-ipv$ipv"} = 'failed';
|
$config{$domain}{"status-ipv$ipv"} = 'failed';
|
||||||
|
|
||||||
# Get DNS 'A' or 'AAAA' record ID
|
# Get DNS 'A' or 'AAAA' record ID
|
||||||
$url = "https://$config{$key}{'server'}/records?$zone_id";
|
$url = "https://$config{$key}{'server'}/records?zone_id=$zone_id";
|
||||||
$reply = geturl(proxy => opt('proxy'),
|
$reply = geturl(proxy => opt('proxy'),
|
||||||
url => $url,
|
url => $url,
|
||||||
headers => $headers
|
headers => $headers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue