Fixing linode-v4 script errors-2
This commit is contained in:
parent
79b47ad0f6
commit
7d202c7143
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ if _update_dns_linode_v4_get_domain; then
|
||||||
if valid_ipv4 "$DIP_CUR_IP"; then
|
if valid_ipv4 "$DIP_CUR_IP"; then
|
||||||
log "Updating Linode DNS IPv4 Record: ${DIP_RECORD} to ${DIP_CUR_IP}"
|
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
|
then
|
||||||
curl --silent \
|
curl --silent \
|
||||||
-X PUT \
|
-X PUT \
|
||||||
|
@ -119,7 +119,7 @@ if _update_dns_linode_v4_get_domain; then
|
||||||
if valid_ipv6 "$DIP_CUR_IP"; then
|
if valid_ipv6 "$DIP_CUR_IP"; then
|
||||||
log "Updating Linux DNS IPv6 Record: ${DIP_RECORD} to ${DIP_CUR_IP}"
|
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
|
then
|
||||||
curl --silent \
|
curl --silent \
|
||||||
-X PUT \
|
-X PUT \
|
||||||
|
|
Loading…
Reference in a new issue