diff --git a/src/agents.d/update-dns-do b/src/agents.d/update-dns-do index 56de158..c8ea44a 100755 --- a/src/agents.d/update-dns-do +++ b/src/agents.d/update-dns-do @@ -107,7 +107,7 @@ if agent_update_dns_do_domain=$(_update_dns_do_get_domain); then -d '{"data":"'$DIP_CUR_IP'"}' \ "https://api.digitalocean.com/v2/domains/$agent_update_dns_do_domain/records/$record_id4" > /dev/null; else - logerr "WARN: No A record exists for $agent_update_dns_do_domain" + logerr "WARN: No A record exists for $DIP_RECORD" fi fi @@ -124,7 +124,7 @@ if agent_update_dns_do_domain=$(_update_dns_do_get_domain); then -d '{"data":"'$DIP_CUR_IP'"}' \ "https://api.digitalocean.com/v2/domains/$agent_update_dns_do_domain/records/$record_id6" > /dev/null; else - logerr "WARN: No AAAA record exists for $agent_update_dns_do_domain" + logerr "WARN: No AAAA record exists for $DIP_RECORD" fi fi else