transform record name to lower case when searching for TXT record
parent
c64aae6f39
commit
0974c74a89
|
@ -207,6 +207,9 @@ _ionos_cloud_get_record() {
|
||||||
txtrecord=$2
|
txtrecord=$2
|
||||||
fulldomain=$3
|
fulldomain=$3
|
||||||
_record_name=$(printf "%s" "$fulldomain" | cut -d . -f 1)
|
_record_name=$(printf "%s" "$fulldomain" | cut -d . -f 1)
|
||||||
|
# this is to transform record name to lower case
|
||||||
|
# IONOS Cloud API transforms all record names to lower case
|
||||||
|
_record_name=${_record_name@L}
|
||||||
|
|
||||||
_info "grepping with the following args: zone_id=$zone_id txtrecord=$txtrecord fulldomain=$fulldomain _record_name=$_record_name"
|
_info "grepping with the following args: zone_id=$zone_id txtrecord=$txtrecord fulldomain=$fulldomain _record_name=$_record_name"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue