$tokenRede5 = '5dcfd89a9d4ec330dede0d4074a518f26818e'
$emailRede5 = 'yamamoto@rede5.com.br'

$headers = @{
    "X-Auth-Email" = $emailRede5
    "X-Auth-Key"   = $tokenRede5
    "Content-Type" = "application/json"
}

$dnsUrl = "https://api.cloudflare.com/client/v4/zones/70cdac5cc9787719d548ac6d74c98896/dns_records?name=dev.q1food.com"
$dnsResponse = Invoke-RestMethod -Uri $dnsUrl -Headers $headers -Method Get

$dnsResponse.result | Select-Object name, content, proxied | ConvertTo-Json
