# Email and key not required with token
curl -X GET "https://api.cloudflare.com/client/v4/zones/$zone_id/dns_records?type=A&name=dns_name&match=all" \
-H "X-Auth-Email: $email" \
-H "X-Auth-Key: $auth_key" \
-H "Authorization: Bearer $token" \
-H "Content-Type: application/json" | jq -r '.result[0].content'
curl -s -X PUT "https://api.cloudflare.com/client/v4/zones/$zone_id/dns_records/$dns_id" \
-H "X-Auth-Email: $email" \
-H "X-Auth-Key: $auth" \
-H "Authorization: Bearer $token" \
-H "Content-Type: application/json" \
--data '{"type":"A","name":"'$DNS_NAME'","content":"'$NEW_IP'","ttl":1,"proxied":true}'