I have a DNS TXT record in Cloudflare DNS for my domain.
When performing a query using Cloudflare’s DNS over HTTPS service, I notice that the returned JSON “data” field for the TXT record is enclosed within double quotation marks.
I tried querying using Google’s DNS over HTTPS service, and I get the plain data without the double quotation marks.
What should be the expected result?
I tested with curl, using something along these lines:
curl -H ‘accept: application/dns-json’ ‘https :// Cloudflare-dns . com/dns-query?name=test. mysampledomain.c om&type=TXT’
curl -H ‘accept: application/dns-json’ ‘https :// dns.google . com/resolve?name=test. mysampledomain .c om&type=TXT’