add zone_id query

This commit is contained in:
Luca Schöneberg 2023-01-02 10:55:29 +00:00
parent e90eb71c1a
commit 9986fbfb68

View file

@ -6216,7 +6216,7 @@ sub nic_hetzner_update {
$config{$domain}{"status-ipv$ipv"} = 'failed';
# 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'),
url => $url,
headers => $headers