Fixing linode-v4 script errors-2

This commit is contained in:
Eric Renfro 2021-08-23 11:10:15 -04:00
parent 79b47ad0f6
commit 7d202c7143
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -103,7 +103,7 @@ if _update_dns_linode_v4_get_domain; then
if valid_ipv4 "$DIP_CUR_IP"; then
log "Updating Linode DNS IPv4 Record: ${DIP_RECORD} to ${DIP_CUR_IP}"
if _update_dns_do_get_record_id "$_domain_id" "A" "$_sub_domain"
if _update_dns_linode_v4_get_record_id "$_domain_id" "A" "$_sub_domain"
then
curl --silent \
-X PUT \
@ -119,7 +119,7 @@ if _update_dns_linode_v4_get_domain; then
if valid_ipv6 "$DIP_CUR_IP"; then
log "Updating Linux DNS IPv6 Record: ${DIP_RECORD} to ${DIP_CUR_IP}"
if _update_dns_do_get_record_id "$_domain_id" "AAAA" "$_sub_domain"
if _update_dns_linode_v4_get_record_id "$_domain_id" "AAAA" "$_sub_domain"
then
curl --silent \
-X PUT \