faultstring="$(echo"$response"| tr -d '\n\r'| sed "s/<faultstring>/\n=> /g"| sed "s/<\/faultstring>/\n/g"| grep "=>"| sed "s/=> //g")"
case"$faultstring" in
case"${faultstring}" in
"record_already_exists")
_info "##KAS## The record already exists, which must not be a problem. Please check manually."
;;
@ -88,7 +88,7 @@ dns_kas_rm() {
return1
elif _contains "$response""<SOAP-ENV:Fault>";then
faultstring="$(echo"$response"| tr -d '\n\r'| sed "s/<faultstring>/\n=> /g"| sed "s/<\/faultstring>/\n/g"| grep "=>"| sed "s/=> //g")"
case"$faultstring" in
case"${faultstring}" in
"record_id_not_found")
_info "##KAS## The record was not found, which must not be a problem. Please check manually."
;;
@ -145,7 +145,7 @@ _get_zone_and_record_name() {
return1
fi
_zonen="$(echo"$response"| tr -d '\n\r'| sed "s/<item xsi:type=\"ns2:Map\">/\n/g"| sed "s/<item><key xsi:type=\"xsd:string\">domain_name<\/key><value xsi:type=\"xsd:string\">/=> /g"| sed "s/<\/value><\/item>/\n/g"| grep "=>"| sed "s/=> //g")"
_zonen="$(echo"$response"| tr -d '\n\r'| sed "s/<item xsi:type=\"ns2:Map\">/\n/g"| sed "s/<item><key xsi:type=\"xsd:string\">domain_name<\/key><value xsi:type=\"xsd:string\">/=> /g"| sed "s/<\/value><\/item>/\n/g"| grep "=>"| sed "s/=> //g")"