|
|
|
@ -42,7 +42,7 @@ fi |
|
|
|
|
########################################### |
|
|
|
|
|
|
|
|
|
echo "$(ds) Check Initiated" >> ~/log |
|
|
|
|
record=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?name=$record_name" -H "X-Auth-Email: $auth_email" -H "X-Auth-Key: $auth_key" -H "Content-Type: application/json") |
|
|
|
|
record=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?name=$record_name" -H "X-Auth-Email: $auth_email" -H "$auth_header $auth_key" -H "Content-Type: application/json") |
|
|
|
|
|
|
|
|
|
########################################### |
|
|
|
|
## Check if the domain has an A record |
|
|
|
|